Re: Autoincrement on secondary key not working
I dropped and recreated the auto_increment column and got the desired results.
ALTER TABLE processitem DROP PRIMARY KEY;
ALTER TABLE processitem DROP COLUMN pr_row;
ALTER TABLE processitem
ADD COLUMN pr_row INT AUTO_INCREMENT,
ADD PRIMARY KEY (pr_process_no,pr_row);
Subject
Written By
Posted
Re: Autoincrement on secondary key not working
May 02, 2005 06:41AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.