querying version of SQL server

  • Which command using Query Analyzer will give you the version of SQL server and operating system

     

    Thanks.

  • exec xp_msver







    **ASCII stupid question, get a stupid ANSI !!!**

  • you can also do a "SELECT @@VERSION" and set the QA tools - options - results - to display the results as "text"!







    **ASCII stupid question, get a stupid ANSI !!!**

  • SELECT RTRIM(CONVERT(varchar,SERVERPROPERTY('productversion')))as Productversion,

    RTRIM(CONVERT(varchar,SERVERPROPERTY ('productlevel')))as Productlevel,

    RTRIM(CONVERT(varchar,SERVERPROPERTY ('edition'))) as Edition

    EXEC master.dbo.xp_msver

    Best regards
    karl

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

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