Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is COMMENT a reserved word in Oracle?

Is COMMENT a reserved word in Oracle? If so, how can I name a field in a table 'COMMENT'?

Is COMMENT a reserved word in Oracle? If so, how can I name a field in a table 'COMMENT'?
As you can see below, COMMENT is a reserved word in Oracle.
SQL> select keyword from v$reserved_words
  2  where keyword = 'COMMENT';

KEYWORD
----------------------------------------------------------------
COMMENT
I would seriously reconsider trying to create a table with a column name that is a reserved word. Any reason why this column can't be called COMMENTS or USER_COMMENTS?

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close