Home > Backend Development > PHP Tutorial > PHP tutorial commonly used ODBC function set

PHP tutorial commonly used ODBC function set

黄舟
Release: 2023-03-03 14:22:02
Original
1546 people have browsed it

ODBC connection function
odbc_connect function: Open an ODBC connection
odbc_close function: Close an already open ODBC connection
odbc_close_all function: Close all open ODBC connections
odbc_pconnect function: Open a continuously valid ODBC connection

ODBC operation Class function
odbc_commit function: Update all pending operations
odbc_do function: Execute a SQL statement on an open ODBC connection
odbc_exec function: Execute a SQL statement
odbc_execute function: Execute a preset SQL statement
odbc_free_result function: Release Memory occupied by returning data
odbc_prepare function: Preparing the execution of SQL statements
odbc_rollback function: Undoing all pending operations

ODBC information acquisition class function
odbc_columnprivileges function: Listing the columns and related columns of a given table Permissions
odbc_columns function: List the names of the columns of the specified table
odbc_cursor function: Get the name of the cursor
odbc_data_source function: Return information about connecting to the database
odbc_error function: Get the last error code
odbc_errormsg function: Get the last error information
odbc_fetch_array Function: Get the result set array
odbc_fetch_into function: Get the specified column returned
odbc_fetch_object function: Return the result set to the object
odbc_fetch_row function: Get the returned column
odbc_field_len function: Get the length of the field
odbc_field_name function: Get the name of the field
odbc_field_num function: Get the serial number of the field
odbc_field_precision function: Get the length of the field
odbc_field_scale function: Get the floating point number of the field
odbc_field_type function: Get the data type of the field
odbc_foreignkeys function: Return the foreign key of a specific table
odbc_gettypeinfo function: Return to the database Type information
odbc_longreadlen function: Set the maximum value of the returned column
odbc_num_fields function: Get the number of fields
odbc_num_rows function: Get the number of columns returned
odbc_primarykeys function: Return the name of the column as the primary key of the table
odbc_procedurecolumns function: Return to retrieve Parameter information of the process
odbc_procedures function: Get process information that exists in a specific data source
odbc_result_all function: Return HTML table information
odbc_result function: Get result data
odbc_specialcolumns function: Return a table that can be automatically updated when transmitting updates Column
odbc_statistics function: Get the status of the table and its index
odbc_tableprivileges function: List the tables and the permissions associated with each table
odbc_tables function: Get the name of the table on a specific database
odbc_autocommit function: Turn on or off automatic updates
odbc_binmode function : Set the binary data processing method
odbc_next_result function: Check whether the next result set is available
odbc_setoption function: Adjust the ODBC settings

The above is the content of the commonly used ODBC function set in the PHP tutorial. For more related articles, please pay attention to the PHP Chinese website (m.sbmmt.com)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template