Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using WITH syntax
Message
From
09/10/2014 11:15:29
 
 
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01609055
Message ID:
01609058
Views:
32
>You can do this...
>
>WITH (NOLOCK, INDEX (MyIndex))
>
>I'm not sure I'd advise using this approach in production - more of a design issue than anything else. But I think that syntax will work.

Yes, I found that a few minutes ago. Are you saying NOLOCK should not be used at all in a select statement?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform