Hi @Prabhat Singh ,
CDC is a schema that has the same name as the user CDC, just like dbo, guest.
Agree with Erland that You add users to roles (and db_owner is a role), not schemas.
Here are some tips to get it more clear:
Server login: means a user who has permission to login to a server.
Server role: means a fixed set of server users, of which there are nine by default.
Database user: means a user who has permission to be able to operate a database.
Database roles: refers to a fixed set of database roles with certain privileges.
Database schema: means a container for database objects.
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.