/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\EB_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_BGCONTROLOPERLOG' AND KSQL_COL_NAME IN ('FCONTROLPARAMS')) 
 ALTER TABLE T_EB_BGCONTROLOPERLOG ADD (FCONTROLPARAMS NCLOB );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_BGCONTROLOPERLOG' AND KSQL_COL_NAME IN ('FPARAMS')) 
 ALTER TABLE T_EB_BGCONTROLOPERLOG ADD (FPARAMS CHAR(1) DEFAULT '0' );

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