• If I understand the question correctly you have to transfer the ownership to another login before you drop the login:

    USE [Your database]

    GO

    ALTER AUTHORIZATION ON SCHEMA::[dbo] TO [Another login]

    GO