SQL Server Hidden Gems Perhaps

If you ever wanted to get name of all the databases on your server, you can use this query

In SQL Server 2000, select name from master..sysdatabases

In SQL Server 2005, select name from sys.databases

:-)

Comments

Popular posts from this blog

Making text bold in Adobe Acrobat

Translators not loaded --- Translators error in Dreamweaver for coldfusion.htm

Hawks v/s PowerBuilders. July 23 2009. Match 13.