Universe Trigger in a Distributed Files

59 views
Skip to first unread message

Ramon Ribo

unread,
May 15, 2017, 12:19:32 PM5/15/17
to Pick and MultiValue Databases
Hi

I'm working on Universe 11.1 and Solaris.

I would create a trigger in a distributed file. 

When I execute the command :

>CREATE TRIGGER TRIG_NAME AFTER INSERT OR UPDATE OR DELETE ON FILE_NAME FOR EACH ROW CALLING '*SUB_NAME';
UniVerse/SQL: Invalid file type specified.
Warning: SICA information could not be read properly!!


The same command executed on a non distributed file works fine.

Anybody kwows why ?

Thanks

Brian Speirs

unread,
May 16, 2017, 4:28:44 AM5/16/17
to Pick and MultiValue Databases
Hi Ramon,

Triggers (like indices) work on individual files - not on a compound file like a distributed file. You will need to apply the trigger to each individual file that makes up the distributed file.

Try reading the notes on triggers that I wrote up - see www.rushflat.co.nz

Cheers,

Brian

Ramon Ribo

unread,
May 16, 2017, 11:20:20 AM5/16/17
to Pick and MultiValue Databases

Thank you Brian for your information



El dimarts, 16 maig de 2017 10:28:44 UTC+2, Brian Speirs va escriure:
Reply all
Reply to author
Forward
0 new messages