Examples of @@VERSION Function :
Example 1 : Use of @@VERSION function in select clause
SELECT @@VERSION
Output
Microsoft SQL Server 2005 - 9.00.4053.00 (Intel X86) May 26 2000 14:24:20 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.0 (Build 6002: Service Pack 2)
Above example returns installed sql server information.