Results 1 to 7 of 7

Thread: finding sql databases in a server

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Posts
    162

    finding sql databases in a server

    how can i find the databases that belong to a sql server on the network.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: finding sql databases in a server

    Thread moved to 'Database Development' forum (the 'VB6' forum is only meant for questions which don't fit in more specific forums)

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: finding sql databases in a server

    Open Management Studio, connect to that instance and expand the Databases node. If that doesn't answer the question you actually want answered, which I suspect it won't, then please restate the question more clearly.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Posts
    162

    Re: finding sql databases in a server

    ok that was almost funny...i mean i want vb 6 code to list databases that belong to a server...i have written code that lists the sql servers on the network and after picking one server i want to list the databases in it.

  5. #5
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: finding sql databases in a server

    EXEC sp_helpdb

    Check out this also:

    http://databases.aspfaq.com/schema-t...my-server.html

  6. #6
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: finding sql databases in a server

    Check this out also.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Posts
    162

    Re: finding sql databases in a server

    thanks a lot ...you rock...it turn out to be simpler than i thought.

Posting Permissions

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



Click Here to Expand Forum to Full Width