I am getting the following exceptions
1)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "INDEX" "INDEX "" at line 1, column 34.
2)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "ON" "ON "" at line 1, column 25.
and many more
For the following queries :
1)ALTER TABLE XXX DROP INDEX ABC
2)DROP INDEX [idx] ON ABC;
I am using jsqlparser version:1.0
Help Plz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting the following exceptions
1)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "INDEX" "INDEX "" at line 1, column 34.
2)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "ON" "ON "" at line 1, column 25.
and many more
For the following queries :
1)ALTER TABLE XXX DROP INDEX ABC
2)DROP INDEX [idx] ON ABC;
I am using jsqlparser version:1.0
Help Plz
alter table/drop index are not managed yet...
Thanx Leonardo Francalanci
Can you please suggest me any other option for this? Because my task is to check whether the statement is DDL or DML.