位置: 编程技术 - 正文

PHP:oci_fetch_row()的用法_Oracle函数

编辑:rootadmin
oci_fetch_row

推荐整理分享PHP:oci_fetch_row()的用法_Oracle函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 5, PECL OCI8 >= 1.1.0)

oci_fetch_row — Returns the next row from a query as a numeric array

说明 array oci_fetch_row ( resource $statement )

Returns a numerically indexed array containing the next result-set row of a query. Each array entry corresponds to a column of the row. This function is typically called in a loop until it returns FALSE, indicating no more rows exist.

Calling oci_fetch_row() is identical to calling oci_fetch_array() with OCI_NUM + OCI_RETURN_NULLS.

参数

statement PHP:oci_fetch_row()的用法_Oracle函数

有效的 OCI8 报表标识符由 oci_parse() 创建,被 oci_execute()或 REF CURSOR statement 标识执行。

返回值

Returns a numerically indexed array. If there are no more rows in the statement then FALSE is returned.

范例

Example #1 oci_fetch_row() Example

<?php$conn=oci_connect('hr','welcome','localhost/XE');if(!$conn){$e=oci_error();trigger_error(htmlentities($e['message'],ENT_QUOTES),E_USER_ERROR);}$stid=oci_parse($conn,'SELECTdepartment_id,department_nameFROMdepartments');oci_execute($stid);while(($row=oci_fetch_row($stid))!=false){echo$row[0]."".$row[1]."<br>n";}oci_free_statement($stid);oci_close($conn);?>

注释

Note:

See oci_fetch_array() for more examples of fetching rows.

参见

oci_fetch() - Fetches the next row into result-buffer 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

PHP:oci_fetch_assoc()的用法_Oracle函数 oci_fetch_assoc(PHP5,PECLOCI8=1.1.0)oci_fetch_assocReturnsthenextrowfromaqueryasanassociativearray说明arrayoci_fetch_assoc(resource$statement)Returnsanassociativearraycontainingthenextresult-setrowo

PHP:oci_close()的用法_Oracle函数 oci_close(PHP5,PECLOCI8=1.1.0)oci_close关闭Oracle连接说明booloci_close(resource$connection)oci_close()将Oracle连接connection关闭。Note:自版本1.1起oci_close()正确关闭Oracle连接。

PHP:oci_commit()的用法_Oracle函数 oci_commit(PHP5,PECLOCI8=1.1.0)oci_commit提交未执行的事务处理说明booloci_commit(resource$connection)oci_commit()将Oracle连接connection上正在运行的事务中所有未执行的语句

标签: PHP:oci_fetch_row()的用法_Oracle函数

本文链接地址:https://www.jiuchutong.com/biancheng/281111.html 转载请保留说明!

上一篇:PHP:oci_fetch_object()的用法_Oracle函数

下一篇:PHP:oci_fetch_assoc()的用法_Oracle函数

  • 工资薪金所得和劳务报酬所得的区别
  • 融资利息进项税如何抵扣
  • 子公司之间资产划拨会计处理
  • 没有签订购销合同的协议
  • 机票抵进项税税率
  • 结转城建税和教育费附加
  • 营改增后计税依据
  • 购进货物进项不予抵扣
  • 递延收益是什么科目应该怎么处理
  • 车间停产期间设施有哪些
  • 生育津贴缴纳
  • 金三地税系统如何安装客户端插件?
  • 年终奖扣税和工资扣税
  • 采购材料差旅费怎么入账
  • 发票显示上传失败
  • 应付账款对账的流程和技巧
  • 怎样冲回多提应付职工薪酬?
  • 生产设备软件服务有哪些
  • 销售商品分期收款,减免一部分货款怎么做账
  • 如何在电脑管家下载软件
  • 招待客户住宿费用计入什么科目
  • 未知格式或损坏文件怎么办
  • 企业备用金预借多久到账
  • un system
  • 城建税征税范围广吗
  • 进货后退货的会计处理
  • 购买二手商住房没有给契税发票和购房发票
  • 稽查查补税款会计分录
  • 银行存款日记账对方科目写什么
  • 公司注销后虚开能查吗
  • 百度飞桨paddle
  • phpcgi远程代码执行漏洞
  • 免费设备投放项目
  • 医院会计制度与实务
  • php数据库编程
  • php取值
  • 微信小程序开发平台
  • HttpServletRequest 获取参数
  • 委托开发软件的版权归委托人所有
  • 企业财政拨款所得免税吗
  • 厂家给的返点怎么下往来账
  • 餐饮行业经营模式有哪些
  • 房租押金需要缴税吗
  • 税务局报季度税
  • 母公司给子公司注资要交印花税吗
  • 普通发票的进项票怎么做分录
  • 银行 收美金
  • 未付工资挂什么科目
  • 少交税款滞纳金
  • 公司员工聚餐属于什么费用
  • 单位结算卡和回单卡
  • 购进中央空调可以抵税吗
  • 还没有开业的公司怎么样
  • Mysql使用教程
  • winsvc是什么进程
  • win2016 ntp
  • surface rt升级win10详细教程
  • ubuntu16.04英文版安装教程
  • ubuntu linux
  • linux的简单使用
  • ubuntu怎样调出命令行
  • ds是什么文件
  • mac系统教程
  • 怎么打开windows移动中心
  • 找不到config/index taro
  • win10系统自带虚拟机无法启
  • cocos2dx schedule
  • 不错的mod_perl编程的简单应用实例介绍
  • react all in js
  • shell脚本中获取参数
  • python 技巧总结
  • android studio 1.2 安装配置教程(windows平台)
  • 安卓获取手机号及通话状态权限
  • 广东省税务登记网
  • 随子女定居外省好吗
  • 12月份买的车10月打电话让我去保养
  • 怎么查询小米手机位置
  • 平板电脑购物
  • 罗湖税务局在哪
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设