SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
SELECT 'the sqlserver is ' + substring(@@VERSION, 21, 5) AS [sql version]