/**Begin D:\PDM_UPGRADE\PDM_UPGRADE\PDM1\BCM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_TMPLCOLDIM_L' AND KSQL_COL_NAME IN ('FDETAILID')) 
 ALTER TABLE T_BCM_TMPLCOLDIM_L ADD (FDETAILID BIGINT DEFAULT 0 NOT NULL );
 --- drop column --------- 请认真检查该脚本 ------------------- 
 EXEC p_AlterColumn 'T_BCM_TMPLCOLDIM_L', 'FID', 'NULL', 'NULL', '1001', 'NULL';


/**End D:\PDM_UPGRADE\PDM_UPGRADE\PDM1\BCM_table.sql **/
