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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in details security in SQL azure?

123


Can we take the full database backup in log shipping?

998


What is difference between materialized view and view?

954


What is transactional replication?

1023


Why we should not use triggers?

1016


Does a server store data?

956


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

1032


Explain what is raid and what are different types of raid levels?

1094


What is mean by dml?

1062


How can we check the sql server version?

1128


What is the meaning of resultset type_scroll_insensitive?

994


How to assign null values to variables or columns?

1030


what are cursors? : Sql server database administration

1106


Define Unique Key?

1069


Who developed sql server?

983