ORA-01758 When Adding IDENTITY Column Creates Anyway A System Generated Sequence
Last updated on DECEMBER 06, 2016
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
On 18.104.22.168 database version.
When attempting to add IDENTITY column to a table with data, the following error occurs and the sequence is created anyway.
Steps to reproduce:
The issue can be reproduced at will with the following steps:
1. create a table
2. populate the table with data
3. add the identity primary key column
Due to this issue, users cannot create an identity columns on existing tables with data in it.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms