0% found this document useful (0 votes)
45 views1 page

Utilities Ques

Setting the error level to 0 before dropping a table that may not exist prevents BTEQ from erroring out. The command ERRORLEVEL (3807) SEVERITY 0 is used before dropping the table, and ERRORLEVEL (3807) SEVERITY 8 resets the error level afterwards.

Uploaded by

bhartiya_amit52
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Utilities Ques

Setting the error level to 0 before dropping a table that may not exist prevents BTEQ from erroring out. The command ERRORLEVEL (3807) SEVERITY 0 is used before dropping the table, and ERRORLEVEL (3807) SEVERITY 8 resets the error level afterwards.

Uploaded by

bhartiya_amit52
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

How to make sure BTEQ utility is not erroring out while dropping a table when the

table doesnt exist in Teradata?

Setting the error level to 0 will achieve this.

ERRORLEVEL (3807) SEVERITY 0;

DROP TABLE TABLENAME;


ERRORLEVEL (3807) SEVERITY 8;

You might also like