Not too sure about the syntax, but in principle, you can store the value of current timestamp in a variable in SPs
HTH
Sathyaram
Quote:
Originally posted by ionutz
Am I allowed to use the following:
...
DECLARE X TIMESTAMP;
SET X=CURRENT TIMESTAMP;
....
in a stored procedure in db2 udb 8.1?
|