1--version and edition of SQL Server Database Engine is running
2
3--Step: Connect to the instance of SQL Server, and then run the following query in SQL Server Management Studio (SSMS):
4SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')