I am Shashank Srivastava currently working as a SQL DBA for a client that has one of the best database environment in the world. I have two years of experience and just wanted to learn and share through the blog. This blog is just to share my knowledge with all the people and learn from them.
I have completed Microsoft Certified Technology Specialist -MS SQL SERVER 2005 , Microsoft Certified Technology Specialist -MS SQL SERVER 2008 and ITIL v3 Certified IT professional certifications.
Tuesday, September 11, 2012
Find all objects owned by Login in SQL SERVER 2000
select so.name as objectname,
su.name as ownername from sysobjects so inner join
sysusers su on so.uid = su.uid where
su.name = 'Account Name'