Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many rows were affected?
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01075860
Message ID:
01076041
Views:
29
OK, it is late, but I will try to make sense. From what I understand you want to do this for each header table and its 41 child records, right?

Update HeaderTable set name=@name1 where id=@id1
--@@ROWCOUNT=1 at this point
Update ChildTable set name=@name1 where HeaderTableID=@id1
--@@ROWCOUNT=41 at this point
Ricardo A. Parodi
eSolar, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform