Hi all,
Simple question hopefully.
Is there any functional difference between the two:
Begin Tran
UPDATE Table1 Set foo = 'foo'
WHERE Key = 1;
commit tran
---OR----
Begin Tran
UPDATE Table1 Set foo = 'foo'
FROM Table1 With(UpdLock)
WHERE Key = 1;
commit tran
Thanks,
--Jim
Simple question hopefully.
Is there any functional difference between the two:
Begin Tran
UPDATE Table1 Set foo = 'foo'
WHERE Key = 1;
commit tran
---OR----
Begin Tran
UPDATE Table1 Set foo = 'foo'
FROM Table1 With(UpdLock)
WHERE Key = 1;
commit tran
Thanks,
--Jim