--为t_pdm_mftbomentry添加FNUMBER序列号
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PDM_MFTBOMENTRY' AND KSQL_COL_NAME ='FNUMBER') 
ALTER TABLE T_PDM_MFTBOMENTRY ADD (FNUMBER VARCHAR(50) DEFAULT ' ' NOT NULL);