Nsan
MIS
- Apr 30, 2003
- 13
Can someone please tell me what I am doing wrong? I am trying to create a trigger that will convert a negative number to a positive number after an insert. This is how it would be done with Oracle..
Any help would be appreciated...
create or replace trigger <trigger name>
after insert
on <tablename>
for each row
when new.col < 0
declare
begin
:new.col := absnew.col);
end;
Any help would be appreciated...
create or replace trigger <trigger name>
after insert
on <tablename>
for each row
when new.col < 0
declare
begin
:new.col := absnew.col);
end;