2013-10-28 22 views
7

In MS SQL Server 2008 è possibile scrivere in questo modo:MS SQL Server 2008 "con (nolock)" equivalente per IBM DB2 9.7

FROM EMPLOYEE as A with (nolock) 

Esiste una sintassi equivalente per DB2 9.7? Grazie

+0

'NOLOCK' è una scorciatoia per impostare la * Leggi Uncommitted * [Transaction Isolation Level] (http://technet.microsoft.com/en-us /library/ms378149.aspx). L'equivalente DB2 sembra essere [UR (Lettura non inviata)] (http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.perf .doc% 2Fdoc% 2Fc0004121.html). – GolfWolf

+0

apparentemente l'equivalente DB2 sarebbe 'WITH UR'. Vedere [Specifica del livello di isolamento] (http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.perf.doc%2Fdoc%2Fc0004121 .html) – GolfWolf

risposta