使用工具sql都能正常执行
Sql db2Sql=Sqls.create("SELECT concat(rtrim(char(year(current date))),"
+ "concat(substr( digits(month(current date)),9),substr(digits(day(current date)),9))) AS date,"
+ "NEXTVAL FOR RECORDNOSEQ AS num FROM sysibm.sysdummy1");
db2Sql.setCallback(Sqls.callback.record());
dao().execute(db2Sql);
com.alibaba.druid.sql.parser.ParserException: ERROR. token : CONCAT, pos : 13