cvs: phpdoc-zh /reference/oci8/functions ocistatementtype.xml
| From: | Xiao shengwen | Date: | Thu, 17 Oct 2002 09:10:00 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oci8/functions ocistatementtype.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-733@lists.php.net to get a copy of this message | ||
yincheng Thu Oct 17 05:10:00 2002 EDT
Added files:
/phpdoc-zh/reference/oci8/functions ocistatementtype.xml
Log:
·ÒëÍê³É
Index: phpdoc-zh/reference/oci8/functions/ocistatementtype.xml
+++ phpdoc-zh/reference/oci8/functions/ocistatementtype.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: yincheng $ -->
<!-- EN-Revision: 1.2 Maintainer: yincheng Status: ready -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 -->
<refentry id="function.ocistatementtype">
<refnamediv>
<refname>OCIStatementType</refname>
<refpurpose>·µ»Ø OCI ÃüÁîµÄÀàÐÍ</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>string</type><methodname>OCIStatementType</methodname>
<methodparam><type>int</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<para>
<function>OCIStatementType</function> ·µ»ØÏÂÁÐÖµÖ®Ò»£º
<orderedlist>
<listitem><simpara>"SELECT"</simpara></listitem>
<listitem><simpara>"UPDATE"</simpara></listitem>
<listitem><simpara>"DELETE"</simpara></listitem>
<listitem><simpara>"INSERT"</simpara></listitem>
<listitem><simpara>"CREATE"</simpara></listitem>
<listitem><simpara>"DROP"</simpara></listitem>
<listitem><simpara>"ALTER"</simpara></listitem>
<listitem><simpara>"BEGIN"</simpara></listitem>
<listitem><simpara>"DECLARE"</simpara></listitem>
<listitem><simpara>"UNKNOWN"</simpara></listitem>
</orderedlist></para>
<para>
<example>
<title><function>OCIStatementType</function></title>
<programlisting>
<![CDATA[
<?php
print "<HTML><PRE>";
$conn = OCILogon("scott","tiger");
$sql = "delete from emp where deptno = 10";
$stmt = OCIParse($conn,$sql);
if ( OCIStatementType($stmt) == "DELETE" ) {
die "You are not allowed to delete from this table<BR>";
}
OCILogoff($conn);
print "</PRE></HTML>";
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<!-- 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:"../../../../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
-->