Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Schema Question

Author  Topic 

rcr69er
Constraint Violating Yak Guru

327 Posts

Posted - 2010-01-22 : 11:46:30
Hi

I've created a table and noticed that the schema is appearing similar to <Domain>\<UserName>.mytable.

How do I go about changing the schema to dbo?

Thanks

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2010-01-22 : 12:35:04
change your default schema to dbo
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2010-01-22 : 14:10:28
Programatically,
sp_changeobjectowner [ @objname = ] 'object' , [ @newowner = ] 'owner'

or you can change it manually , via SSMS


Jack Vamvas
--------------------
http://www.ITjobfeed.com
Go to Top of Page
   

- Advertisement -