Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Interactive Grid Save Error - ORA-01733: virtual column not allowed here

Srini-SMay 12 2020 — edited May 12 2020

I have an interactive grid that is based on a table and all the columns are being queried explicitly. Whenever I try to update a column value and save, I see this error. The not null column is rec_id which is also drawn from a sequence and a before insert trigger exists to default the value based on a sequence. There are posts about this error, but my primary key column is made query only, still I see the error. What could be other possibilities? We are on 18.1.

Ajax call returned server error ORA-20987: APEX - Process 'Save Interactive Grid Data' raised 'ORA-01733: virtual column not allowed here' while executing a DML command. This error can occur if a column is based on an aggregation or SQL expression. Set column attribute 'Query Only' to Yes to exclude the column from the INSERT and UPDATE statement.

Comments

Post Details

Added on May 12 2020
8 comments
18,390 views