位置: 编程技术 - 正文

PHP:oci_set_edition()的用法_Oracle函数

编辑:rootadmin
oci_set_edition

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

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

(PHP 5.3.2, PECL OCI8 >= 1.4.0)

oci_set_edition — Sets the database edition

说明 bool oci_set_edition ( string $edition )

Sets the database "edition" of objects to be used by a subsequent connections.

Oracle Editions allow concurrent versions of applications to run using the same schema and object names. This is useful for upgrading live systems.

Call oci_set_edition() before calling oci_connect(), oci_pconnect() or oci_new_connect().

If an edition is set that is not valid in the database, connection will fail even if oci_set_edition() returns success.

When using persistent connections, if a connection with the requested edition setting already exists, it is reused. Otherwise, a different persistent connection is created

参数 PHP:oci_set_edition()的用法_Oracle函数

edition

Oracle Database edition name previously created with the SQL "CREATE EDITION" command.

注释

Note: Oracle version requirement

This function is available from Oracle gR2 onwards.

Caution Persistent connections

To avoid inconsistencies and unexpected errors, do not use ALTER SESSION SET EDITION to change the edition on persistent connections.

Caution DRCP Connection Pooling

To avoid inconsistencies and unexpected errors when using editions and DRCP with Oracle .2.0.1, keep a one-to-one correspondence between the oci8.connection_class and the edition name used by applications. Each pooled server of a given connection class should only be used with one edition. This restriction has been removed with Oracle .2.0.2.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

范例

Example #1 Two scripts can use different versions of myfunc() at the same time

<?php//File1echo"Version1ofapplicationn";oci_set_edition('ORA$BASE');$c=oci_connect('hr','welcome','localhost/XE');$s=oci_parse($c,"begin:r:=myfunc();end;");oci_bind_by_name($s,":r",$r,);oci_execute($s);echo"Theresultis$rn";?><?php//File2echo"Version2ofapplicationn";oci_set_edition('E1');$c=oci_connect('hr','welcome','localhost/XE');$s=oci_parse($c,"begin:r:=myfunc();end;");oci_bind_by_name($s,":r",$r,);oci_execute($s);echo"Theresultis$rn";?>

PHP:oci_set_client_info()的用法_Oracle函数 oci_set_client_info(PHP5.3.2,PECLOCI8=1.4.0)oci_set_client_infoSetstheclientinformation说明booloci_set_client_info(resource$connection,string$client_info)SetstheclientinformationforOracletracing.The

PHP:oci_set_action()的用法_Oracle函数 oci_set_action(PHP5.3.2,PECLOCI8=1.4.0)oci_set_actionSetstheactionname说明booloci_set_action(resource$connection,string$action_name)SetstheactionnameforOracletracing.Theactionnameisregisteredwiththe

PHP:oci_pconnect()的用法_Oracle函数 oci_pconnect(PHP5,PECLOCI8=1.1.0)oci_pconnect使用一个持久连接连到Oracle数据库说明resourceoci_pconnect(string$username,string$password[,string$db[,string$charset[,int$session_mode]]])oci

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

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

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

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

  • 增值税建筑服务税率变化时间
  • 计提税金账务处理
  • 企业所得税税负率怎么算出来的
  • 企业注销库存怎么做账
  • 销售购物取得的收入
  • 在公司交社保不满十年,女性按照什么退税
  • 医院员工工资表模板
  • 个体工商户注销后的责任承担问题
  • 科技公司增值税率是多少
  • 股权变更怎么收费
  • 预缴税款缴多了怎么办
  • 税控服务费全额抵税分录怎么写
  • 白酒出口税收
  • 企业所得税汇算交所得税如何做账务处理
  • 国税2016年第53号公告解读
  • 租房中介费计入租赁费吗
  • 公益性捐赠所得税处理
  • windows10最新激活密钥2020
  • 维保合同交印花税吗怎么交
  • 收到预付账款会对企业财务有影响吗
  • 增值税的滞纳金怎么做账
  • linux系统的
  • 修改linux启动项
  • 公司暂估成本是什么意思
  • 编写守护进程
  • windows7旗舰版最新版本
  • 收取跨年租金会计处理
  • 淘宝api接口
  • 伫立枝头的旅鸫鸟,加拿大 (© marcophotos/Getty Images)
  • 小微企业的季度所得税怎么计算
  • php使用自定义函数编程求半径r的圆的周长和面积
  • 冲红的销项税怎么结转
  • spring获取bean的完全限定类名
  • php公众号推送完整示例
  • php开发程序
  • discuz 移动端
  • 暂估少了冲销时怎么办
  • 不良品扣款范本
  • phpcms插件
  • 缴纳印花税的会计凭证怎么做
  • 安装和使用蓄能器应注意哪些问题
  • 航天信息发票怎么抵扣
  • 股权转让溢价款缴纳增值税
  • 股权转让所得如何申报个税
  • mysql备份模式
  • 公司注销了,账务是不是可以销毁了
  • 暂估的原材料用不用记原材料明细账
  • 生产成本如何结转
  • 外出经营活动需要预缴税款吗2020年
  • 营改增对财务人员的影响
  • 已认证发票退回的流程
  • 医院医保会计的岗位职责
  • 公司购买垃圾袋纸巾摘要怎么写好
  • 施工期间水电费没有发票财务不给报销
  • 折旧年限的最新规定 汽车
  • 存储过程的定义及调用方法
  • mysql的分页语句
  • windows没有无线网络
  • vista server
  • linuxvlc安装
  • win8.1操作系统关闭驱动数字签名
  • centos如何清除硬盘数据
  • centos dvd安装
  • ubuntu18.04网络
  • macbookpro移到废纸篓快捷键
  • centos基础命令
  • android ndk cmake
  • 深入浅出Struts
  • Node.js中的全局对象有
  • 如何用虚拟号码打电话
  • python 生成器send
  • unity3d基本操作
  • jquery插件大全
  • android的控件有哪些
  • 电子税务局更改密码怎么改
  • 加计扣除为什么是税收优惠
  • 芜湖买房退契税在哪里退
  • 2023年内蒙古房贷利率最新消息
  • 重庆国税局客服电话
  • 广州市国税咨询电话
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设