Hi Dieter,
Thanks for your reply. Now this came into my mind.
Locking table customer for access
Sel c.*,o.*
from customer inner join orders on <conditions>
;Sel c.*,o.*
from customer inner join orders on <conditions>
In this MSR, statement 1 will use access lock on the customer and read lock on orders table. Statement 2 uses read lock on customer and orders table. So, Customer table is locked for read and order table is locked for read.
Please correct me if i am wrong.
Hi Dieter,
Thanks for your reply. Now this came into my mind.
Locking table customer for access
Sel c.*,o.*
from customer inner join orders on <conditions>
;Sel c.*,o.*
from customer inner join orders on <conditions>
In this MSR, statement 1 will use access lock on the customer and read lock on orders table. Statement 2 uses read lock on customer and orders table. So, Customer table is locked for read and order table is locked for read.
Please correct me if i am wrong.