db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6644) Support standard syntax for altering column nullability
Date Thu, 03 Jul 2014 07:49:24 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051153#comment-14051153
] 

ASF subversion and git services commented on DERBY-6644:
--------------------------------------------------------

Commit 1607559 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1607559 ]

DERBY-6644: Support standard syntax for altering column nullability

Implement SQL:2011 syntax for altering nullability:

  ALTER TABLE t ALTER COLUMN c SET NOT NULL
  ALTER TABLE t ALTER COLUMN c DROP NOT NULL

> Support standard syntax for altering column nullability
> -------------------------------------------------------
>
>                 Key: DERBY-6644
>                 URL: https://issues.apache.org/jira/browse/DERBY-6644
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d6644-1a.diff
>
>
> Derby supports altering the nullability of a column via an ALTER TABLE statement, but
the supported syntax is different from what the SQL:2011 standard defines. We should add support
for the standard syntax as well.
> The standard syntax is
>   ALTER TABLE t ALTER COLUMN c SET NOT NULL
>   ALTER TABLE t ALTER COLUMN c DROP NOT NULL



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message