Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Get DBObjects with Specified Owner

By Bhavesh-257515,

A database can have objects with multiple owners. The script will give you the list of all the TABLES, VIEWS and PROCEDURES having the specified owner. Just input the owner name and it will give you the list of all the Objects with that owner. This scope of the script is limited to the TABLES, VIEW and PROCEDURES.

Total article views: 276 | Views in the last 30 days: 5
 
Related Articles
FORUM

Database Owner

Database Owner and db_owner

FORUM

Database owner

Database owner

FORUM

Wrong Schema Owner

Wrong Schema Owner

FORUM

How to change object owner......

Change Object Owner

FORUM

Restore/DB Owner

Problems Restoring Databases -- DB Owner

 
Contribute