![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 08 Mar 2007 @ 14:09:29 GMT
set object not found severity to 0
.set errorlevel 3807 severity 0;
and check errorlevel for each table-drop statement and errorcode for any other SQLs.
drop testtable;
.if errorlevel <> 0 then .quit 100;
sel date;
.if errorcode <> then .quit 101;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||