DataEase 版本信息
社区版:
版本号:2.10.3
安装部署方式:一键安装
错误信息如下:
在navcat可以执行出结果,难道对SQL长度限制了么?去掉一部分就可以运行,这种的如何处理?
应该不是 SQL 长度的问题,可能是你那段删掉的 SQL 里有一些关键字导致的,可以把完整的 SQL 发出来看看,或者再对完整 SQL 一点点做精简,找出问题。
就是超长了,我的SQL是直接从navcat查询中复制出来的,所以错误肯定不存在,执行的时候,发现传输前端加密的长度太长了吧。LS0g5Y6f5aeL5p+l6K+iClNFTEVDVAoJc3Auc2hvcF9uYW1lIGFzICflupfpk7onLAoJU1VNKG91LuWPkei0p+aUtuWFpS10bW9uZXku6YCA6LSn5YWl5bqT6YeR6aKdKSBBUyDokKXkuJrmlLblhaUsCglvdS7lj5HotKfmlLblhaUsCglvdXR0LueJueauiuWNleaUtuWFpSwKCVNVTShvdS7lj5HotKfmlLblhaUgLSBhZi5g6YCA5qy+6YeR6aKdYCkgYXMg5YeP77ya6YCA6LSnICwKCVNVTShvdXR6Yy7mraPlk4HmiJDmnKwtcmUu6YCA6LSn5YWl5bqT5oiQ5pysKSBBUyDokKXkuJrmiJDmnKwsCglvdXR6Yy7mraPlk4HmiJDmnKwsCglvdXR6cC7otaDlk4HmiJDmnKwsCgl0Y29zdC5g5YeP77ya6YCA6LSn5oiQ5pysYCwKCVNVTShvdS7lj5HotKfmlLblhaUgLSB0bW9uZXku6YCA6LSn5YWl5bqT6YeR6aKdKSAtIFNVTShvdXR6Yy7mraPlk4HmiJDmnKwgLSByZS7pgIDotKflhaXlupPmiJDmnKwpIEFTIOaAu+avm+WIqSwKCVJPVU5EKCgoU1VNKG91LuWPkei0p+aUtuWFpSAtIHRtb25leS7pgIDotKflhaXlupPph5Hpop0pIC0gU1VNKG91dHpjLuato+WTgeaIkOacrCAtIHJlLumAgOi0p+WFpeW6k+aIkOacrCkpIC8gU1VNKG91LuWPkei0p+aUtuWFpSAtIHRtb25leS7pgIDotKflhaXlupPph5Hpop0pKSAqIDEwMCwgMikgQVMg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EIFNUQVRVUyA9ICc4MCcgCgkJQU5EIGNoZWNrX3RpbWUgPj0gVU5JWF9USU1FU1RBTVAoICcyMDI0LTExLTAxIDAwOjAwOjAwJyApICogMTAwMCAKCQlBTkQgY2hlY2tfdGltZSA8PSBVTklYX1RJTUVTVEFNUCggJzIwMjQtMTEtMzAgMjM6NTk6NTknICkgKiAxMDAwIAoJCUFORCBwcm9jZXNzX3N0YXR1cyA9ICc5MCcgCglHUk9VUCBCWQoJCXNob3Bfbm8sCgkJc2hvcF9uYW1lCgopIEFTIHRjb3N0IE9OIHNwLnNob3Bfbm8gPSB0Y29zdC5zaG9wX25vCgotLSDljp/lp4vpgIDmrL7ljZXpgIDmrL7ph5Hpop0KTEVGVCBKT0lOICgKCVNFTEVDVAoJCXNob3Bfbm8sCgkJU1VNKCBhY3R1YWxfcmVmdW5kX2Ftb3VudCApIEFTIOmAgOasvumHkeminQoJRlJPTQoJCWFmdGVyc2FsZXNfcmVmdW5kX29yZGVyIAoJV0hFUkUKLS0gCQlOT1QgRVhJU1RTICggU0VMRUNUIDEgRlJPTSByZXR1cm5fZGV0YWlsc19saXN0IHJkbCBXSEVSRSByZGwuc3RvY2tpbl9pZCA9IHJvLnN0b2NraW5faWQgQU5EIHJkbC5zcGVjX25vID0gJzIwMTAwNjU2MDAwMzcnICkgCgkJc3RhdHVzCSA9ICc1JyAKCQlBTkQgbW9kaWZpZWQgPj0gJzIwMjQtMTEtMDEgMDA6MDA6MDAnCgkJQU5EIG1vZGlmaWVkIDw9ICcyMDI0LTExLTMwIDIzOjU5OjU5JwoJR1JPVVAgQlkKCQlzaG9wX25vLAoJCXNob3BfbmFtZQoKKSBBUyBhZiBPTiBzcC5zaG9wX25vID0gYWYuc2hvcF9ubwoKR1JPVVAgQlkKc3AuaWQKT1JERVIgQlkKYWYuYOmAgOasvumHkeminWAgREVTQwoK
sql 解码出来看是完整的,这个没有问题,我看你这里面挺多注释的,你先将注释都去掉试试呢,如果注释都去掉还不行,就按我上面说的一点点的删除看看。
DataEase 的 SQL 校验会更加严格一些,所以确实会有类似的情况发生。
哈哈哈,和我想法一致,我也以为是注释的问题,但是不是的,就是超出了,删除掉一部分后,执行就可以
这个应该如何解决呢·~~~超出的问题,目前卡在这解决不了
就是SQL太长吗
应该跟长度没关系的,比这长的多的 sql 也可以加进去,可能是你删除掉的内容里有不兼容的地方。