位置: 编程技术 - 正文

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函数

  • 金税盘开票系统怎么增加税目
  • 市政道路工程建筑包括什么
  • 税控服务费怎么记账
  • 一般纳税人房租费的税率是多少
  • 未签购销合同需不需要印花税
  • 货架折旧年限
  • 小企业会计准则和企业会计准则的区别
  • 企业管理咨询有限公司简介
  • 应收票据主要包括
  • 运保佣是什么
  • 承包方收取分包方费用
  • 购销合同印花税怎么算
  • 房地产企业开发成本计入存货
  • 开发经济适用房是否需要缴纳土增税
  • 业主委员会的收益
  • 公司注销固定资产怎么处理税怎么交
  • 公司收到纸质承兑不开票行吗
  • 企业的其他业务收入有
  • 费用未入账是什么意思
  • 汽车罚款怎么进账
  • 固定资产已入库款项已付次月开发票何时记提折旧
  • 金蝶标准版利润表季度怎么选
  • 汽车加油票可以开专票吗
  • 收到别公司利息怎么记账
  • 上个月退货会计分录
  • 为什么链接网线后无法链接网络
  • jsPDF + html2canvas A4分页截断 完美解决方案(含代码 + 案例)
  • 销售过程的主要内容
  • 犹他州现神秘物体
  • 自然保护什么意思
  • token的用处
  • 公司给员工的购房补贴
  • 两套账目
  • 提取备用金记账凭证图片
  • php中统计单词个数
  • php防止用户重度登录
  • 使用jquery的好处
  • 计提票面利息
  • 已付款未开票怎么做账
  • mongodb skip limit
  • 上传附报资料是哪些资料
  • 印花税补交会怎样
  • 资产减值损失应计入什么科目
  • 给员工购买
  • 固定资产原值增加折旧怎么算
  • 医疗收费票据管理制度
  • 财务风险有什么类别
  • 优惠券会计分录怎么做
  • 机关和事业单位党的支部委员会每届任期
  • 环境检测费属于什么费用
  • 明细账设置是什么意思
  • sql server数据
  • Linux安装MySQL教程(二进制分发版)
  • windows xp如何进入dos
  • 老毛桃U盘启动盘工具安装Win8的详细图文教程
  • windows7安装过程中出错
  • 淘宝win10和正版的有什么区别
  • 雨林木风 winxp sp3 安装版 ys8.0
  • Windows7如何查看电脑配置
  • win8.1安全模式怎么进入
  • win7提示计算机内存不足
  • android入门教程
  • ant编译工具
  • CCProgressTimer 进度条动画在cocos2dx+lua中的使用
  • shell脚本实例精讲
  • css中标签
  • css实战案例
  • unity自动生成
  • nodejs怎么实现多线程
  • digitalocean收费
  • 在html中写入javascript
  • android基础知识点
  • 基于android开发
  • keycode输入cat
  • unitytest
  • 简单的智能家居
  • android回调函数
  • 个人所得税减免申报操作流程
  • 宾馆如何申请税务发票
  • 税务局宪法宣传日
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设