Hi,
I want to use SELECT query with WITH (NOLOCK) like:
SELECT “dbo”.“table_name”.“Country” AS “Country” WITH (NOLOCK)
when I run it got this error:
“com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword ‘with’. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.”
Is it possible can I use “WITH (NOLOCK)” i native qurey?
Regards