Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 18,129 of 19,505    |
|    Gert-Jan Strik to omtechguy    |
|    Re: NOLOCK Declaration - one time for al    |
|    22 Feb 11 19:31:11    |
      9e100b27       From: sorrytoomuchspamalready@xs4all.nl              omtechguy wrote:       >       > Is there an option to declare one time at the beginning of the SP that       > all the selects will run with NOLOCK command instead of writing if       > after each table name?       >       > Thanks.              Well, you can SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED at the       beginning of the SP. That will apply this transaction isolation level       wherever possible during the scope of the SP.              Please note that you should only do this if you are sure that there are       no data modifications done on those tables during your transactions.       --       Gert-Jan              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca