IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_WATERMARK' AND KSQL_COL_NAME ='FADDPREVIEWWATERMARK')
ALTER TABLE T_BAS_WATERMARK ADD (FADDPREVIEWWATERMARK CHAR(1) DEFAULT '1' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_WATERMARK' AND KSQL_COL_NAME ='FADDDOWNLOADWATERMARK')
ALTER TABLE T_BAS_WATERMARK ADD (FADDDOWNLOADWATERMARK CHAR(1) DEFAULT '0' NOT NULL );
