[ http://issues.apache.org/jira/browse/DERBY-158?page=all ] Bernt M. Johnsen closed DERBY-158: ----------------------------------
> PRIMARY KEY does not imply NOT NULL > ----------------------------------- > > Key: DERBY-158 > URL: http://issues.apache.org/jira/browse/DERBY-158 > Project: Derby > Type: Bug > Components: SQL > Reporter: Bernt M. Johnsen > Assignee: Jeremy Boynes > Priority: Minor > Fix For: 10.1.0.0 > Attachments: derby-158-1.patch, derby-158-2.patch > > PRIMARY KEY does not imply NOT NULL. Derby issues error message: > ij> create table tab (i integer primary key); > ERROR 42831: 'I' cannot be a column of a primary key or unique key because it > can contain null values. > This is neither compliant with SQL-92 nor with SQL-99 (Feature E141-08, I > think). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
