![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 11 Nov 2008 @ 13:42:04 GMT
Hi, try
begin transaction;
locking table tablea for write;
sel value
into :output_value
from tablea;
update tablea
set value = value + 1;
end transaction;
BR Christian
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||