SQL Language (MOSC)

MOSC Banner

ADD IDENTITY to existing Column in 12c

edited Jul 4, 2013 8:57AM in SQL Language (MOSC) 13 commentsAnswered ✓
Hi,
i would like to add the identity property to an existing column. Oracle Doc says: ok, but look

CREATE TABLE scott.t (id NUMBER,text VARCHAR2(10));
ALTER TABLE scott.T MODIFY (ID  NUMBER GENERATED AS IDENTITY );
ORA-30673: Zu ändernde Spalte ist keine Identity-Spalte => modified column is not a identity column

Is this a Documentation Bug ?

Thanks
Marco



Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center