odbc_close

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_closeClose an ODBC connection

说明

odbc_close(resource $odbc): void

Closes down the connection to the database server.

参数

odbc

ODBC 连接标识符,详见 odbc_connect()

返回值

没有返回值。

注释

注意:

This function will fail if there are open transactions on this connection. The connection will remain open in this case.

7i24.Com