Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Posts
    19

    Unanswered: How to get names of all databases using sql statements?

    How can i get names of all databases using sql statements or system stored procedures? Thanks in advance!

  2. #2
    Join Date
    Jan 2003
    Location
    India
    Posts
    523
    Quote Originally Posted by bruce_nguyen
    How can i get names of all databases using sql statements or system stored procedures? Thanks in advance!
    try this:
    select name from master..sysdatabases

  3. #3
    Join Date
    Nov 2002
    Posts
    19

    Thanks

    I tried and the result is very good. Thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •