📄 otl4_ora9_utf8_examples.htm
字号:
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta content="text/html; charset=iso-8859-1"
http-equiv="Content-Type">
<meta content="Sergei Kuchin" name="Author">
<meta content="Mozilla/4.77 [en] (Win95; U) [Netscape]"
name="GENERATOR">
<meta
content="OTL, Oracle, ODBC, DB2, CLI, database API, C++, Template Library"
name="KeyWords">
<title>OTL 4.0, Examples for Oracle 9i, UTF8</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for Oracle 9i, UTF8 <br>
</h1>
<div style="text-align: left;">The examples below show how to use OTL
with Oracle 9i and UTF-8 based
strings. At the database level,, the string format may vary (say,
AL32UTF8 for the main character set and UTF-16 for the NLS), and at
least at the C++ level all string data gets converted into '\0'
terminated byte arrays. In order to
enable OTL/OCI9I and UTF8, the following
#defines need to be defined: #define <a
href="otl3_compile.htm#OTL_ORA9I">OTL_ORA9I</a>, #define <a
href="otl3_compile.htm#OTL_ORA_UTF8">OTL_ORA_UTF8</a>.</div>
</center>
<ol>
<li><b><a href="otl4_ex481.htm">Example 481 (UTF8
Insert/Select)</a></b></li>
<li><a href="otl4_ex482.htm"><b>Example 482 (UTF8 </b><b> NVARCHAR2 </b><b>Insert/Select)</b></a></li>
<li><b><a href="otl4_ex483.htm">Example 483 (UTF8 Insert and
Select via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex484.htm">Example 484 (UTF8
Insert/Select with LONG)</a></b></li>
<li><b><a href="otl4_ex485.htm">Example 485 (UTF8
Insert/Select with CLOB)</a></b></li>
<li><b><a href="otl4_ex486.htm">Example 486 (UTF8
Insert/Select with NCLOB)</a></b></li>
<li><b><a href="otl4_ex487.htm">Example 487 (UTF8
Insert/Select with CLOB via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex488.htm">Example 488 (UTF8
Insert/Select with NCLOB via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex489.htm">Example 489 (UTF8
Insert/Select with CLOB, and LOB streams)</a></b></li>
<li><b><a href="otl4_ex490.htm">Example 490 (UTF8
Insert/Select with NCLOB, and LOB streams)</a></b></li>
<li><b><a href="otl4_ex491.htm">Example 491 (UTF8, VARCHAR2,
and otl_refcur_stream)</a></b></li>
<li><b><a href="otl4_ex492.htm">Example 492 (UTF8, NVARCHAR2,
and otl_refcur_stream)</a></b></li>
<li><b><a href="otl4_ex493.htm">Example 493 (UTF8,
PLSQL/index-by tables as parameters)</a></b></li>
<li><b><a href="otl4_ex494.htm">Example 494 (UTF8,
PLSQL/index-by tables as parameters, and NVARCHAR2s)</a></b></li>
<li><b><a href="otl4_ex495.htm">Example 495 (UTF8
Insert/Select for both VARCHAR2 and NVARCHAR2 at the same time)</a></b></li>
<li><b><a href="otl4_ex496.htm">Example 496 (UTF8
Insert/Select for both CLOB and NCLOB at the same time)</a></b></li>
</ol>
<b></b>
<hr style="width: 100%; height: 2px;">
<ul>
<ul>
</ul>
</ul>
<center>
<p><a href="otl3_const_sql.htm">Prev</a> <a href="otl3_compile.htm">Next</a><a
href="otl3.htm">Contents</a><a href="home.htm">Go Home</a></p>
</center>
<p>Copyright © 1996, 2008, Sergei Kuchin, email: <a
href="mailto:skuchin@aceweb.com">skuchin@aceweb.com</a>, <a
href="mailto:skuchin@gmail.com">skuchin@gmail.com
<script language="JavaScript"><!-- hide from old browsers
var modDate = new Date(document.lastModified)
document.write("<i> Last Updated:</i> " + (modDate.getMonth()+1) + "/" +
modDate.getDate() + "/" + "0"+(modDate.getYear())%100+".");
//-->
</script></a>.</p>
<p><i>Permission to use, copy, modify and redistribute this document
for any purpose is hereby granted without fee, provided that the above
copyright notice appear in all copies.</i> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -