Closed
Description
SQL Example:
- Simplified Query Example, focusing on the failing feature
alter table user modify age default 0;
Software Information:
- JSqlParser version 4.5
- Database (Oracle)
CodeExample:
- Simplified Query Example, focusing on the failing feature
String sql = "alter table user modify age default 0"; Validation validation = new Validation(Arrays.asList(DatabaseType.ORACLE), sql); List<ValidationError> validate = validation.validate();
Error Message:
- Simplified Query Example, focusing on the failing feature
ValidationError [
statement=alter table user modify age default 0
capability=parsing
errors=[ParseException: Cannot parse statement: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "default" "DEFAULT"
at line 1, column 29.
Was expecting:
"COMMENT"
]
]
Metadata
Metadata
Assignees
Labels
No labels