Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Stored Procedure Update Timing

$
0
0

Hi All,

I have wrritten a stored procedure that updates two different tables in the same database. The second statement is dependant on information in the table that first statement will change. So obviously I can changed the order of the update statements so the SP will still update.

So my question is how will SQL view & run the SP update statements, does it run them at the same time(equally) or sequentially?

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles