Anyone have any ideas of how you would build a .net
component to monitor SQL Activity.
Here is what I am trying to do:
When an insert or update to a SQL table occurs, I want to
populate another table (in a different database). I don't
want to use a trigger.

Thx,
Troy

Re: Monitor SQL activity through .net by andrew

andrew
Wed Dec 17 20:12:30 CST 2003


".net and SQL Server" <tclarke@options.com> wrote in message
news:027d01c3c506$7afa3740$a001280a@phx.gbl...
> Anyone have any ideas of how you would build a .net
> component to monitor SQL Activity.
> Here is what I am trying to do:
> When an insert or update to a SQL table occurs, I want to
> populate another table (in a different database). I don't
> want to use a trigger.

Troy,

You'll want to hook into the tracing and profiling functions of sql server,
have a look at http://www.sqlmag.com/Articles/Index.cfm?ArticleID=20126&pg=1

hth
andrew