Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find out what License has been applied to my SQL Server installation?

I have SQL Server 2008 installed, but I'm not sure what license was installed. Is there an easy way to find this out?

like image 336
Neil Knight Avatar asked Nov 04 '10 17:11

Neil Knight


People also ask

How can I tell what SQL Server license is installed?

Method 1: Check SQL Server Version Using T-SQL Where server_name is your server name and instance_name is the SQL instance name. If you're trying to connect to the default instance, just type SQLCMD. This will display the version and license type of your connected SQL Server instance.

How do I find my core license SQL?

It depends on the SQL server license that you buy. You can check the information from SQL server error log. For detailed information about the license issue, please call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist.

How can I check when my SQL Server license expires?

Check whether SSMS will expireStart SQL Server Management Studio. Select the Help menu and then the About... submenu from the list. You will run into the problem discussed in the article if the component Microsoft SQL Server Management Studio has expires in 'x' days next to it.


2 Answers

I presume you mean via SSMS?

For a SQL Server Instance:

SELECT SERVERPROPERTY('productversion'),         SERVERPROPERTY ('productlevel'),         SERVERPROPERTY ('edition') 

For a SQL Server Installation:

Select @@Version

like image 186
codingbadger Avatar answered Sep 21 '22 19:09

codingbadger


This shows the licence type and number of licences:

SELECT SERVERPROPERTY('LicenseType'), SERVERPROPERTY('NumLicenses') 
like image 36
philiphobgen Avatar answered Sep 22 '22 19:09

philiphobgen