/**Begin D:\PDM_UPGRADE\PDM1\HDM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_TRANSFERBILL_A' AND KSQL_COL_NAME IN ('FAREALITYROLERELID')) 
 ALTER TABLE T_HDM_TRANSFERBILL_A ADD (FAREALITYROLERELID BIGINT DEFAULT 0 NOT NULL );
 --- drop TABLE --------- 请认真检查该脚本 ------------------- 
IF EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HDM_NEWROLEREL') 
 DROP TABLE T_HDM_NEWROLEREL;

 --- drop TABLE --------- 请认真检查该脚本 ------------------- 
IF EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HDM_OLDROLEREL') 
 DROP TABLE T_HDM_OLDROLEREL;


/**End D:\PDM_UPGRADE\PDM1\HDM_table.sql **/
