Here I show you the benefit of using ServerProperty() instead of @@Version to find the version of SQL Server you’re on.
Using ServerProperty

Here I show you the benefit of using ServerProperty() instead of @@Version to find the version of SQL Server you’re on.