比如说
OracleStatementParser oracleStatementParser = new OracleStatementParser(sql);
List statementList = oracleStatementParser.parseStatementList();
OracleSchemaStatVisitor visitor = new OracleSchemaStatVisitor();
visitor 如何转成Mysql的一段(新)sql?
@wenshao
谢谢!
2条答案
按热度按时间mf98qq941#
stmt.toString()
rjjhvcjd2#
com.alibaba.druid.sql.SQLUtils#toSQLString(java.util.List<com.alibaba.fastsql.sql.ast.SQLStatement>, com.alibaba.fastsql.DbType)