MS SQL Server 2008 “with (nolock)” equivalent for IBM DB2 9.7

六月ゝ 毕业季﹏ 提交于 2019-12-08 19:13:59

问题


In MS SQL Server 2008 you can write like this:

FROM EMPLOYEE as A with (nolock)

Is there an equivalent syntax for DB2 9.7? Thanks


回答1:


DB2: Uncomitted Read = WITH UR

SELECT * FROM whatevertable WITH UR


来源:https://stackoverflow.com/questions/19629299/ms-sql-server-2008-with-nolock-equivalent-for-ibm-db2-9-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!