I have a big transaction with lots of statements. Two of those statements update the same row in the Products table.
Update Products set quantity = null where id =10
Update Products set status_id = 1 where id =10
My question is, as I'm using a transaction, will the db see these two statements as one? Is there any difference between using the above queries vs using:
Update products set quantity=null, status_id = 1 where id = 10