/**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_CENTRALIZED_ENTITY' AND KSQL_COL_NAME ='FVERSION') 
ALTER TABLE T_EB_CENTRALIZED_ENTITY ADD (FVERSION BIGINT NOT NULL DEFAULT 0);

/**END E:\NEXTERP_PDM\PDM_UPGRADE\PDMS\BRANCH_LASTEST\PDM\EB_TABLE.SQL **/