📄 otl4_ora9_unicode_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, Unicode</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for Oracle 9i, Unicode <br>
</h1>
<div style="text-align: left;">The examples below show how to use OTL
with Oracle 9i and Unicode based
strings. At the database level,, the string format may vary, and at
least at the C++ level all string data gets converted into 2-byte
Unicode characters with possible surrogate pairs. In order to
enable OTL/OCI9I and Unicde, 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_UNICODE">OTL_UNICODE</a>.</div>
</center>
<ol>
<li><b><a href="otl4_ex188.htm">Example 188 (Simple
Unicode Insert/Select)</a></b></li>
<li><b><a href="otl4_ex189.htm">Example 189 (Simple Unicode
Insert/Select an the NLS (NVARCHAR2))</a></b></li>
<li><b><a href="otl4_ex190.htm">Example 190 (Unicode Insert and
Select via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex191.htm">Example 191 (Simple Unicode
Insert/Select with LONG)</a></b></li>
<li><b><a href="otl4_ex192.htm">Example 192 (Simple Unicode
Insert/Select with CLOB)</a></b></li>
<li><b><a href="otl4_ex193.htm">Example 193 (Simple Unicode
Insert/Select with NCLOB)</a></b></li>
<li><b><a href="otl4_ex194.htm">Example 194 (Simple Unicode
Insert/Select with CLOB via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex195.htm">Example 195 (Simple Unicode
Insert/Select with NCLOB via referenced cursor)</a></b></li>
<li><b><a href="otl4_ex196.htm">Example 196 (Simple Unicode
Insert/Select with CLOB, and LOB streams)</a></b></li>
<li><b><a href="otl4_ex197.htm">Example 197 (Simple Unicode
Insert/Select with NCLOB, and LOB streams)</a></b></li>
<li><b><a href="otl4_ex198.htm">Example 198 (Unicode, VARCHAR2,
and otl_refcur_stream)</a></b></li>
<li><b><a href="otl4_ex199.htm">Example 199 (Unicode, NVARCHAR2,
and otl_refcur_stream)</a></b></li>
<li><b><a href="otl4_ex200.htm">Example 200 (Unicode,
PLSQL/index-by tables as parameters)</a></b></li>
<li><b><a href="otl4_ex201.htm">Example 201 (Unicode,
PLSQL/index-by tables as parameters, and NVARCHAR2s)</a></b></li>
<li><b><a href="otl4_ex285.htm">Example 285 (Simple Unicode
Insert/Select for both VARCHAR2 and NVARCHAR2 at the same time)</a></b></li>
<li><b><a href="otl4_ex286.htm">Example 286 (Simple Unicode
Insert/Select for both CLOB and NCLOB at the same time)</a></b></li>
<li><b><a href="otl4_ex351.htm">Example
351 (Simple Unicode
Insert/Select and #define OTL_UNICODE_CHAR_TYPE)</a></b></li>
<li><b><a href="otl4_ex352.htm">Example
352 (Unicode
NVARCHAR2 Insert/Select and #define OTL_UNICODE_CHAR_TYPE)</a></b></li>
<li><b><a href="otl4_ex353.htm">Example
353 (Simple Unicode
Insert/Select and #define OTL_UNICODE_STRING_TYPE)</a></b></li>
<li><b><a href="otl4_ex354.htm">Example
354 (Unicode
NVARCHAR2 Insert/Select and #define OTL_UNICODE_STRING_TYPE)</a></b></li>
<li><b><a href="otl4_ex366.htm">Example
366 (Unicode NCLOB Insert/Select and #define OTL_UNICODE_STRING_TYPE)</a></b></li>
</ol>
<hr width="100%">
<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>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5456201-1");
pageTracker._trackPageview();
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -