We have a user who is leaving and I need to know every database object that he owns. Is there a query that will provide this information?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
This should get you what you're looking for:
This will get objects that are owned by your particular user (substitute