Home > Back-end >  Java parse SQL statements
Java parse SQL statements

Time:12-09

String SQL="select * from (select xm, xb, nl from t_person where CSRQ between? The and? And sg & gt;=)? T where xb=? And xm=?" ;
How can I like a SQL string, parse the query field condition and field?

CodePudding user response:

C query conditions?

CodePudding user response:

reference 1/f, tianya if wind response:
c query conditions?
what do you mean?

CodePudding user response:

Baidu search Apache Calcite (Calcite), barons made good wheels

CodePudding user response:

This is the custom in, don't you know

CodePudding user response:

Only supports DML as 3rd floor says, Calcite, Shardsphere - - parser can support SQL DDL (part), DML, or want to own, use antlr4 yourself one

CodePudding user response:

If can use JSQL parsing shardingjdbc seems to use is this,
  • Related