mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
138 lines
4.3 KiB
XML
138 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 44e38e287d29857e5cd5da1f045695e6838170b3 Maintainer: leonardolara Status: ready -->
|
|
<chapter xml:id="oci8.datatypes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Tipos de dados suportados</title>
|
|
<table>
|
|
<title>O driver oferece suporte aos seguintes tipos ao vincular parâmetros usando a
|
|
função <function>oci_bind_by_name</function>:</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Tipo</entry>
|
|
<entry>Mapeamento</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><constant>SQLT_NTY</constant></entry>
|
|
<entry>Mapeia um tipo de coleção nativo de um objeto de coleção PHP,
|
|
como aqueles criados por <function>oci_new_collection</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_BFILEE</constant></entry>
|
|
<entry>Mapeia um descritor nativo, como aqueles criados por
|
|
<function>oci_new_descriptor</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_CFILEE</constant></entry>
|
|
<entry>Mapeia um descritor nativo, como aqueles criados por
|
|
<function>oci_new_descriptor</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_CLOB</constant></entry>
|
|
<entry>Mapeia um descritor nativo, como aqueles criados por
|
|
<function>oci_new_descriptor</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_BLOB</constant></entry>
|
|
<entry>Mapeia um descritor nativo, como aqueles criados por
|
|
<function>oci_new_descriptor</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_RDD</constant></entry>
|
|
<entry>Mapeia um descritor nativo, como aqueles criados por
|
|
<function>oci_new_descriptor</function>.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_NUM</constant></entry>
|
|
<entry>Converte o parâmetro PHP em um tipo longo 'C' e vincula
|
|
a esse valor.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_RSET</constant></entry>
|
|
<entry>Mapeia um identificador de instrução nativo, como aqueles criados por
|
|
<function>oci_parse</function> ou aqueles recuperados de outras consultas do OCI.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_BOL</constant></entry>
|
|
<entry>Vincula o parâmetro PHP a um BOOLEAN PL/SQL.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_CHR</constant> e qualquer outro tipo</entry>
|
|
<entry>Converte o parâmetro PHP em um tipo string e vincula
|
|
como uma string.</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table>
|
|
<title>Os seguintes tipos são suportados ao recuperar colunas de um conjunto de resultados:</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Tipo</entry>
|
|
<entry>Mapeamento</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><constant>SQLT_RSET</constant></entry>
|
|
<entry>Cria um recurso de instrução OCI para representar o cursor.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_RDD</constant></entry>
|
|
<entry>Cria um objeto ROWID.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_BLOB</constant></entry>
|
|
<entry>Cria um objeto LOB.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_CLOB</constant></entry>
|
|
<entry>Cria um objeto LOB.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_BFILE</constant></entry>
|
|
<entry>Cria um objeto LOB.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_LNG</constant></entry>
|
|
<entry>Vinculado como SQLT_CHR, retornado como uma string.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><constant>SQLT_LBI</constant></entry>
|
|
<entry>Vinculado como <constant>SQLT_BIN</constant>, retornado como uma string.</entry>
|
|
</row>
|
|
<row>
|
|
<entry>Qualquer outro tipo</entry>
|
|
<entry>Vinculado como <constant>SQLT_CHR</constant>, retornado como uma 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
|
|
-->
|
|
|
|
|