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

How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?

2 Answers  


What are the differences between substr and charindex in sql server.

0 Answers  


What is stretch database in sql server?

0 Answers  


What is deadlock and how to avoid the deadlocks.

3 Answers   TCS, Wipro,


Explain index in sql server?

0 Answers  






What is the maximum number of instances in 32 bit and 64 bit sql server 2012?

0 Answers  


How to replace the Query Result 'Null Value' with a text ?

0 Answers   MCN Solutions,


Explain about the command-line tool SQLCMD?

0 Answers  


What is the difference between dataadapter and datareader?

0 Answers  


What are three SQL keywords used to change or set someone?s permissions?

3 Answers  


Explain the concept of recursive stored procedure.

0 Answers  


What are the two authentication modes in sql server?

0 Answers  


Categories