位置: 编程技术 - 正文

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

  • 增值税发票认证平台进不去什么原因
  • 无住所居民个人所得税的计算
  • 啥是完税凭证
  • 销售货物提供运输是否分别核酸的例题
  • 各行业的利润率表
  • 盈利幼儿园和非盈利幼儿园的政策
  • 救援车拉货交警查吗?
  • 材料委托加工
  • 航运(集团)招聘
  • 业务招待费怎么做会计分录
  • 现金比率的计算公式是指
  • 企业增值税留抵退税新闻稿范文
  • 资本公积转增资本会引起什么变化
  • 航天信息服务费的会计分录
  • 董事监事的报酬包括哪些
  • 餐饮发票怎么进行财税处理?
  • 购买房产,税费怎么计算
  • 外企企业所得税怎么计算
  • 无票收入已报税,后来开票账务处理
  • 收获怎么理解
  • 技术开发合同收入包括哪些
  • 经营性支出包括哪些
  • 将原材料变成成品的过程
  • 预付账款怎样记账
  • 植物租赁方案
  • win10为什么每次开机都要输入微软密码
  • 最新制作视频的软件
  • PHP:curl_multi_init()的用法_cURL函数
  • 自定义修改器
  • 缴纳季度企业所得税比例
  • 异常生物见闻录
  • css静态网页制作
  • 小额贷款企业收利息吗
  • transformers document
  • 浅析是什么意思
  • 国税一证通
  • php实现base64图片上传方式实例代码
  • 金蝶数量金额怎么输入
  • vue setstate
  • 待摊费用在资产负债表里写在哪
  • git 查看所有commit
  • 微擎框架是开源的吗
  • 企业税金总额包括什么
  • 以摊余成本计量的金融资产会计处理
  • 折旧汇总分配周期参数设定完成可以更改吗
  • 申报错误后处理有影响吗
  • 股东转让股权公司需要审查
  • 销售送客户礼物
  • 建筑施工企业增值税税率调整时间
  • 人工费用计入
  • 公司分期付款购车怎么做账
  • 代收资金清算过程
  • 进项抵扣怎么操作
  • 公司的零星费用可以用对公转吗
  • 提取备用金现金流量如何填写
  • 收到其他应付款会计分录
  • 微信和支付宝的区别
  • 实际成本大于预计总成本
  • 固定资产清理和持有待售资产
  • sql经常用的语句
  • sqlserver解锁用户命令
  • mysql连接查询和子查询效率
  • 微软系统无法开机怎么办
  • 酷炫技术:使用ssh登录管理windows系统
  • ubuntu怎么开启root
  • ksysslim.exe
  • windowsxp
  • .intro
  • 如何关掉开机自检硬盘
  • 怎么做win8系统
  • opengl做简单的模型
  • unity 3d场景2d角色
  • javascript怎么做
  • python socketcan
  • 国家税务局级别排名
  • 深圳买新房契税怎么收
  • 电子税务局怎么添加银行账户信息
  • 教师十三薪是什么意思
  • 小规模纳税人租赁房屋税率
  • 员工持股平台税务稽查
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设