OracleID自增序列不能支持。 #538

Closed
opened 2017-03-02 03:03:21 +00:00 by ahlzhang · 1 comment
ahlzhang commented 2017-03-02 03:03:21 +00:00 (Migrated from github.com)

oracle的ID自增需要使用序列来实现。
序列是由用户在oracle里设置的。
比如:
表名a 字段id, name
设置id的序列名为a_id。
insert语句:
insert into a (id,name) values (a_id.nextval,"张三")

oracle的ID自增需要使用序列来实现。 序列是由用户在oracle里设置的。 比如: 表名a 字段id, name 设置id的序列名为a_id。 insert语句: `insert into a (id,name) values (a_id.nextval,"张三")`

duplicated with #1039

duplicated with #1039
lunny closed this issue 2020-03-03 12:57:11 +00:00
lunny removed this from the 1.1.1 milestone 2020-03-03 12:57:21 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#538
No description provided.