bat file to detect if sql is installed or not.

Posted on 2007-10-14
Last Modified: 2008-01-09
Hey guy.

How do I detect if sql is setup on a server or not? Do I query the registry for that, I noticed that MS changed the keys between sql 2000 and sql 2005.
Any help is greatly appreciated.
Question by:chetan1981

    Author Comment

    Sorry for the typo...I meant guys
    LVL 7

    Accepted Solution

    Refer , it uses VBS script

    Hemantgiri S. Goswami | MS SQL Server MVP

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
    JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
    Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now