/**Begin D:\pdm\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_ROWFIELD' AND KSQL_COL_NAME ='FSORT') 
 ALTER TABLE T_HRPTMC_ROWFIELD ADD (FSORT VARCHAR(10) DEFAULT ' ' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_COLFIELD' AND KSQL_COL_NAME ='FSORT') 
 ALTER TABLE T_HRPTMC_COLFIELD ADD (FSORT VARCHAR(10) DEFAULT ' ' NOT NULL );

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