The SQLSTATE code identifies the type of error that has occurred; it can be used by front-end applications to perform specific operations (such as error handling) in response to a particular database error.
Der SQLSTATE-Code identifiziert den Typ des aufgetretenen Fehlers. Dieser kann von Anwendungen ausgewertet werden, um entsprechende Operationen auszuführen (beispielsweise Fehlerbehandlungsroutinen), als Reaktion auf einen bestimmten Datenbankfehler.
Returns a string of five characters containing the current SQLSTATE code.
returns a null-terminated string containing the SQLSTATE error code for the most recently invoked prepared statement API function that can succeed or fail.
einen auf null endenden String mit dem SQLSTATE-Fehlercode für die zuletzt aufgerufene Funktion der API für vorbereitete Anweisungen, die Erfolg haben oder scheitern kann.
PDO standardizes on using SQL-92 SQLSTATE error code strings; individual PDO drivers are responsible for mapping their native codes to the appropriate SQLSTATE codes.
Note that not all MySQL errors are yet mapped to SQLSTATE codes.
Beachten Sie, dass noch nicht alle MySQL-Fehler SQLSTATE-Codes zugeordnet sind.
Each SQLSTATE code is the concatenation of a 2-character class and a 3-character subclass.
Jeder SQLSTATE-Code ist die Verkettung einer 2-Zeichen-Klasse und einer 3-Zeichen-Unterklasse.
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.