To rename an SQL procedure that is not contained in the same database or user as your current default database setting, you must qualify both the old and new names with the name of the containing database or user for the object.
Note that you cannot change the immediate owner of the renamed object using this statement.