/**Begin D:\pdm\PDM_UPGRADE1\PDM1\HDM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_TRANSFERBILL_L' AND KSQL_COL_NAME ='FENTRYERRORMSG') 
 ALTER TABLE T_HDM_TRANSFERBILL_L ADD (FENTRYERRORMSG NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_TRANSFERBILL' AND KSQL_COL_NAME ='FENTRYVALIDATERESULT') 
 ALTER TABLE T_HDM_TRANSFERBILL ADD (FENTRYVALIDATERESULT VARCHAR(2) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_TRANSFERBILL' AND KSQL_COL_NAME ='FENTRYERRORMSG') 
 ALTER TABLE T_HDM_TRANSFERBILL ADD (FENTRYERRORMSG NVARCHAR(255) DEFAULT ' ' NOT NULL );

/**End D:\pdm\PDM_UPGRADE1\PDM1\HDM_table.sql **/
