Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help to create a query to get resultset from multiple select queries inside the procedure.

Status
Not open for further replies.

saptek

Programmer
Oct 19, 2014
2
I have a stored procedure which is having multiple queries. I want to insert into new table from resultset of all the queries. And also I want to get new column with error message. basically i have to create error log resultset. Please let me know what to include inside the stored procedure.
 
I have multiple select statements with different conditions which provides some with records and some with 0 records. I want to report the results into a file or table with no headers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top