Standard or Enterpise Edition of SQL Server

  • I run this but it does not give me info on Standard or Ent. Edition of SQL Server. It states Standard or Ent of WIndows but not SQL Server.

    SELECT @@ServerName AS Server,

    LEFT(@@version, 26) AS Version

    SELECT @@VERSION

    SELECT

    SERVERPROPERTY('productversion'),

    SERVERPROPERTY('productlevel')

  • This will give you the version and service pack level

    SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')


    Thanks,

    Lori

  • That is it, I was missing the one part. THanks !

  • A much more easier query to remember is ...

    select @@version

    ... everything you are looking for is there. 😎

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • You're right - select @@version does give you everything. Mine is just more focused and helps with my lack of attention span 😉


    Thanks,

    Lori

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

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