Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Load Update Trigger Issue
Fri, Apr 1 2011 12:29 PMPermanent Link

Alfred Ghazzi

Hi

I implemented the Load Update trigger like this

EXECUTE IMMEDIATE 'CREATE TRIGGER "LOAD_TRIGGER_1" BEFORE LOAD UPDATE ON "Table 1"
BEGIN
  IF LEFT(OLDROW.ID, 4) <> ''ABCD'' THEN
     ABORT;
  END IF;
END';

No records are getting updated whether the above boolean expression is resolved to True or False. "ID" is the primary key of the table and has values "BBBB-B65F" and "ABCD-C255". Those two records where in the same update file. The second record is not processed (or it does not get updated)...

Im using the latest version 2.05b4

Many Thanks

Alfred
Fri, Apr 1 2011 1:03 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Alfred


Try just using single quotes around ABCD rather than double quotes.

Roy Lambert [Team Elevate]
Fri, Apr 1 2011 1:12 PMPermanent Link

Alfred Ghazzi

Hi Roy

Many thanks for your reply...

I found the error in my code after I pulled my hair long enough to find it Smile

It has nothing to do with Load Update Trigger...

By the time I came to cancel the thread, I saw your message...

Many thanks again for your kind help

Regards

Alfred
Image