1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-24 07:22:16 +01:00
Files
archived-doc-es/reference/oci8/datatypes.xml
Marcos Porto Mariño 668fe72be5 Fix white-space (#312)
2025-11-13 00:12:48 +01:00

140 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 44e38e287d29857e5cd5da1f045695e6838170b3 Maintainer: seros Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="oci8.datatypes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Tipos de datos admitidos</title>
<table>
<title>El controlador admite los siguientes tipos cuando se vinculan parámetros usando la
función <function>oci_bind_by_name</function>:</title>
<tgroup cols="2">
<thead>
<row>
<entry>Tipo</entry>
<entry>Referencia</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant>SQLT_NTY</constant></entry>
<entry>Hace referencia a un tipo de colección nativo desde un objeto colección de PHP,
tales como aquellos creados por <function>oci_new_collection</function>.</entry>
</row>
<row>
<entry><constant>SQLT_BFILEE</constant></entry>
<entry>Hace referencia a un descriptor nativo, tales como a aquellos creados por
<function>oci_new_descriptor</function>.</entry>
</row>
<row>
<entry><constant>SQLT_CFILEE</constant></entry>
<entry>Hace referencia a un descriptor nativo, tales como a aquellos creados por
<function>oci_new_descriptor</function>.</entry>
</row>
<row>
<entry><constant>SQLT_CLOB</constant></entry>
<entry>Hace referencia a un descriptor nativo, tales como a aquellos creados por
<function>oci_new_descriptor</function>.</entry>
</row>
<row>
<entry><constant>SQLT_BLOB</constant></entry>
<entry>Hace referencia a un descriptor nativo, tales como a aquellos creados por
<function>oci_new_descriptor</function>.</entry>
</row>
<row>
<entry><constant>SQLT_RDD</constant></entry>
<entry>Hace referencia a un descriptor nativo, tales como a aquellos creados por
<function>oci_new_descriptor</function>.</entry>
</row>
<row>
<entry><constant>SQLT_NUM</constant></entry>
<entry>Convierte el parámetro de PHP al tipo long de 'C', y lo vincula a
ese valor.</entry>
</row>
<row>
<entry><constant>SQLT_RSET</constant></entry>
<entry>Hace referencia a un gestor de sentencias nativo, tales como a aquellos creados por
<function>oci_parse</function> o aquellos recuperados desde otras consultas de OCI.</entry>
</row>
<row>
<entry><constant>SQLT_BOL</constant></entry>
<entry>Vincular el parámetro de PHP a un BOOLEAN de PL/SQL</entry>
</row>
<row>
<entry><constant>SQLT_CHR</constant> y cualquier otro tipo</entry>
<entry>Convierte el parámetro de PHP al tipo string y lo vincula como
string.</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Los siguientes tipos son admitidos cuando se recuperan columnas desde un conjunto de resultados:</title>
<tgroup cols="2">
<thead>
<row>
<entry>Tipo</entry>
<entry>Referencia</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant>SQLT_RSET</constant></entry>
<entry>Crea un recurso de sentencia de OCI para representar al cursor.</entry>
</row>
<row>
<entry><constant>SQLT_RDD</constant></entry>
<entry>Crea un objeto ROWID.</entry>
</row>
<row>
<entry><constant>SQLT_BLOB</constant></entry>
<entry>Crea un objeto LOB.</entry>
</row>
<row>
<entry><constant>SQLT_CLOB</constant></entry>
<entry>Crea un objeto LOB.</entry>
</row>
<row>
<entry><constant>SQLT_BFILE</constant></entry>
<entry>Crea un objeto LOB.</entry>
</row>
<row>
<entry><constant>SQLT_LNG</constant></entry>
<entry>Vinculado como SQLT_CHR, devuelto como string</entry>
</row>
<row>
<entry><constant>SQLT_LBI</constant></entry>
<entry>Vinculado como <constant>SQLT_BIN</constant>, devuelto como string</entry>
</row>
<row>
<entry>Cualquier otro tipo</entry>
<entry>Vinculado como <constant>SQLT_CHR</constant>, devuelto como string</entry>
</row>
</tbody>
</tgroup>
</table>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->