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.
The cursor is positioned before the first row (see Using cursors in embedded SQL or Using cursors in procedures and triggers).
Der Cursor wird vor der ersten Zeile positioniert (siehe Using cursors in embedded SQL oder Using cursors in procedures and triggers).
The following examples close cursors in embedded SQL.
Die folgenden Beispiele schließen Cursor in Embedded SQL.
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
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.