/**Begin D:\willian\PDM_UPGRADE\PDM1\EB_table.sql **/
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM9') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM9 BIGINT DEFAULT 0 NOT NULL);

  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM10') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM10 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM11') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM11 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM12') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM12 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM13') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM13 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM14') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM14 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM15') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM15 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM16') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM16 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM17') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM17 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM18') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM18 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM19') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM19 BIGINT DEFAULT 0 NOT NULL);
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTPROJECT' AND KSQL_COL_NAME ='FADJCUSTOMDIM20') 
 ALTER TABLE T_EB_ADJUSTPROJECT ADD (FADJCUSTOMDIM20 BIGINT DEFAULT 0 NOT NULL);

/**End D:\willian\PDM_UPGRADE\PDM1\EB_table.sql **/
