« PECL/mysqlnd_memcache 1.0 series
简介 »
PHP Manual
针对各数据库系统对应的扩展
Oracle OCI8
Oracle OCI8
简介
安装/配置
需求
安装
Testing
运行时配置
预定义常量
范例
OCI8 Connection Handling and Connection Pooling
OCI8 Fast Application Notification (FAN) Support
OCI8 Transparent Application Failover (TAF) Support
OCI8 and DTrace Dynamic Tracing
Supported Datatypes
OCI8 函数
oci_bind_array_by_name
— Binds a PHP array to an Oracle PL/SQL array parameter
oci_bind_by_name
— 绑定一个 PHP 变量到一个 Oracle 位置标志符
oci_cancel
— 中断游标读取数据
oci_client_version
— Returns the Oracle client library version
oci_close
— 关闭 Oracle 连接
oci_commit
— 提交未执行的事务处理
oci_connect
— 建立一个到 Oracle 服务器的连接
oci_define_by_name
— 在 SELECT 中使用 PHP 变量作为定义的步骤
oci_error
— 返回上一个错误
oci_execute
— 执行一条语句
oci_fetch_all
— 获取结果数据的所有行到一个数组
oci_fetch_array
— Returns the next row from a query as an associative or numeric array
oci_fetch_assoc
— Returns the next row from a query as an associative array
oci_fetch_object
— Returns the next row from a query as an object
oci_fetch_row
— Returns the next row from a query as a numeric array
oci_fetch
— Fetches the next row into result-buffer
oci_field_is_null
— 检查字段是否为 NULL
oci_field_name
— 返回字段名
oci_field_precision
— 返回字段精度
oci_field_scale
— 返回字段范围
oci_field_size
— 返回字段大小
oci_field_type_raw
— 返回字段的原始 Oracle 数据类型
oci_field_type
— 返回字段的数据类型
oci_free_descriptor
— Frees a descriptor
oci_free_statement
— 释放关联于语句或游标的所有资源
oci_get_implicit_resultset
— Returns the next child statement resource from a parent statement resource that has Oracle Database 12c Implicit Result Sets
oci_internal_debug
— 打开或关闭内部调试输出
oci_lob_copy
— Copies large object
oci_lob_is_equal
— Compares two LOB/FILE locators for equality
oci_new_collection
— 分配新的 collection 对象
oci_new_connect
— 建定一个到 Oracle 服务器的新连接
oci_new_cursor
— 分配并返回一个新的游标(语句句柄)
oci_new_descriptor
— 初始化一个新的空 LOB 或 FILE 描述符
oci_num_fields
— 返回结果列的数目
oci_num_rows
— 返回语句执行后受影响的行数
oci_parse
— 配置 Oracle 语句预备执行
oci_password_change
— 修改 Oracle 用户的密码
oci_pconnect
— 使用一个持久连接连到 Oracle 数据库
oci_register_taf_callback
— Register a user-defined callback function for Oracle Database TAF
oci_result
— 返回所取得行中字段的值
oci_rollback
— 回滚未提交的事务
oci_server_version
— 返回服务器版本信息
oci_set_action
— Sets the action name
oci_set_call_timeout
— Sets a millisecond timeout for database calls
oci_set_client_identifier
— Sets the client identifier
oci_set_client_info
— Sets the client information
oci_set_db_operation
— Sets the database operation
oci_set_edition
— Sets the database edition
oci_set_module_name
— Sets the module name
oci_set_prefetch
— 设置预提取行数
oci_statement_type
— 返回 OCI 语句的类型
oci_unregister_taf_callback
— Unregister a user-defined callback function for Oracle Database TAF
OCI-Collection
— The OCI-Collection class
OCI-Collection::append
— Appends element to the collection
OCI-Collection::assign
— Assigns a value to the collection from another existing collection
OCI-Collection::assignElem
— Assigns a value to the element of the collection
OCI-Collection::free
— Frees the resources associated with the collection object
OCI-Collection::getElem
— Returns value of the element
OCI-Collection::max
— Returns the maximum number of elements in the collection
OCI-Collection::size
— Returns size of the collection
OCI-Collection::trim
— Trims elements from the end of the collection
OCI-Lob
— The OCI-Lob class
OCI-Lob::append
— Appends data from the large object to another large object
OCI-Lob::close
— Closes LOB descriptor
OCI-Lob::eof
— Tests for end-of-file on a large object's descriptor
OCI-Lob::erase
— Erases a specified portion of the internal LOB data
OCI-Lob::export
— Exports LOB's contents to a file
OCI-Lob::flush
— Flushes/writes buffer of the LOB to the server
OCI-Lob::free
— Frees resources associated with the LOB descriptor
OCI-Lob::getBuffering
— Returns current state of buffering for the large object
OCI-Lob::import
— Imports file data to the LOB
OCI-Lob::load
— Returns large object's contents
OCI-Lob::read
— Reads part of the large object
OCI-Lob::rewind
— Moves the internal pointer to the beginning of the large object
OCI-Lob::save
— Saves data to the large object
OCI-Lob::saveFile
— 别名 OCI-Lob::import
OCI-Lob::seek
— Sets the internal pointer of the large object
OCI-Lob::setBuffering
— Changes current state of buffering for the large object
OCI-Lob::size
— Returns size of large object
OCI-Lob::tell
— Returns the current position of internal pointer of large object
OCI-Lob::truncate
— Truncates large object
OCI-Lob::write
— Writes data to the large object
OCI-Lob::writeTemporary
— Writes a temporary large object
OCI-Lob::writeToFile
— 别名 OCI-Lob::export
OCI8 Obsolete Aliases and Functions
ocibindbyname
— 别名 oci_bind_by_name
ocicancel
— 别名 oci_cancel
ocicloselob
— 别名 OCI-Lob::close
ocicollappend
— 别名 OCI-Collection::append
ocicollassign
— 别名 OCI-Collection::assign
ocicollassignelem
— 别名 OCI-Collection::assignElem
ocicollgetelem
— 别名 OCI-Collection::getElem
ocicollmax
— 别名 OCI-Collection::max
ocicollsize
— 别名 OCI-Collection::size
ocicolltrim
— 别名 OCI-Collection::trim
ocicolumnisnull
— 别名 oci_field_is_null
ocicolumnname
— 别名 oci_field_name
ocicolumnprecision
— 别名 oci_field_precision
ocicolumnscale
— 别名 oci_field_scale
ocicolumnsize
— 别名 oci_field_size
ocicolumntype
— 别名 oci_field_type
ocicolumntyperaw
— 别名 oci_field_type_raw
ocicommit
— 别名 oci_commit
ocidefinebyname
— 别名 oci_define_by_name
ocierror
— 别名 oci_error
ociexecute
— 别名 oci_execute
ocifetch
— 别名 oci_fetch
ocifetchinto
— Obsolete variant of oci_fetch_array, oci_fetch_object, oci_fetch_assoc and oci_fetch_row
ocifetchstatement
— 别名 oci_fetch_all
ocifreecollection
— 别名 OCI-Collection::free
ocifreecursor
— 别名 oci_free_statement
ocifreedesc
— 别名 OCI-Lob::free
ocifreestatement
— 别名 oci_free_statement
ociinternaldebug
— 别名 oci_internal_debug
ociloadlob
— 别名 OCI-Lob::load
ocilogoff
— 别名 oci_close
ocilogon
— 别名 oci_connect
ocinewcollection
— 别名 oci_new_collection
ocinewcursor
— 别名 oci_new_cursor
ocinewdescriptor
— 别名 oci_new_descriptor
ocinlogon
— 别名 oci_new_connect
ocinumcols
— 别名 oci_num_fields
ociparse
— 别名 oci_parse
ociplogon
— 别名 oci_pconnect
ociresult
— 别名 oci_result
ocirollback
— 别名 oci_rollback
ocirowcount
— 别名 oci_num_rows
ocisavelob
— 别名 OCI-Lob::save
ocisavelobfile
— 别名 OCI-Lob::import
ociserverversion
— 别名 oci_server_version
ocisetprefetch
— 别名 oci_set_prefetch
ocistatementtype
— 别名 oci_statement_type
ociwritelobtofile
— 别名 OCI-Lob::export
ociwritetemporarylob
— 别名 OCI-Lob::writeTemporary