diff --git a/Src/Asp.NetCore2/SqlSugar.HanaConnector/SqlSugar.HanaConnector/HANA/SqlBuilder/HANAQueryBuilder.cs b/Src/Asp.NetCore2/SqlSugar.HanaConnector/SqlSugar.HanaConnector/HANA/SqlBuilder/HANAQueryBuilder.cs index fa7af7190..bbc04019a 100644 --- a/Src/Asp.NetCore2/SqlSugar.HanaConnector/SqlSugar.HanaConnector/HANA/SqlBuilder/HANAQueryBuilder.cs +++ b/Src/Asp.NetCore2/SqlSugar.HanaConnector/SqlSugar.HanaConnector/HANA/SqlBuilder/HANAQueryBuilder.cs @@ -14,7 +14,7 @@ namespace SqlSugar.HANAConnector /* SELECT * FROM TABLE WHERE CONDITION ORDER BY ID DESC LIMIT 0,10 */ - var template = "SELECT {0} FROM {1} {2} {3} {4} LIMIT {5},{6}"; + var template = "SELECT {0} FROM {1} {2} {3} {4} LIMIT {6} OFFSET {5}"; return template; } }