How do we return a record set from a Stored Procedure in SQl
server 2000?

Answer Posted / sandeep modapathi

using cursor datatype

declare an output data type
@my_cursor CURSOR VARYING OUTPUT

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of a recovery model?

605


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1300


What is linked report?

89


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

498


You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?

617






How will you monitor replication latency in transactional replication? : sql server replication

605


What are the disadvantages of primary key and foreign key in SQL?

630


What is stored procedures?

544


Explain optimistic and pessimistic concurrency?

539


How to move database physical files in ms sql server?

527


What is the difference between varchar and nvarchar?

520


What is collation?

713


Explain stored procedure?

594


can a database be shrunk with users active? : Sql server administration

563


What is not null constraint?

618