Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who did it??
Message
De
24/01/2008 12:11:27
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01285096
Message ID:
01285135
Vues:
22
Thank you Sergey! You always seem to come to the rescue, and it is greatly appreciated.

>>I need to populate a history table with all changes made to the production table (using trigger). One of the things I need to capture is who made each change, based on their windows login name. We are using Windows authentication. Though I have looked through all of the system stored procedures, and functions, I can't seem to remember the SQL syntax for capturing the login name. If someone would slap the back of my head (or just remind me of the command) it would be greatly appreciated.
>
>
>SUSER_SNAME()
>
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform