Pricing  Get Quote
 
 
 

How to check SQL server version name using command prompt?

Step 1 -Open a command prompt window on the machine in which SQL is installed. Go to Start → Run, type cmd, and hit enter to open the command prompt.

Step 2 -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 -select @@version

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 on.

If you are unsure of your instance name do the following:

Step 1 -Open a command prompt window as described above.

Step 2 -services.msc.

Step 3 -Locate the entries beginning with SQL. There will be an entry for each instance called SQL Server (instancename). The instance name appears within the parentheses.

Audit and monitor Windows security policy settings in real time with ADAudit Plus.

Download Now