/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HBSS_table.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_BUSSINESSFIELD' AND KSQL_COL_NAME ='FBUSSINESSOBJECTID')
 ALTER TABLE T_HBSS_BUSSINESSFIELD ADD (FBUSSINESSOBJECTID BIGINT default 0 not null );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_BUSSINESSFIELD' AND KSQL_COL_NAME ='FBUSINESSFIELDID') 
 ALTER TABLE T_HBSS_BUSSINESSFIELD ADD (FBUSINESSFIELDID BIGINT DEFAULT 0 NOT NULL );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HBSS_table.sql **/
