I am looking for a way to find production information for sql server. I am looking for @@version but I don't want to run @@version and parse this. Would prefer to get this from serverproperty ('correctpropertyname')
I want everything before the - (dash)
Microsoft SQL Server 2008 (SP3) -