位置: 编程技术 - 正文

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

  • 印花税应交税费
  • 应收账款的期末余额在借方表示什么意思
  • 房地产开发企业预缴增值税
  • 固定资产不能抵扣进项税额
  • 居民个人根据各项所得的收入 公益捐赠
  • 本年利润包含增值税吗
  • 企业税金包括
  • 税收返还要交税吗
  • 电视台广告费可以抵扣吗
  • 18年补交17年城建税会计分录
  • 开出增值税发票没收到怎么抵扣进项税?
  • 福建水利建设专业排名
  • 免税发票有几种类型
  • 出口退税收汇凭证是什么
  • 固定资产报废处置账务处理
  • 承兑到期不兑付应起诉哪方?
  • 国税登记流程
  • 对外捐赠视同销售分录
  • 17税率改16税率的时间
  • 个税房租和房贷抵扣一样吗
  • 先开票还是先预约
  • 出口免抵退申报期限最新政策解读
  • 营改增后的劳务费怎么开
  • 大额保险缴费
  • 商业写字楼
  • 社保生育费用报销
  • adv举例
  • yoosee怎么安装
  • php psr2
  • wrme.exe是什么
  • 微信小程序开发一个多少钱
  • laravel多条件查询
  • php储存数据的方法
  • 接受捐赠和对外捐赠分录
  • 融资租赁售后回租账务处理
  • 贷款的银行卡叫什么
  • 亚运村夜宵地方
  • php中的类
  • thinkphp怎么运行
  • 怎么让gridview居中
  • php实现数据库查询
  • 2、传统的目标设定过程目的重在________
  • js 数组中的重数
  • php session_id
  • dos命令怎么转到d盘
  • Huggingface之transformers零基础使用指南
  • 通用机打发票还能用吗
  • 新建厂房如何计提折旧费用
  • 帝国cms采集发布的文章链接打不开
  • php实现站内消息推送
  • SQLite学习手册(SQLite在线备份)
  • 小微企业所得税税率
  • sql 字符串
  • 个人开咨询费 有哪些税
  • 个人代人开普票个税怎么算
  • 转移固定资产是指什么
  • 初次申报出口退税可能会遇到哪些问题
  • 党组织专项经费包括什么
  • 购买原材料保险费分录
  • 工资达不到5000个人所得税
  • 应付职工薪酬的会计科目
  • 本月的费用
  • 营业税金及附加会计分录
  • 私人贴现做账
  • 如何理解现金折扣
  • 如何查询公司经营异常
  • 轻松备份怎么用
  • ubuntu唤醒快捷键
  • linux设置网络ip地址
  • centos sh
  • centos直接安装
  • win10输入法图标消失
  • cocos2dx4.0教程
  • 如何优化营商环境
  • javascript高级程序设计电子版
  • recyclerview stableid
  • 小规模纳税人开专票需要交税吗
  • 电子税务局怎么添加开票员
  • 新疆皮山县概况
  • 财税知识
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设