Re: Triggers question!
> It is returning 0 how ever(on master table the ID_CASO value is added perfectly),
Not sure what you mean. It'ss easy to show that an After Insert Trigger can see the new auto_increment value. What exactly is "returning 0"?
> or it gives me a foreign key restriction violated error
> if the tables are related, with a foreign key.
Let's see the results of Show Create Table fish and Show Create Table master_table_ltp.
Subject
Views
Written By
Posted
1983
August 25, 2016 03:09PM
845
August 25, 2016 06:35PM
1027
August 25, 2016 10:06PM
825
August 26, 2016 08:48AM
1015
August 26, 2016 02:51PM
Re: Triggers question!
985
August 26, 2016 07:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.