Identify your SQL Server Version and Edition

Created by Cheng Kah Poh, Modified on Fri, 25 Jun, 2021 at 4:47 PM by Faradyana Azman

To Identify SQL Server Version and Edition you are running using the Windows Command Prompt, Please follow this simple step 


Step 1 : Click Start --> Search CMD --> Right Click Run as Administrator 

Open a command prompt windows on the machine SQL is installed to (Start > Run, type cmd, hit enter)


Step 2 : Type SQLCMD -S servername\instancename 

(where servername = the name of your server, and instancename is the name of the SQL instance).

The prompt will change to 1>


Step 3 : Type select @@version and hit <ENTER>

The prompt will change to 2>


Step 4 : At the 2> prompt type GO and hit <ENTER>


This will return the SQL version that is running on your server. If you have multiple instances repeat the process for each instance.

The servername mentioned above will be the name of the machine SQL is installed to. If you are unsure of your instance name do the following:

  • Open a command prompt window as described above.
  • Type services.msc.
  • Browse down to entries beginning with SQL.
  • There will be an entry for each instance called SQL Server (instancename).
  • Whatever appears in the parentheses is your instance name.

Sample output:


Thank You

You can click here for more Tips and Guideline on Qne Software



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article