Skip to Main Content

SQL & PL/SQL

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!

Error: ORA-02000: missing ( keyword

DINESH EDVINMar 2 2016 — edited Mar 2 2016

Hi,

I was trying to add a Virtual column on existing table. But i got an error stats that  ORA-02000: missing ( keyword.

Is there anything wrong in my query. If so please guide me. This is my query.

ALTER TABLE My_employees ADD (Age number(3) GENERATED ALWAYS AS ROUND(MONTHS_BETWEEN(SYSDATE,hire_date)/12)+23 VIRTUAL)

Thanks & Regards,

Dinesh Kumar.

This post has been answered by Rithu Raj on Mar 2 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2016
Added on Mar 2 2016
18 comments
30,652 views