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