Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return server name?
Message
 
 
To
31/07/2002 14:24:06
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00684621
Message ID:
00684625
Views:
15
>>>Hi,,
>>>What is easiest way to return the server name (SQL Server Name) in a query?
>>>
>>>thanks,
>>
>>
SELECT @@SERVERNAME
>
>Thanks - figured it was something simple like that!

For SQL 2000 you can also take a look at SERVERPROPERTY() function.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform