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