aspx Tutorial

.NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services, .NET articles, Sharepoint 2010, visual studio 2010,Aamir Hasan,IT, Building Your First Web Application Project
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Wednesday, November 17, 2010 Total Views:  

In this example, i have told you that how to get all databases name in MS SQL 2005/2008. Well, you can get all databases name by using SQL query and  by using build in store procedure.

Here's the example

Following is the Query

 

SELECT  *
FROM    SYS.DATABASES



Following is the build in store procedure.

 

EXEC SP_DATABASES

Protected by Copyscape Online Plagiarism Tool

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5