Microsoft SQL Server 2000
Best Practices
The system variable @@version contains the version signature of the server. Usage:
select @@Version