This program performs the same actions as the embedded SQL dynamic cursor example program that is in the same directory.
Dieses Programm führt dieselben Aktionen aus wie das Beispielprogramm für einen dynamischen Cursor in Embedded SQL, das sich im gleichen Verzeichnis befindet.
For example, embedded SQL SCROLL cursors now disallow prefetching, so that value changes are reflected in the cursor.
Embedded SQL use A DECLARE CURSOR statement must appear before the FETCH statement in the C source code, and the OPEN statement must be executed before the FETCH statement.
Eine DECLARE CURSOR-Anweisung muss vor der FETCH-Anweisung im C-Quellcode erscheinen, und die OPEN-Anweisung muss vor der FETCH-Anweisung ausgeführt werden.
Example The following examples close cursors in embedded SQL.
Beispiel Die folgenden Beispiele schließen Cursor in Embedded SQL.
Block cursors behave identically to embedded SQL ARRAY fetches.
Block-Cursor verhalten sich genauso wie Embedded SQL ARRAY-Abrufe.
By default, cursors in embedded SQL close at the end of a transaction.
Standardmäßig werden Cursor in Embedded SQL am Ende einer Transaktion geschlossen.
The following example illustrates how to declare a scroll cursor in embedded SQL
Das folgende Beispiel veranschaulicht, wie ein Scroll-Cursor in Embedded SQL deklariert wird
See Using cursors in embedded SQL.
Weitere Hinweise finden Sie unter Cursor in Embedded SQL verwenden.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.