/*==============================================================*/
/* Table: T_EB_ADJUSTRULE_DETAIL      调整规则增加自定义维度        */
/*==============================================================*/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM21')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM21 NCLOB DEFAULT ' ' );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM21')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM21 NCLOB DEFAULT ' ' );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM22')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM22 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM22')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM22 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM23')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM23 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM23')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM23 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM24')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM24 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM24')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM24 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM25')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM25 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM25')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM25 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM26')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM26 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM26')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM26 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM27')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM27 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM27')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM27 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM28')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM28 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM28')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM28 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM29')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM29 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM29')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM29 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM30')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM30 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM30')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM30 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM31')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM31 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM31')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM31 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM32')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM32 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM32')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM32 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM33')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM33 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM33')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM33 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM34')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM34 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM34')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM34 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM35')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM35 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM35')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM35 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM36')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM36 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM36')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM36 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM37')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM37 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM37')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM37 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM38')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM38 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM38')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM38 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM39')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM39 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM39')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM39 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM40')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM40 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM40')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM40 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM41')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM41 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM41')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM41 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM42')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM42 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM42')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM42 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM43')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM43 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM43')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM43 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM44')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM44 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM44')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM44 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM45')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM45 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM45')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM45 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM46')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM46 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM46')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM46 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM47')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM47 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM47')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM47 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM48')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM48 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM48')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM48 NCLOB DEFAULT ' '  );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM49')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM49 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM49')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM49 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FCUSTOMDIM50')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FCUSTOMDIM50 NCLOB DEFAULT ' '  );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_ADJUSTRULE_DETAIL' AND KSQL_COL_NAME IN ('FADJCUSTOMDIM50')) 
ALTER TABLE T_EB_ADJUSTRULE_DETAIL ADD (FADJCUSTOMDIM50 NCLOB DEFAULT ' '  );