How could I check SQL SERVER has been installed?

  • How could I check the SQL SERVER which has been installed when make the installation disk?

    Please give me more detailed code!

    Thanks in advance!

    ar


    ar

  • Can you give more details of what you're trying to check?

    If just checking whether SQL Server has been installed, then MSSQLSERVER will be listed under Windows services.

    If check which version of SQL has been installed, then what usually works is, from a command prompt when logged on as an administrator to the machine on which it's installed:

    osql -E -Q"select @@version"


    Cheers,
    - Mark

  • Really appreciated for your answers!

    It has been given me enormous of help to me.

    I've already solved my problems. Thanks again! Mccork!

    ar


    ar

  • And I am using C++ to check if the MSSQLSERVER whether or not installed!

    Thanks!

    ar


    ar

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply