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