Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suser_name() host_name()
Message
De
18/11/2013 14:34:48
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Suser_name() host_name()
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01588284
Message ID:
01588284
Vues:
46
These 2 get me the login ID of a trusted connection and the workstation name respectively, correct?

If VFP code uses SYS(0) and parses out the machine name (i.e. the part before the #) then host_name() would be the TSQL equivalent?

TIA


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Répondre
Fil
Voir

Click here to load this message in the networking platform