I doubt it.

SQL trigger creates a program as well, so all other things being equal, I
don't see why that program would run any faster than RPG program.

Elvis

2007 System i Fall Technical Conference | Orlando | November 4-7
Celebrating 10-Years of SQL Performance Excellence on IBM i5/OS and OS/400

-----Original Message-----
-------
Birgitta Hauser Wrote:

A check constraint is be directly executed by the
database manager, while
using a trigger always a dynamic program call, with all
overhead occurs.

--------

Birgitta,

This is a very interesting statement. Would a SQL trigger
be faster than a trigger implemented in, say, RPGLE?

Thanks,

Luis Rodriguez


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].