feat: improve generate sql template

This commit is contained in:
ulleo
2025-10-22 16:00:02 +08:00
committed by ulleo
parent caa38bfb20
commit e8bdb72a4e
11 changed files with 13 additions and 11 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ template:
limit_rule: |
<rule>
使用 ROWNUM 或 FETCH FIRST 限制行数(Oracle 12c+)
当需要限制行数时:
1. 12c以下版本必须使用ROWNUM语法
2. 12c+版本推荐使用FETCH FIRST语法
<note>
1. 传统写法:WHERE ROWNUM <= 100
2. 现代写法:FETCH FIRST 100 ROWS ONLY