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

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

Source of: /manual/fr/oci8.datatypes.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.oci8.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'fr',
  ),
 
'this' =>
  array (
   
0 => 'oci8.datatypes.php',
   
1 => 'Types de donn&eacute;es support&eacute;es par le driver',
  ),
 
'up' =>
  array (
   
0 => 'book.oci8.php',
   
1 => 'OCI8',
  ),
 
'prev' =>
  array (
   
0 => 'oci8.connection.php',
   
1 => 'Gestion de la connexion',
  ),
 
'next' =>
  array (
   
0 => 'ref.oci8.php',
   
1 => 'Fonctions OCI8',
  ),
 
'alternatives' =>
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="oci8.datatypes" class="chapter">
 <h1>Types de données supportées par le driver</h1>

 <table class="doctable table">
  <caption><strong>Le driver supporte les types suivants lors du liage de paramètres en utilisant la fonction
    <span class="function"><a href="function.oci-bind-by-name.php" class="function">oci_bind_by_name()</a></span> :</strong></caption>
 
   <thead>
    <tr>
     <th>Type</th>
     <th>Liage</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><strong><code>SQLT_NTY</code></strong></td>
     <td>Lie une collection de types natifs depuis un objet de collection PHP
      comme ceux créés par  <span class="function"><a href="function.oci-new-collection.php" class="function">oci_new_collection()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BFILEE</code></strong></td>
     <td>Lie une ressource native, telle que celles créées par la fonction
       <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_CFILEE</code></strong></td>
     <td>Lie une ressource native, telle que celles créées par la fonction
       <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_CLOB</code></strong></td>
     <td>Lie une ressource native, telle que celles créées par la fonction
       <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BLOB</code></strong></td>
     <td>Lie une ressource native, comme celles créées par la fonction
       <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_RDD</code></strong></td>
     <td>Lie une ressource native, comme celles créées par la fonction
       <span class="function"><a href="function.oci-new-descriptor.php" class="function">oci_new_descriptor()</a></span>.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_NUM</code></strong></td>
     <td>Convertit un paramètre PHP en un type long &#039;C&#039;, et le lie à cette valeur.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_RSET</code></strong></td>
     <td>Lie un gestionnaire de requête natif, comme ceux créés par la fonction
       <span class="function"><a href="function.oci-parse.php" class="function">oci_parse()</a></span> ou ceux récupérés depuis d&#039;autres requêtes OCI.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_CHR</code></strong> et les autres types</td>
     <td>Convertit le paramètre PHP en un type chaîne de caractères et le lie en tant que
      chaîne de caractères.</td>
    </tr>

   </tbody>
 
 </table>


 <table class="doctable table">
  <caption><strong>Les types suivants sont supportés lors de la récupération de colonnes
   depuis un jeu de résultats :</strong></caption>
 
   <thead>
    <tr>
     <th>Type</th>
     <th>Liage</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><strong><code>SQLT_RSET</code></strong></td>
     <td>Crée une ressource de requêtes OCI pour représenter le curseur.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_RDD</code></strong></td>
     <td>Crée un objet ROWID.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BLOB</code></strong></td>
     <td>Crée un objet LOB.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_CLOB</code></strong></td>
     <td>Crée un objet LOB.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_BFILE</code></strong></td>
     <td>Crée un objet LOB.</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_LNG</code></strong></td>
     <td>Limite à SQLT_CHR, retourné sous la forme d&#039;une chaîne de caractères</td>
    </tr>

    <tr>
     <td><strong><code>SQLT_LBI</code></strong></td>
     <td>Limite à <strong><code>SQLT_BIN</code></strong>, retourné sous la forme d&#039;une chaîne de caractères</td>
    </tr>

    <tr>
     <td>Tous les autres types</td>
     <td>Limite à <strong><code>SQLT_CHR</code></strong>, retourné sous la forme d&#039;une chaîne de caractères</td>
    </tr>

   </tbody>
 
 </table>

</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites