You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Konstantinos Stathatos (JIRA)" <ji...@apache.org> on 2005/12/17 00:52:35 UTC
[jira] Created: (DDLUTILS-53) Incorrect syntax for modifying columns in Derby
Incorrect syntax for modifying columns in Derby
-----------------------------------------------
Key: DDLUTILS-53
URL: http://issues.apache.org/jira/browse/DDLUTILS-53
Project: DdlUtils
Type: Bug
Reporter: Konstantinos Stathatos
Assigned to: Thomas Dudziak
The SQL DdlUtils generates for modifying a column in Derby 10.1 seems incorrect. specifically it cxreates statements like
ALTER TABLE "coltype"
MODIFY "COL_FLOAT" DOUBLE PRECISION;
According to the documentation the correct syntax would have to be
ALTER TABLE "coltype"
ALTER "COL_FLOAT" SET DATA TYPE DOUBLE PRECISION;
--
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
[jira] Resolved: (DDLUTILS-53) Incorrect syntax for modifying
columns in Derby
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DDLUTILS-53?page=all ]
Thomas Dudziak resolved DDLUTILS-53:
------------------------------------
Resolution: Fixed
Since the modification of column data types is quite limited in Derby, it is no longer used. Rather the table will be rebuild now
> Incorrect syntax for modifying columns in Derby
> -----------------------------------------------
>
> Key: DDLUTILS-53
> URL: http://issues.apache.org/jira/browse/DDLUTILS-53
> Project: DdlUtils
> Type: Bug
> Reporter: Konstantinos Stathatos
> Assignee: Thomas Dudziak
>
> The SQL DdlUtils generates for modifying a column in Derby 10.1 seems incorrect. specifically it cxreates statements like
> ALTER TABLE "coltype"
> MODIFY "COL_FLOAT" DOUBLE PRECISION;
> According to the documentation the correct syntax would have to be
> ALTER TABLE "coltype"
> ALTER "COL_FLOAT" SET DATA TYPE DOUBLE PRECISION;
--
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
[jira] Updated: (DDLUTILS-53) Incorrect syntax for modifying
columns in Derby
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DDLUTILS-53?page=all ]
Thomas Dudziak updated DDLUTILS-53:
-----------------------------------
Component: Core - Derby/Cloudscape/JavaDB
> Incorrect syntax for modifying columns in Derby
> -----------------------------------------------
>
> Key: DDLUTILS-53
> URL: http://issues.apache.org/jira/browse/DDLUTILS-53
> Project: DdlUtils
> Type: Bug
> Components: Core - Derby/Cloudscape/JavaDB
> Reporter: Konstantinos Stathatos
> Assignee: Thomas Dudziak
>
> The SQL DdlUtils generates for modifying a column in Derby 10.1 seems incorrect. specifically it cxreates statements like
> ALTER TABLE "coltype"
> MODIFY "COL_FLOAT" DOUBLE PRECISION;
> According to the documentation the correct syntax would have to be
> ALTER TABLE "coltype"
> ALTER "COL_FLOAT" SET DATA TYPE DOUBLE PRECISION;
--
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