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 servernameb= 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.
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools