The oracle keyword as the field name

For keywords such as: Level, uid, group, etc.

If the database design, without considering the special nature of oracle database, you may use the keyword as the field name, so in the course of construction of the table, suggesting that error: ORA-00904: invalid IDENTIFIER.

Solution:

1, the design of the database, try not to use the keyword database as a field name

2, double quotation marks ( "") tag

Guess you like

Origin www.cnblogs.com/zhuitian/p/11444085.html