/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_WATERMARK' AND KSQL_COL_NAME ='FFONTSIZE') 
 ALTER TABLE T_BAS_WATERMARK ADD (FFONTSIZE VARCHAR(10) DEFAULT '12px' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_WATERMARK' AND KSQL_COL_NAME ='FCOLOR') 
 ALTER TABLE T_BAS_WATERMARK ADD (FCOLOR VARCHAR(36) DEFAULT '#333' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_WATERMARK' AND KSQL_COL_NAME ='FGLOBALALPHA') 
 ALTER TABLE T_BAS_WATERMARK ADD (FGLOBALALPHA SMALLINT DEFAULT 10 NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/