/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHARERECORD' AND KSQL_COL_NAME ='FREPORTNAME') 
 ALTER TABLE T_HRPTMC_SHARERECORD ADD (FREPORTNAME NVARCHAR(150) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHARERECORD' AND KSQL_COL_NAME ='FREPORTNUMBER') 
 ALTER TABLE T_HRPTMC_SHARERECORD ADD (FREPORTNUMBER VARCHAR(150) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHARERECORD_L' AND KSQL_COL_NAME ='FREPORTNAME') 
 ALTER TABLE T_HRPTMC_SHARERECORD_L ADD (FREPORTNAME NVARCHAR(150) DEFAULT ' ' NOT NULL );

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