If a stored procedure is taking a table data type, how it looks?



If a stored procedure is taking a table data type, how it looks?..

Answer / yagnik rohit

declare @temptable table(col1 int,col2 int)
insert into @temptable select 1,2
select * from @temptable

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SQL Server Interview Questions

what is difference between nchar and char in Sql server ?

3 Answers  


What is a transactions?

0 Answers  


syntax and example for bitmap index in sql???

1 Answers  


Why and when do stored procedure recompile?

0 Answers  


What are the components of sql server service broker?

0 Answers  






when would you go for denormalization? : Sql server database administration

0 Answers  


what is the difference between group and having give an example with query and sample output

7 Answers  


If we delete pack Spec what will be the status of pack Body ?

0 Answers   Nagarro,


Can I delete event logs?

0 Answers  


What are the different methods available under sqlcommand class to access the data?

0 Answers   UGC Corporation,


Where do you think the users names and passwords will be stored in sql server?

4 Answers   BirlaSoft,


Wht is Stuff in sql ser

2 Answers  


Categories