This blog shows how to get the current sessions Version in SQL Server

Example:

SELECT @@VERSION Version Information