Since 13.10 SQLA supports some basic conditional logic using BTEQ syntax:
http://developer.teradata.com/note/828
select 1 from dbc.TablesV where databasename = database and TabkeName = 'table_x';
.if activitycount = 0 then GoTo ok
drop table table_x;
.label ok
create table table_x(....)Dieter
↧