Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / madhu

SQL Server stored procedures can return multiple record
sets. The following is an example:

CREATE PROCEDURE procCustomerGet
@CustomerID VarChar(5)
AS
SELECT * FROM Customers
WHERE CustomerID =
@CustomerID
SELECT * FROM Orders
WHERE CustomerID =
@CustomerID

Is This Answer Correct ?    2 Yes 0 No

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

Answer / sd

Select select_list from my_tabel

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

More SQL Server Interview Questions

what are the types of indexes? : Sql server database administration

0 Answers  


why would you use sql agent? : Sql server database administration

0 Answers  


Can you please differentiate between a primary key and a unique key?

0 Answers  


How much space does sql server 2016 take?

0 Answers  


What is view in sql?

0 Answers  


How to create a view using data from another view?

0 Answers  


Can you explain what is sql server english query?

0 Answers  


How can windows applications connect to sql servers via odbc?

0 Answers  


What is wrong with sql server client libarary dll, ntwdblib.dll?

0 Answers  


Which one is faster delete/truncate? Why?

1 Answers   Infosys,


What does ss stand for sexually?

0 Answers  


Difference Between varchar and nvarchar datatype?

3 Answers   Satyam,


Categories