The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Is there a runtime property that will tell me what edition is running?

  • Developer
  • Educational
  • Web
  • OEM
  • Workgroup
  • Standard
  • Advanced

asked 22 Jun '10, 09:35

Breck%20Carter's gravatar image

Breck Carter
26.6k418575824
accept rate: 21%


Yes, use:

select property('ServerEdition')

This returns a space separated list of words describing the database server type. Values include:

  • Evaluation
  • Developer
  • Web
  • Education
  • Standard
  • Advanced
  • Workgroup
  • OEM
  • Authenticated
permanent link

answered 22 Jun '10, 12:42

Mark%20Culp's gravatar image

Mark Culp
22.3k9129262
accept rate: 40%

edited 22 Jun '10, 12:48

1

Just to add: This property seems only be available stating with SA 11.0.1 (where the different server versions like Workgroup or Advanced were introduced), and it may name the additional components like HA, too - cf. http://dcx.sybase.com/1101en/dbadmin_en11/server-properties-perfapp.html

(22 Jun '10, 18:47) Volker Barth
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×20

question asked: 22 Jun '10, 09:35

question was seen: 627 times

last updated: 22 Jun '10, 12:48