Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.4.2.0
-
Normal
Description
ALTER TABLE .. ADD COLUMN cannot be used to add an identity column. There is code to handle identity columns, but it is disabled in the parser. See this thread on derby-user:
http://mail-archives.apache.org/mod_mbox/db-derby-user/200708.mbox/%3C46C5DAA9.8080507@sbcglobal.net%3E
The code was disabled for DB2 compatibility. Since DB2 compatibility is not a goal for Derby, we should see if we could re-enable it.
Attachments
Attachments
Issue Links
- is related to
-
DERBY-6284 Improve test coverage of org.apache.derby.iapi.db.ConnectionInfo
- Closed
-
DERBY-6578 Assert failure when retrying failed ADD COLUMN statement
- Open
- relates to
-
DERBY-6414 Incorrect handling when using an UPDATE to SET an identity column to DEFAULT
- Closed
-
DERBY-6542 Improve the concurrency of identity columns by using SYS.SYSSEQUENCES
- Closed