Home Forums SQL Server 7,2000 SQL Server Newbies SQL Server 2000 RE: SQL Server 2000
Beatrix Kiddo
SSC-Dedicated
Points: 32407
More actions
October 21, 2013 at 6:37 am
#1660111
Is that Tagalog :-)? Can you write it again in English for us?
I'm not quite sure if this is what you want, but...
- for server name: SELECT @@SERVERNAME
- for database name of current database: select DB_NAME()