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 "Jeremy Boynes (JIRA)" <de...@db.apache.org> on 2005/03/05 05:34:48 UTC

[jira] Assigned: (DERBY-158) PRIMARY KEY does not imply NOT NULL

     [ http://issues.apache.org/jira/browse/DERBY-158?page=history ]

Jeremy Boynes reassigned DERBY-158:
-----------------------------------

    Assign To: Jeremy Boynes

> 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

>
> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira