Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB6D411891 for ; Thu, 3 Jul 2014 07:51:24 +0000 (UTC) Received: (qmail 97018 invoked by uid 500); 3 Jul 2014 07:51:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96985 invoked by uid 500); 3 Jul 2014 07:51:24 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 96973 invoked by uid 99); 3 Jul 2014 07:51:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 07:51:24 +0000 Date: Thu, 3 Jul 2014 07:51:24 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DERBY-6644) Support standard syntax for altering column nullability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen resolved DERBY-6644. --------------------------------------- Resolution: Fixed Fix Version/s: 10.11.0.0 Issue & fix info: (was: Patch Available) Thanks, Dag. I've committed the patch to trunk. Resolving the issue. > 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 > Fix For: 10.11.0.0 > > 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)