/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
 EXEC p_AlterPK 'PK_T_CAS_RECWARNENTRY', 'T_CAS_RECWARNENTRY', 'FEntryid', '0';
EXEC p_DropIdx 'INDEX_RECWARNSET_ORGID', 'T_CAS_RECWARNENTRY';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'INDEX_RECWARNSET_ORGID') CREATE  CLUSTERED INDEX INDEX_RECWARNSET_ORGID ON T_CAS_RECWARNENTRY ( FORGID );

 EXEC p_AlterPK 'PK_T_CAS_RECWARNRESULTENTRY', 'T_CAS_RECWARNRESULTENTRY', 'FEntryid', '0';

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