$ 0 0 Create a view for the "tab1" table using LOCK ROW FOR ACCESS and then select from the view when doing the INSERT/SELECT.