--制造BOM分录表增加字段：替代组号，文本
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PDM_MFTBOMENTRY' AND KSQL_COL_NAME ='FENTRYREPLACEGROUP') 
 ALTER TABLE T_PDM_MFTBOMENTRY ADD (FENTRYREPLACEGROUP NVARCHAR(50)   DEFAULT  ' '  NOT NULL);
 