IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_MULDIMENDETAIL' AND KSQL_COL_NAME IN ('FLABORRELTYPEID')) 
 ALTER TABLE T_HAOS_MULDIMENDETAIL ADD (FLABORRELTYPEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_MULDIMENDETAILHIS' AND KSQL_COL_NAME IN ('FLABORRELTYPEID')) 
 ALTER TABLE T_HAOS_MULDIMENDETAILHIS ADD (FLABORRELTYPEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_STAFFPERSON' AND KSQL_COL_NAME IN ('FLABORRELTYPEID')) 
 ALTER TABLE T_HAOS_STAFFPERSON ADD (FLABORRELTYPEID BIGINT DEFAULT 0 NOT NULL );