db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pb2208 <pete.bea...@gmail.com>
Subject Re: Help with Triggers
Date Mon, 07 Jun 2010 20:02:26 GMT

I understand I can use the generated column.  The real problem is the second
scenario where a number must be assigned to one of several range values.

Can I use a trigger to call a function in my application and how does the
result of the function get back into the record that caused the trigger?

Dag H. Wanvik wrote:
> You could use Derby's generated column for this:
> http://db.apache.org/derby/docs/10.6/ref/rrefsqljgenerationclause.html#rrefsqljgenerationclause
> Dag

Pete Beatty
View this message in context: http://old.nabble.com/Help-with-Triggers-tp28805126p28810054.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message