July 25, 2008 at 10:59 am
Hi all,
how can i check the owner , imean who created database....??
Thanks in advance..
Milu.:)
July 25, 2008 at 11:36 am
In Management Studio, you can right-click the database and go to Properties, and it will tell you who created it and when.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
July 25, 2008 at 3:52 pm
select suser_sname(owner_sid) from sys.databases where name = 'YourDB_Name'
Cheers
Dev
July 26, 2008 at 1:21 am
Thanks,
luv's
Milu..:)
July 27, 2008 at 12:13 am
Hope,
The below article will help you,
http://venkattechnicalblog.blogspot.com/2008/07/retrieve-owner-of-database.html
Thanks and Regards,
Venkatesan Prabu, 😛
My Blog:
http://venkattechnicalblog.blogspot.com/
May 26, 2016 at 6:28 am
We can change the daatabase owner using sp_changedbowner or using ALTER AUTHORIZATION.
http://k2schools.com/how-to-change-the-database-owner-in-sql-server/
August 5, 2016 at 4:36 am
thank you for sharing
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply