1.

Which of the following returns an SQLSTATE code?(a) mysql_error()(b) mysql_errno()(c) mysql_sqlstate()(d) mysql_close()

Answer» Right choice is (c) mysql_sqlstate()

Best explanation: 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.


Discussion

No Comment Found