Show owner of database
Hello,
Does anyone know what procedure to run to show information such as the
owner of a specific database for MSSQL2000? I want to make a script to
loop through all the databases on a server and display owner and other
helpful information.
Best regards,
Andreas
.
Relevant Pages
- RE: Truncated INSERT statements when using sp_generate_inserts by Vyas
... SET NOCOUNT ON ... This procedure is also useful to create a database setup, ... ALSO NOTE THAT THIS PROCEDURE IS NOT UPDATED TO WORK WITH NEW DATA TYPES INTRODUCED IN SQL SERVER 2005 / YUKON ... IF @owner IS NULL ... (microsoft.public.sqlserver.programming) - Re: SQL 2005 Express-Database does not have a valid owner?
... That means that the database's owner is MYDOMAIN\MyUserName ... My design machine is running Windows XP Pro. ... database diagram. ... Database diagram support objects cannot be installed because this ... (microsoft.public.sqlserver.security) - Re: conflicting object names in sql server 2000
... The owner of the object will depend on the user ... On the local database server when it does the select * from ... she must specify the owner: ... (microsoft.public.sqlserver.server) - Re: unknown database owner
... cleared for the 'Admin' user. ... the "owner is unknown" (you described ... An old database, ... Rick Brandt, Microsoft Access MVP ... (microsoft.public.access.security) - Re: Cross database update issue
... Also, for dbo-owned objects, the owner of both databases must be the ... You can execute sp_helpdb to determine the current database owners. ... > User Name: Test1 Role Name=Test ... > Role Test has select permission to table t_test ... (microsoft.public.sqlserver.security) |
|