× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>but I have not found a solution yet to pass this information 
>to a called stored procedure. 

It's not pretty, but you could pass the data field by field.

-Walden


------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] 
On Behalf Of Hauser, Birgitta
Sent: Tuesday, November 22, 2005 2:37 AM
To: 'Midrange Systems Technical Discussion'
Subject: AW: Downside to SQL Triggers?

Hi Walden,

I prefere external triggers over SQL triggers even though the second ones are 
much powerful.

The reason is, to change a trigger, you need exclusive access to the base 
table. If your company works 24/7/365 it's rather impossible to change a 
trigger. Our external trigger programs are only wapper's around the "true"
tigger program. The old and new record are passed as data structures to the 
called program or procedure. This called program can be changed without 
requiring exclusive access to the base table.

In SQL-Triggers I can get access to the old and new record (or table) within 
the trigger, but I have not found a solution yet to pass this information to a 
called stored procedure. There are no datastructures like we know it from RPG.

Birgitta

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Walden H. Leverich
Gesendet: Dienstag, 22. November 2005 02:49
An: Midrange Systems Technical Discussion
Betreff: RE: Downside to SQL Triggers?

Thanks, I'd seen that. Unfortunately it's too much of a simple reference book. 

I'm looking for some real world experiences. I've got the stored procs created 
and everything seems ok, but since there's not much discussion about them here 
I'm just wondering if people have seen problems. It might just be that people 
aren't using them.

-Walden

------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com
 Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To 
post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or 
change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment 
to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To 
post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or 
change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment 
to review the archives at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.