downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

oci_set_action> <oci_rollback
[edit] Last updated: Thu, 20 Jun 2013

view this page in

oci_server_version

(PHP 5, PECL OCI8 >= 1.1.0)

oci_server_versionOracle データベースのバージョンを返す

説明

string oci_server_version ( resource $connection )

Oracle データベースのバージョンと利用可能なオプションを返します。

パラメータ

connection

返り値

バージョン情報を表す文字列、あるいはエラー時に FALSE を返します。

例1 oci_server_version() の例

<?php
    $conn 
oci_connect("scott""tiger");
    echo 
"サーバーのバージョン: " oci_server_version($conn);

    
// 表示:
    // サーバーのバージョン: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    // With the Partitioning, OLAP, Data Mining and Real Application Testing option

    
oci_close($conn);

?>

注意

注意:

PHP バージョン 5.0.0 以前では、代わりに ociserverversion() を使用しなければなりません。 まだこの古い名前を使用できますが、廃止予定で非推奨です。

参考



add a note add a note User Contributed Notes oci_server_version - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites