﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration  / database ownership issues / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Mon, 20 May 2013 11:12:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: database ownership issues</title><link>http://www.sqlservercentral.com/Forums/Topic1381105-1550-1.aspx</link><description>you can search fro more infor by searching "SQL SERVER CHANGE DATABASE OWNER;the BOL Links are here for the explanation and the code:[url=http://msdn.microsoft.com/en-us/library/ms190909(v=sql.105).aspx]Changing the Database Owner[/url][url=http://msdn.microsoft.com/en-us/library/ms187359(v=sql.105).aspx]ALTER AUTHORIZATION (Transact-SQL)[/url]and a basic command example:[code]--SQL2005 and before:--assumes the current database is the one to changeEXEC sp_changedbowner 'sa' --2008 and afterALTER AUTHORIZATION   ON database::SandBox   TO sa[/code]</description><pubDate>Mon, 05 Nov 2012 11:55:52 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: database ownership issues</title><link>http://www.sqlservercentral.com/Forums/Topic1381105-1550-1.aspx</link><description>What error you got??</description><pubDate>Mon, 05 Nov 2012 09:23:00 GMT</pubDate><dc:creator>Ratheesh.K.Nair</dc:creator></item><item><title>database ownership issues</title><link>http://www.sqlservercentral.com/Forums/Topic1381105-1550-1.aspx</link><description>I have my databases user and  default schema set for 'dbo' but if i import a new database , and look at the security its user and default schema fields are empty and if i try to assign sa as db_owner of this database i get an error.how can i make this database after import  user=dbo and 'default schema'=dbo and have sa user teh dbowner of this  database .. .like my all other databases ?thanks</description><pubDate>Mon, 05 Nov 2012 08:17:27 GMT</pubDate><dc:creator>sahmad43</dc:creator></item></channel></rss>