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
Is sql server is free?
Explain transaction server auto commit?
What are the security related catalog views? : sql server security
Mention the 3 ways to get a count of the number of records in a table.
What is tempdb database? : SQL Server Architecture
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
What is the name of reporting services config file and what’s it’s used for?
How do you create a data source?
What number aggregate functions are accessible there in sql?
How to find the version of sql server? : sql server database administration
Explain collation?
Can binary strings be converted into numeric or float data types?
How you can change a cross join into an inner join?
you added a row to a view, but the row is not shown on the view. Explain how this can happen, and how you can remedy the situation
How do users use Report Builder with SQL Server data sources?