简体   繁体   中英

Map user to default schema in SQL Server 2005

I had a new DB and I created a new user (ElarabyGroup) owner for this DB. And when I tried to map this user for default schema but I did not the name of object in browse of objects window.

Please any one help me

I don't understand your question, but to set the default schema for a user you can use:

ALTER USER SomeUser WITH DEFAULT_SCHEMA = SomeSchema

You can find complete information about users and schemas here (check out the catalog views and examples in particular):

http://msdn.microsoft.com/en-us/library/ms190387(v=SQL.90).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM