What is the command used to get the version of SQL Server?
Select SERVERPROPERTY('productversion')
is used to get the version of SQL Server.