You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bernt M. Johnsen (JIRA)" <de...@db.apache.org> on 2005/05/03 21:03:05 UTC
[jira] Closed: (DERBY-158) PRIMARY KEY does not imply NOT NULL
[ 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