I am getting the following error
Cannot execute as the database principal because the principal \"dbo\" does not exist, this type of principal cannot be imp
another way of doing it
ALTER AUTHORIZATION ON DATABASE::[DatabaseName] TO [A Suitable Login];