云数据库 GAUSSDB-FETCH:语法格式

时间:2024-11-13 14:46:33

语法格式

FETCH [ direction { FROM | IN } ] cursor_name;

其中direction子句为可选参数。

NEXT
   | PRIOR
   | FIRST
   | LAST
   | ABSOLUTE count
   | RELATIVE count
   | count
   | ALL
   | FORWARD
   | FORWARD count
   | FORWARD ALL
   | BACKWARD
   | BACKWARD count
   | BACKWARD ALL
support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-0645.html