【发布时间】:2021-08-26 08:13:27
【问题描述】:
我正在尝试在 Oracle 11g 中创建一个包含枚举的表
CREATE TABLE role (name ENUM('admin', 'read', 'write', 'manager'));
我收到[42000][907] ORA-00907: missing right parenthesis Position: 28。位置 28 在ENUM 和( 之间。
列出here 和shirts 表的示例也不起作用。
这里有什么我遗漏的吗?
【问题讨论】: