﻿<?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 - General  / Script to get list of databases for which a user has db_owner database role ? / 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>Wed, 22 May 2013 20:26:08 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Script to get list of databases for which a user has db_owner database role ?</title><link>http://www.sqlservercentral.com/Forums/Topic1387642-391-1.aspx</link><description>I also wanted something similar recently and used this article to get the list!http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=172689You may want to set a filter in the at the end as: loginname='&amp;lt;required user&amp;gt;'Hope this helps!</description><pubDate>Thu, 22 Nov 2012 02:59:28 GMT</pubDate><dc:creator>AJ@SQL</dc:creator></item><item><title>RE: Script to get list of databases for which a user has db_owner database role ?</title><link>http://www.sqlservercentral.com/Forums/Topic1387642-391-1.aspx</link><description>Thanks for your immediate replay..As i am oracle dba,not no much about pt in sql server 2008..Pls elobrat your answer  so it will help me lot .Regards,</description><pubDate>Thu, 22 Nov 2012 02:49:42 GMT</pubDate><dc:creator>samihcl</dc:creator></item><item><title>RE: Script to get list of databases for which a user has db_owner database role ?</title><link>http://www.sqlservercentral.com/Forums/Topic1387642-391-1.aspx</link><description>You would need to loop through every database quering sys.database_role_members and sys.database_principals.</description><pubDate>Thu, 22 Nov 2012 01:47:24 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>Script to get list of databases for which a user has db_owner database role ?</title><link>http://www.sqlservercentral.com/Forums/Topic1387642-391-1.aspx</link><description>What is the command to get list of databases for which a user has db_owner database role ?</description><pubDate>Wed, 21 Nov 2012 15:52:45 GMT</pubDate><dc:creator>Mani-584606</dc:creator></item></channel></rss>