
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HPDI_MSGRECVCENTER' AND KSQL_COL_NAME ='FNUMBER') 
 ALTER TABLE T_HPDI_MSGRECVCENTER ADD (FNUMBER VARCHAR(60) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HPDI_MSGRECVCENTER' AND KSQL_COL_NAME ='FMSGPARAMS') 
 ALTER TABLE T_HPDI_MSGRECVCENTER ADD (FMSGPARAMS VARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HPDI_BUVALUECONFIGENT' AND KSQL_COL_NAME ='FAPIDEPLOYID') 
 ALTER TABLE T_HPDI_BUVALUECONFIGENT ADD (FAPIDEPLOYID BIGINT DEFAULT 0 NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HPDI_table.sql **/
