/*==============================================================*/
/* Table: T_EB_DIMMATERULEBILL_L */
/*==============================================================*/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_DIMMATERULEBILL_L' AND KSQL_COL_NAME ='FDETAILID') 
 ALTER TABLE T_EB_DIMMATERULEBILL_L ADD (FDETAILID BIGINT NOT NULL DEFAULT 0);
