Re: Trigger functionality without trigger

From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 06/28/04


Date: Mon, 28 Jun 2004 10:48:21 -0700

Without a trigger, all you can do is poll. That is, write a query that tests
to see if the data has changed. This can be pretty tough though and would
add quite a bit of overhead to the system.

-- 
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Matt" <Matt@discussions.microsoft.com> wrote in message
news:77A350DF-C2F0-4CE7-A8FA-996C695AD2FC@microsoft.com...
> Hi all,
>
> What I am trying to do may be a bit weird but please bear with me!
>
> I need to find out when data is changed in a table and perform some action
based on this.  The problem is that I cannot set up a trigger on this table
as I am not allowed to modify the DB at all.  Everything I need to do has to
be through .net code.
>
> If anyone can help at all or even point me in the right direction it would
be greatly appreciated.
>
> Thanks.


Relevant Pages

  • Re: getting data in triggers
    ... transaction will hold everything in lock until your trigger is done. ... Looking at your vbscript, you are making a new sqlconnection and attempting ... suggest you create a sql job and schedule it to run these external calls at ... >>> I can execute the script using xp_CmdShell in the SQL Query Analyzer ...
    (microsoft.public.sqlserver.programming)
  • Re: Please help me optimise this stored procedure.
    ... But do you really need this query? ... I assume your query is run in a trigger. ... UPDATE Titles ... Also, I forgot that the counters are in another table, not ...
    (microsoft.public.sqlserver.programming)
  • RE: Triggering IDS
    ... A DNS version query is what we use to trigger NIDS sensors. ... UDP and the trigger is the query. ... vulnerability management needs. ...
    (Pen-Test)
  • RE: I want the user to decide if duplicates are ok
    ... Sorry QBF = Query By Form ... The basics are that you filter a query by the contents of controls on a ... The event to trigger the action is up to you. ...
    (microsoft.public.access.gettingstarted)
  • Re: LInked Servers and Triggers...
    ... "AnthonyThomas" wrote: ... > distributed transaction unless you explicitly override the creation of one. ... > when I have a trigger setup to update a Pervasive table from MSSQL. ... > if I run those queries in the query anaylzer they run fine. ...
    (microsoft.public.sqlserver.server)