Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
检索当前的 SQLSTATE。
sqlany_sqlstate ( $conn )
$conn 从 sqlany_new_connection 返回的连接对象。
返回标量值,即当前 5 个字符的 SQLSTATE。
sql_state = api.sqlany_sqlstate( conn )