Beispiel: Die SQLSTATE-Variable kann benutzt werden, um anzuzeigen, ob eine Zeile erfolgreich abgerufen werden konnte.
For example, the SQLSTATE variable can be used to indicate if a row is successfully fetched.
Beschreibung In einem "WHEN... DO"-Error-Handler enthält die SQLSTATE-Kontextvariable den 5 Zeichen langen, SQL-2003-konformen Statuscode, der vom Statement erzeugt wurde, das den Fehler verursacht hat.
Description In a "WHEN... DO" error handler, the SQLSTATE context variable contains the 5-character, SQL-2003-compliant status code resulting from the statement that raised the error.
Gibt eine Zeichenfolge von fünf Zeichen zurück, die den aktuellen SQLSTATE-Code enthält.
Returns a string of five characters containing the current SQLSTATE code.
Die Eigenschaften SQLState und NativeError , die Informationen über SQL-Datenquellen bereitstellen.
The SQLState and NativeError properties, which provide information from SQL data sources.
Die Spezialwerte SQLSTATE und SQLCODE werden durch die nächste SQL-Anweisung geändert.
The SQLSTATE and SQLCODE special values are modified by the next SQL statement.
Die Fehlerberichte benutzen die Statusbeschreibungen SQLCODE oder SQLSTATE.
Error reporting uses either the SQLCODE or SQLSTATE status descriptions.
Sie müssen WHEN ANY verwenden und die Variable SQLSTATE im Handler testen.
You have to use WHEN ANY and test the SQLSTATE variable within the handler.
Die Fehlermeldung, die dem SQLSTATE entspricht.
The error message corresponding to the SQLSTATE.
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.