I have resolved the above issue few days ago by alter database authorization. According to MSDN the Alter Authorization syntaxt is
ALTER AUTHORIZATIONmy SQL statement was
ON [:: ] entity_name
TO { SCHEMA OWNER | principal_name }::=
{
Object | Type | XML Schema Collection | Fulltext Catalog | Schema
| Assembly | Role | Message Type | Contract | Service
| Remote Service Binding | Route | Symmetric Key | Endpoint
| Certificate | Database
}
ALTER AUTHORIZATION ON Database::databasename TO username;
Hope it will help you. Enjoy!
No comments:
Post a Comment