Opened 8 years ago
Closed 8 years ago
#27789 closed Cleanup/optimization (fixed)
Simplified get sequence value on Oracle.
Reported by: | Mariusz Felisiak | Owned by: | Mariusz Felisiak |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
I propose to use explicit
seq_value := sequence.nextval;
instead of
SELECT sequence.nextval INTO seq_value FROM dual
It is valid since Oracle 11g.
Note:
See TracTickets
for help on using tickets.
PR