/**Begin D:\PDM_UPGRADE\PDM1\HRCS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ADMINGROUPORG' AND KSQL_COL_NAME IN ('FSTRUCTPROJECTID')) 
 ALTER TABLE T_HRCS_ADMINGROUPORG ADD (FSTRUCTPROJECTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ROLEDIMVAL' AND KSQL_COL_NAME IN ('FSTRUCTPROJECTID')) 
 ALTER TABLE T_HRCS_ROLEDIMVAL ADD (FSTRUCTPROJECTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_USERROLEDIMVAL' AND KSQL_COL_NAME IN ('FSTRUCTPROJECTID')) 
 ALTER TABLE T_HRCS_USERROLEDIMVAL ADD (FSTRUCTPROJECTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PINITUSERDIMVAL' AND KSQL_COL_NAME IN ('FSTRUCTPROJECTID')) 
 ALTER TABLE T_HRCS_PINITUSERDIMVAL ADD (FSTRUCTPROJECTID BIGINT DEFAULT 0 NOT NULL );

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