I am trying to select a table without locking it. How come the following produces a syntax error?
USE NORTHWIND
SELECT EmployeeID FROM Employees WHERE EMPLOYEEID = 4 WITH (NOLOCK)
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'WITH'.
Thanks in advance,
Billy