Geeks With Blogs
Brian Biales because blogging is just the easiest way to remember things December 2008 Entries
How to discover a SQL Server connection's Server and Database name
Ok, so this probably doesn't happen often, where some code doesn't know on what server or database it is operating on, but needs to know this information... To be honest, I created this as I was able to logon to someone's DotNetNuke site as an admin, but did not have direct access to the website files. The site owner asked where the database resided. So I went to the Host->SQL menu option, which lets you run dynamic sql against your database. And I typed this command in to discover the server ......

Posted On Tuesday, December 2, 2008 1:03 PM

Copyright © Brian Biales | Powered by: GeeksWithBlogs.net