Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Track Connect & Disconnect
Message
De
20/11/2003 18:04:00
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00852109
Message ID:
00852129
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>Is there anyway to record in a table when a connection is created and dropped and the workstation that did it?
>
>Kirk

You can run a Profiler trace, which will store to a table. Traces can hinder performance if run for too long, but if you limit it to just those 2 events, it probably won't hurt too bad.

Under Profiler select:
Events
  Security Audit - Audit Login, Audit Logout
  Sessions - ExistingConnection [so you know when one of these is logged out]
Data Columns - [at minimum]
  EventClass, HostName, StartTime, SPID
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform