C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




what will be sql-Query to find all database name in a sql-server-2000


Posted Date: 12 Jan 2007      Total Responses: 4

Posted By: kanan       Member Level: Bronze     Points: 2


hi to all!
i want to know all database name in a server , plz give be the sql-Query to find all database name in a sql-server-2000
thank in advance




Responses

Author: http://ravipulluri.blogspot.com    12 Jan 2007Member Level: GoldRating:     Points: 2
sp_databases


Author: Rajaraman    12 Jan 2007Member Level: DiamondRating:     Points: 2
Yes.. ravi pointed out correct stored procedure..

1. use Sp_Database
2. Select name from SysDatabase




Author: Sriman N Vangala    12 Jan 2007Member Level: DiamondRating:     Points: 2
exec sp_databases or select name from master..sysdatabases


Post Reply
You must Sign In to post a response.
Next : Generate columns dynamically
Previous : sever name in networking
Return to Discussion Forum
Post New Message
Category: SQL Server

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use