[MDEV-24525] sql_mode="oracle" does not support "rowid" pseudo column Created: 2021-01-05 Updated: 2021-01-05 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | woqutech.com | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||
| Description |
|
Each row of data in oracle database has a unique identifier(or rowid), which is usually used to access the data inside the oracle. Rowid requires 10 bytes of storage space and uses 18 characters to display. This value indicates the physical location of the row in the oracle database. You can use rowid in a query to indicate that the value is included in the query result. It takes 10 bytes or 80 binary bits to save the rowid. The 80 binary bits are:
Oracle's physical extension ROWID has 18 bits, and each bit is coded with 64 bits, which are represented by 64 characters A~Z, a~z, 0~9, +, /. A means 0, B means 1,...Z means 25, a means 26,...z means 51, 0 means 52,..., 9 means 61, + means 62, and / means 63.
Through the dbms_rowid package, you can directly get the information contained in the specific rowid:
|
| Comments |
| Comment by woqutech.com [ 2021-01-05 ] |
|
Some key information for implement, please check it and give some suggestion:
|
| Comment by Michael Widenius [ 2021-01-05 ] |
|
How is ROWID used in the applications you are looking at? |
| Comment by woqutech.com [ 2021-01-05 ] |
|
The table definition on oracle is ``` and the select and delete is ``` In this case,
|