-
Which of the following returns an SQLSTATE code?
-
- mysql_close()
- mysql_error()
- mysql_errno()
- mysql_sqlstate()
- None of these
Correct Option: D
The MySQL API call named ‘mysql_sqlstate()’ returns an SQLSTATE code. This SQLSTATE value is more ‘vendor neutral’ because it is based on the ‘ANSI SQL’ and ‘ODBC’ standards.