English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Tutorial básico PHP

Tutorial avançado PHP

PHP & MySQL

Manual de referência PHP

Funções ODBC no PHP

Conexão de banco de dados aberto é uma interface de programação de aplicativos (API) que permite aos programadores extrair programas do banco de dados

Lista de funções

Versão-Representa a versão mais antiga do PHP que suporta essa função.

NúmeroFunçãoDescriçãoVersão
1odbc_autocommit()Usado para alternar o comportamento de commit automático.4
2odbc_binmode()Desconectar4
3odbc_close_all()Usado para fechar todas as conexões ODBC4
4odbc_close()Usado para fechar a conexão ODBC4
5odbc_columnprivileges()Contém informações sobre a lista de colunas4
6odbc_columns()Usado para obter a lista de nomes de colunas de uma tabela específica.5
7odbc_commit()Usado para submeter transações ODBC5
8odbc_connect()Usado para conectar ao banco de dados ODBC5
9odbc_cursor()Usado para obter o cursor5
10odbc_data_source()Ele retorna informações sobre a conexão atual4.3
11odbc_error()Usado para obter o último erro4.0.5
12odbc_errormsg()It is used to obtain the last error message4
13odbc_execIt is used to prepare and execute SQL statements4
14odbc_fetch_arrayIt is used to obtain the result row as an associative array4
15odbc_fetch_intoIt is used to extract results into a row5.4
16odbc_fetch_objectIt is used to obtain the result row as an object4.0.2
17odbc_fetch_rowIt is used to obtain a row4
18odbc_field_lenIt is used to obtain the length of the file4
19odbc_filed_nameIt is used to obtain the general name4
20odbc_field_numIt is used to obtain the field number4
21odbc_field_scaleIt is used to obtain the scale of the field5.1
22odbc_field_typeIt is used to obtain information about the data type of the field5.1
23odbc_foreignkeysIt is used to retrieve the list of foreign keys5
24odbc_free_resultIt contains information about the available resources that contain the results5
25odbc_gettypeinfoIt is used to retrieve information about data types4
26odbc_loongreadlenIt is used to handle long columns4
27odbc_next_resultIt is used to check if there are multiple results4
28odbc_num_rowsIt contains information about the number of rows in the result4
29odbc_pconnectIt is an open persistent database connection4
30odbc_prepareIt is used to prepare execution statements4
31odbc_primarykeysIt is used to obtain the primary key of the table4
32odbc_procedurecolumnsIt is used to retrieve information about procedure parameters4
33odbc_proceduresIt is used to obtain the list of procedures stored in a specific data resource4
34odbc_result_allIt is used to print results as html tables4
35odbc_resultIt is used to print results as html tables4
36odbc_rollbackIt is used to roll back transactions4
37odbc_setoptionIt is used to adjust odbc settings4
38odbc_specialcolumnsIt is used to retrieve special columns4
39odbc_statisticsIt is used to retrieve static information about tables4
40odbc_tableprivilegesIt is used to list tables and the permissions associated with each table4
41odbc_tablesIt is used to obtain the list of tables stored in the data source4