Truncate TABLE T_LIC_SNAPSHOT;
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_LIC_SNAPSHOT' AND KSQL_COL_NAME ='FDATA_TAG')
 ALTER TABLE T_LIC_SNAPSHOT ADD (FDATA_TAG NCLOB );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_LIC_SNAPSHOT' AND KSQL_COL_NAME ='FSNAPSHOTTYPE')
 ALTER TABLE T_LIC_SNAPSHOT ADD (FSNAPSHOTTYPE VARCHAR(50) DEFAULT ' ' NOT NULL );

