--------------------------------------------------
i'm trying to automate a query that i have written , here i want to enable a QC check:
--------------------------------------------------
if count on tableX is > 5
then donot execute any statements below;
create volatile table T1 as
(
select * from TableA;
) with data
on commit preserve rows;
create volatile table t2 as
(
select * from TableB;
) with data
on commit preserve rows;
Forums: