XCIII. ODBC and DB2 functions (PDO_ODBC)
PDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to databases through ODBC drivers or through the IBM DB2 Call Level Interface (DB2 CLI) library.
On Windows, PDO_ODBC is built into the PHP core by default. It is linked against the Windows ODBC Driver Manager so that PHP can connect to any database cataloged as a System DSN, and is the recommended driver for connecting to Microsoft SQL Server databases.
这些函数的行为受 php.ini 的影响。
有关 PHP_INI_* 常量进一步的细节与定义参见附录 G。
表格 1. PDO_ODBC Configuration Options
add a note User Contributed Notes
There are no user contributed notes for this page.