/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_CAS_RECBILLENTRY', 'T_CAS_RECBILLENTRY', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RECBILL_ENTRY_FID') CREATE  CLUSTERED INDEX IDX_RECBILL_ENTRY_FID ON T_CAS_RECBILLENTRY ( FID );


 EXEC P_ALTERPK 'PK_T_CAS_RECBILLCHANGEENTRY', 'T_CAS_RECBILLCHANGEENTRY', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RECBILL_CHANGE_ENTRY_FID') CREATE  CLUSTERED INDEX IDX_RECBILL_CHANGE_ENTRY_FID ON T_CAS_RECBILLCHANGEENTRY ( FID );



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