If a stored procedure is taking a table data type, how it looks?
Answers were Sorted based on User's Feedback
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 |
Answer / Mahendra
When a stored procedure takes a table data type as an input or output parameter, the definition in SQL Server will look like this: nCREATE PROCEDURE proc_name @table_param TABLE_NAME AS ...nHere, TABLE_NAME is the name of the table data type. To create user-defined table types, you can use CREATE TYPE statement.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is updatable resultset?
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
What is built-in/administrator?
ow to bring suspect mode datbase online from scratch
Explain about remote stored procedure?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
Explain the use of keyword with encryption. Create a store procedure with encryption?
Is trigger fired implicitely?
What are .mdf files?
What is the difference between temp table and table variable?
How would you Update the rows which are divisible by 10, given a set of numbers in column?
Difference between Inner vs outer joins?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)