... > When you say use rules to inject constants, how would I go about > doing this? Could you maybe give a brief example?
create view tab1_dml as select * from tab1; -- note: -- CONSTANT1 = 8 -- CONSTANT2 = 15 create or replace rule tab1_insert as on insert to tab1_dml do instead( insert into tab1( c1, c2 ) values( new.c1 * 8, 15 ); ); ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster