Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Delhi INDIA
    Posts
    58

    Thumbs down Unanswered: List of SQL Server 7.0/2000 instances running

    How to get the list of instance of SQL Server 7.0/2000 running on the local machine inside my domain...
    I need to prepare the list of all sql instances.. pls help if possible to find details using sql query.
    Deep..

    MCDBA
    ------------------------------------------
    How much data you can afford to lose??

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I'd start with:
    Code:
    EXECUTE master.dbo.xp_cmdshell 'osql -L'
    You might have to refine it a bit, but it is a place to start.

    -PatP

Posting Permissions

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