I have a trigger that after inserting a new user in the table tFuncionario I have to fill another table tPlanoSaude with the data of the official.
Employee table
HealthPlantable
TriggersCode
CREATEORREPLACETRIGGERINSERTFUNCIONARIOBEFOREINSERTONtfuncionarioBEGININSERTINTOtPlanoSaudeVALUES(:old.TFUNCIONARIO.MATRICULA,:old.TFUNCIONARIO.NOME);END;
Errormessage: