Check the version of SQL Server

I always forget how to check the version and edition of Microsoft SQL Server what is running, so I’ve documented it here.

It’s best to do this from the actual Windows Server running Microsoft SQL Server.

Open a Command Prompt.

Run sqlcmd -s SERVERNAME\INSTANCENAME, for example:

sqlcmd -s X500SERVER1\DEVDB1

In the example above, X500SERVER1 is the SQL Server Name, and DEVDB1 is the SQL Instance Name.

Type:

select @@version

Hit <Enter>.

At the 2> prompt, type:

go

Hit <Enter>.

SQLversion

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s