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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update output into table variable

Status
Not open for further replies.

glamb

Programmer
Dec 29, 2009
32
0
0
US
Question:
Given:
1. a stored procedure that updates multiple tables.
2. declare a table variable for the output clause of the first updated table
3. given that you want the same output fields for the second updated table (the first and second tables have common fields)
4. Can you use the same table variable for the output of the second table, ie, if it can be used, is the output data appended to the table variable or overwritten?
 
Do you have an example that might help visualize your problem.

Simi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top