constraint "<str>" is referenced in the routine "<str>" Explanation: The specified constraint you attempted to delete is used in a routine. User Action: First, review the database design; then, if desired, delete the routine, and then delete the constraint.