Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return server name?
Message
 
 
À
31/07/2002 14:24:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00684621
Message ID:
00684625
Vues:
16
>>>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform