位置: 编程技术 - 正文

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

  • 金税盘技术维护费
  • 研发设备定义
  • 增值税销项税额和进项税额
  • 增票未抵扣丢失怎么处理
  • 小规模纳税人能用专票抵税吗
  • 个体工商户是对公账户还是个人账户
  • 红字发票和蓝字一样吗
  • 可以税前扣除的商业健康保险有哪些
  • 应付职工薪酬的计税基础
  • 原始发票丢失怎么报销
  • 小微企业银行贷款印花税
  • 个人代垫公司费用微信转账如何报销
  • 分包挂靠认定依据
  • 设备的配件怎么做分录
  • 公司代缴员工个税
  • 铲车费属于劳务费吗
  • 财产保险合同的主体变更
  • 免税商品进项税可以抵扣吗
  • 哪些业务不需要进行平行记账
  • 金蝶财务软件不能反结账
  • 现金存入银行是付款还是转账
  • 出纳备用金收支登记表怎么做
  • 个税系统添加单位企业信息不存在
  • 预缴增值税抵扣销项税额账务处理
  • 房产税存在往期未申报信息怎么处理
  • 疫情 统筹
  • 实习生短期意外保险能企业所得税前扣除吗?
  • 装电脑系统的方法和步骤
  • 欠条和收条,哪个更真实
  • 成本法转为权益法追溯的理解
  • windows7增加桌面
  • 油气勘探支出包含哪些
  • 自己搭建网站怎么赚钱
  • php写一个简单的单例模式
  • vue2路由跳转页面不刷新问题
  • 基于随机森林的气温预测
  • 销售机构人员工作总结
  • 计算机视觉opencv 有什么项目
  • thinkphp codeigniter
  • linux rdp客户端
  • css page-break-after
  • 调整以前年度亏损
  • vue 鼠标移入移出(hover)切换显示图片问题
  • 更改sql server数据库名
  • 承兑汇票怎么使用流程
  • 食堂购买固定资产会计处理
  • 所得税申报表收入包含营业外收入吗
  • SQL SERVER 2008 R2 重建索引的方法
  • 小规模纳税人场地租赁发票税率是多少
  • 小规模纳税人固定资产原值含税吗
  • 研发费用账务调整合同怎么写
  • 房屋预售收入
  • 加权平均净资产收益率
  • 开办费企业所得税处理
  • 解除劳动合同的合法程序
  • 支付劳务公司的劳务费如何扣缴个人所得税?
  • 母子公司无偿划转土地
  • 信用减值损失6702
  • 赠送电影票文案
  • 会计借方和贷方有哪些科目
  • 代理出口业务会计分录
  • 哪些会计凭证可以抵扣进项税
  • SQL Transcation的一些总结分享
  • macbook launch
  • 虚拟机vmware下载教程
  • WINDOWS7系统安装包
  • 直通车和百度竞价的区别
  • linux中添加用户和组的操作
  • win8开机进入开始界面
  • js咋用
  • jsclass选择器
  • windows安装node.js
  • 使用shell脚本实现自动化软件部署
  • [置顶]星陨计划
  • shell脚本 su
  • 手游开发流程具体
  • javascript XMLHttpRequest对象全面剖析
  • 国税局调动
  • 单张发票开票限额?
  • 工会春游费用怎么报销
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设