TABLOCK HINT NOT USED IN ISQL

  • I have a stored procedure which uses TABLOCK hint when executing. It works fine from QA. However, when I execute the same sp from a batch file using ISQL, it does not lock the table and , instead, locks extents in tempdb. Is this because ISQL communicates differently with SQL Server 7?

  • Could be.

    Have you tried with OSQL instead of ISQL?

    /Kenneth

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply