select DB_ID(),DB_NAME(),SYSDATETIME(),SYSTEM_USER,@@VERSION
5 Test 2011-04-14 01:58:40.2031250 FF Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86) Jul 9 2008 14:43:34 Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 2)