Re: effect of trigger in Access?



Even if you use SQL Server, you want to avoid triggers as much as
possible. They are good for logging, etc., but not as part of a
transaction because they extend the life of a transaction. This can
cause unintended blocking and deadlocks, depending on your data and
application architecture.

--Mary

On 15 Jan 2006 01:03:14 GMT, "Kevin" <kevind@xxxxxxxxx> wrote:

>What I was hoping for was record-level locking and record-level
>triggers. I'm thinking I should be poking around in a MySQL or SQL
>Server area.
>
>mdotau> wrote:
>
>> Rick, completely correct, but note that there is a more
>> complicated way of understanding that. :-).
>>
>> When using the default Jet database (tables in an mdb file),
>> you can use declarative referential integrity to cascade
>> updates an deletions through your other tables. So unlike
>> other database systems, there was not a need to handle
>> table level events (triggers).
>>
>> Other database systems like SQL Server which couldn't
>> handle declarative referential integrity have had it retro-fitted,
>> and also have retained table level events (triggers) for more
>> complex actions like those handled by form level events in
>> Access.
>>
>> In contrast, Access has stagnated for 10 years. SQL Server
>> got DRI, Access/Jet did not get table level events.
>>
>> (david)
>>
>> "Rick Brandt" <rickbrandt2@xxxxxxxxxxx> wrote in message
>> news:HT5yf.785$F_3.196@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> > Kevin wrote:
>> > > With Access 2000 or 2003, is there a trigger or onChanged method?
>> > > I would like to be able to do a mailto if certain fields change
>> > > in my db.
>> >
>> > When using the default Jet database (tables in an mdb file) there
>> > are no
>> table
>> > level events (triggers) as there are in server based systems like
>> > SQL
>> Server.
>> > Only when the changes are done via forms can use the varuious
>> > events that automatically fire in forms for stuff like this.
>> >
>> > Of course Access can easily be used with tables on a server
>> > database and
>> then
>> > Triggers on that system could be set up.
>> >
>> > --
>> > I don't check the Email account attached
>> > to this message. Send instead to...
>> > RBrandt at Hunter dot com
>> >
>> >
.



Relevant Pages

  • Re: effect of trigger in Access?
    ... I'm thinking I should be poking around in a MySQL or SQL ... Server area. ... > table level events (triggers). ... > and also have retained table level events for more ...
    (microsoft.public.access.externaldata)
  • Re: effect of trigger in Access?
    ... When using the default Jet database, ... Other database systems like SQL Server which couldn't ... and also have retained table level events (triggers) for more ...
    (microsoft.public.access.externaldata)
  • Re: effect of trigger in Access?
    ... When using the default Jet database there are no table ... level events as there are in server based systems like SQL Server. ... Triggers on that system could be set up. ...
    (microsoft.public.access.externaldata)
  • Re: SQL and MS firewall
    ... I ran the SQL server critical update wizard tool, ... I'm not sure what you mean by triggers. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: SQL and MS firewall
    ... What's the Interface to the SQL Server? ... What triggers are running on the Server? ... "Rob Dolphin" wrote in message ...
    (microsoft.public.backoffice.smallbiz2000)