Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
PDO::errorCode
PDO::errorCode
Gets the SQLSTATE associated with the last operation on the database handle
Name:
PDO::errorCode
Category:
PDO
Programming Language:
php
One-line Description:
Gets the SQLSTATE associated with the last operation on the database handle
Related
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error
8
Database Connection Issues? Practical Tips to Check Exceptions Using PDO::errorCode
7
Similar Functions
PDOStatement::getAttribute
PDOStatement::getAttribute
Searchstatementprope
PDOStatement::debugDumpParams
PDOStatement::debugDumpParams
PrintaSQLpreprocessi
PDOStatement::getColumnMeta
PDOStatement::getColumnMeta
Returnsmetadatainthe
PDO::errorCode
PDO::errorCode
GetstheSQLSTATEassoc
PDOStatement::setFetchMode
PDOStatement::setFetchMode
Setthedefaultacquisi
PDO::__ construct
PDO::__ construct
CreateaPDOinstanceth
PDOStatement::fetchColumn
PDOStatement::fetchColumn
Returnaseparatecolum
PDOStatement::fetchAll
PDOStatement::fetchAll
Returnsanarraycontai
Popular Articles
Database Connection Issues? Practical Tips to Check Exceptions Using PDO::errorCode
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error