Issue Details (XML | Word | Printable)

Key: DDLUTILS-53
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Thomas Dudziak
Reporter: Konstantinos Stathatos
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
DdlUtils

Incorrect syntax for modifying columns in Derby

Created: 17/Dec/05 08:52 AM   Updated: 04/Jun/07 02:34 AM
Return to search
Component/s: Core - Derby/Cloudscape/JavaDB
Affects Version/s: None
Fix Version/s: 1.0 RC1

Time Tracking:
Not Specified

Resolution Date: 13/Jul/06 01:21 PM


 Description  « Hide
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;

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.