/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
EXEC P_ALTERPK 'PK_T_CAS_TRANSFERAPPLYBILL', 'T_CAS_TRANSFERAPPLYBILL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_TRAB_FBILLNO') CREATE INDEX IDX_CAS_TRAB_FBILLNO ON T_CAS_TRANSFERAPPLYBILL ( FBILLNO );


EXEC P_ALTERPK 'PK_T_CAS_TRANSFERAPPLY_ENTRY', 'T_CAS_TRANSFERAPPLY_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'INDEX_T_CAS_TRANSFER_ENTRY') CREATE INDEX INDEX_T_CAS_TRANSFER_ENTRY ON T_CAS_TRANSFERAPPLY_ENTRY ( FID );



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