/**Begin D:\PDM_UPGRADE\PDM1\HRCS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ROLEINITDEMO_DR_L' AND KSQL_COL_NAME IN ('FORGRANGETIP')) 
 ALTER TABLE T_HRCS_ROLEINITDEMO_DR_L ADD (FORGRANGETIP NVARCHAR(500) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ROLEINITDEMO_DR_L' AND KSQL_COL_NAME IN ('FADMINORGTIP')) 
 ALTER TABLE T_HRCS_ROLEINITDEMO_DR_L ADD (FADMINORGTIP NVARCHAR(500) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ROLEINITDEMO_DR' AND KSQL_COL_NAME IN ('FORGRANGETIP')) 
 ALTER TABLE T_HRCS_ROLEINITDEMO_DR ADD (FORGRANGETIP NVARCHAR(500) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_ROLEINITDEMO_DR' AND KSQL_COL_NAME IN ('FADMINORGTIP')) 
 ALTER TABLE T_HRCS_ROLEINITDEMO_DR ADD (FADMINORGTIP NVARCHAR(500) DEFAULT ' ' NOT NULL );

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