Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Location
    India
    Posts
    15

    Unanswered: How to read windows registry thru query ?

    Hi

    How can I access the windows registry entries from MSSQL Server query analyzer. I am looking for some stored procedures. Are there any system stored procedures ?

    Thx

  2. #2
    Join Date
    Dec 2001
    Location
    Toronto, Canada
    Posts
    335
    Extended procedure xp_regread
    Code:
    USE Master
    EXEC xp_regread 'HKEY_LOCAL_MACHINE',
                    'SOFTWARE\Microsoft\MSSQLServer\Setup',
                    'SQLPath'
    MCDBA

Posting Permissions

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