xp_msver returns information about the SQL Server version, actual build number of the server and information about the server environment.
You can also pass the parameter to get the specific information.
Have a WordPress.com account? Log in now.