Home Forums SQL Server 2008 Working with Oracle Lock ORACLE table from SQL Server using a view RE: Lock ORACLE table from SQL Server using a view
Jo Pattyn
SSC-Dedicated
Points: 32070
More actions
December 12, 2012 at 4:35 pm
#1568099
There is a command to lock an entire table LOCK TABLE employees IN EXCLUSIVE MODE NOWAIT; , but haven't tried this from MSSQL. Perhaps through openquery.
Not sure why you need the lock, as it won't prevent querying.