/**Begin D:\PDM_UPGRADE\PDM1\HRSS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRSS_SECONDFILTER' AND KSQL_COL_NAME IN ('FLABELFILTERID')) 
 ALTER TABLE T_HRSS_SECONDFILTER ADD (FLABELFILTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRSS_SECONDFILTER' AND KSQL_COL_NAME IN ('FLABELTYPE')) 
 ALTER TABLE T_HRSS_SECONDFILTER ADD (FLABELTYPE VARCHAR(10) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRSS_SECONDFILTER' AND KSQL_COL_NAME IN ('FLABELENTITY')) 
 ALTER TABLE T_HRSS_SECONDFILTER ADD (FLABELENTITY VARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRSS_SECONDFILTER' AND KSQL_COL_NAME IN ('FLABELDEFAULTVIEWID')) 
 ALTER TABLE T_HRSS_SECONDFILTER ADD (FLABELDEFAULTVIEWID VARCHAR(2000) DEFAULT ' ' NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\HRSS_table.sql **/
