Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record User Login
Message
De
07/02/2006 15:02:38
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01094131
Message ID:
01094408
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
You can use SQL Profiler or the C2 auditing function to monitor logins to SQL Server. C2 is probably a bit over the top for what you want. Both of these can be used to monitor when a user logs onto the SQL Server itself and not just into a specific Database. In order to add a trigger I think you would need to add it to the master database but of the top of my head I wouldnt know which table, I'm not sure its even possible. I think setting up a trace through profiler that writes to a table would probabaly be a better option.

Just some thoughts.

>Is there a way to write a trigger that to write a record when a user account logs on in SQL Server 2000?
>
>Thanks
>
>Kirk
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform