|
最初由 Puber 发布
[B]
其实sql reference还是很值得研究的,但又有几个人会这么干呢. [/B]
Even if you read SQL Reference to death, you won't find this feature. I just checked 10g SQL Reference. SKIP LOCKED is still not in SELECT reference. The old old function REVERSE (as in SELECT REVERSE('ABC') FROM DUAL) is not documented either.
Regarding SKIP LOCKED, Steve Adams offers this alternative (http://www.ixora.com.au/newsletter/2000_06.htm):
The alternative to using this statement would be to SELECT candidate rows individually in a loop using the NOWAIT variant of the statement.
Another alternative is at http://www.ixora.com.au/q+a/0010/17094208.htm But I didn't read it carefully to see if it's using the same method.
Yong Huang |
|