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