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.

參數(shù)

odbc

ODBC 連接標識符,詳見 odbc_connect()

返回值

沒有返回值。

注釋

注意:

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