I want to insert in a row in an Oracle table. I have limitation that I can not send mySeq.nextVal
in insert script. If I omit that ID field, application tries to insert NULL there. There is a solution of using triggers on before insert. But I don't want to use triggers.
Is there any other way to insert value in Sequence field of Oracle table? Can I alter DDL and place mySeq.nextVal
as default for the ID field? Or any other idea?