Hi,
I need some IF THEN construct to drop some views at beginning of the scheduled job.
For example I want to see if view exists and delete it before proceeding.
Quote:
IF EXIST VIEW ABC THEN
DROP VIEW ABC
END
;
|
Anything in DB2 SQL that may allow me to drop view ABC.
If I try straight
then schedule will be terminated when view does not exit.
Any Idea will be appreciated
DBFinder