![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 24 May 2005 @ 10:22:05 GMT
Jae, Try removing the semicolon ';' between the Locking statement and the QueueTable statement...it isn't needed and I believe it is causing your issues. Hope this helps, Clay i.e.
LOCKING TABLE QueueTable2 FOR WRITE
INSERT INTO QueueTable2
SELECT AND CONSUME TOP 1 x,y,z FROM QueueTable1;
instead of
LOCKING TABLE QueueTable2 FOR WRITE
;INSERT INTO QueueTable2
SELECT AND CONSUME TOP 1 x,y,z FROM QueueTable1;
Claybourne L. Barrineau
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||