
 --需求计划方案:拆分到天
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MDS_RPLANCAL' AND KSQL_COL_NAME ='FSPLITDAY')
 ALTER TABLE T_MDS_RPLANCAL ADD (FSPLITDAY CHAR(1) DEFAULT ' ' NOT NULL );

  --预测计划方案定义:拆分到天
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MDS_FORECASTCALPLAN' AND KSQL_COL_NAME ='FSPLITDAY')
  ALTER TABLE T_MDS_FORECASTCALPLAN ADD (FSPLITDAY CHAR(1) DEFAULT ' ' NOT NULL );