|
Ralf, Yes I can help with the SQL Server testing. If you happen to have examples of the SQL being executed, could you send them to me? If not let me know and I'll dig through the code to piece it together and run the 2 different SQL calls on both SQL 2000 and 2005. Will try to post an example SQL statement for you to test. Working at Incorrect syntax near 'holdlock'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required. See SQL Server Books Online for proper syntax. while executing SELECT Test is excluded at the moment and should be enabled when this issue got resolved. There are two tests which are failing due this issue
This have to be fixed in SQLServerQueryExpression.getStatement(). The above two tests don't give 'holdlock' error after the patch. Thanks for the patch and for testing things but I have to reopen the issue as the changes have to be committed before we set the issue to resolved. One more question. Why does the patch not enable test972 and test1379 if they work now? I haven't enabled them because those are facing Commited patch as is after adding release notes. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Searching online docs of SQL server 2005 I found that the syntax should be 'WITH (HOLDLOCK)'. The problem is that I could not find out if this syntax will also work with older versions of SQL server. In addition I found a remark that the HOLDLOCK and SERIALIZABLE hints may be removed in future versions of SQL server but they didn't suggest an alternative.
See:

http://technet.microsoft.com/de-de/library/ms174335.aspx
http://technet.microsoft.com/de-de/library/ms187373.aspx
Brian, are you able to help me with the open questions.
Having said that I will also need your help for testing as I do not have access to SQL server.