📄 otl4_ora8i_unicode_examples.htm
字号:
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="Author" content="Sergei Kuchin">
<meta name="GENERATOR"
content="Mozilla/4.77 [en] (Win95; U) [Netscape]">
<meta name="KeyWords"
content="OTL, Oracle, ODBC, DB2, CLI, database API, C++, Template Library">
<title>OTL 4.0, Examples for Oracle 8i, Unicode</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for Oracle 8i, Unicode<br>
</h1>
</center>
The examples below show how to use OTL with Oracle 8i 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. In order to enable OTL/OCI8I and Unicde, the following
#defined need to be defined: #define <a
href="otl3_compile.htm#OTL_ORA8I">OTL_ORA8I</a>, #define <a
href="otl3_compile.htm#OTL_UNICODE">OTL_UNICODE</a>.<br>
<ol>
<li> <b><a href="otl4_ex174.htm">Example 174 (Simple Unicode
Insert/Select)</a></b></li>
<li> <b><a href="otl4_ex175.htm">Example 175 (Simple Unicode
Insert/Select in the NLS (NVARCHAR2))</a></b></li>
<li> <b><a href="otl4_ex176.htm">Example 176 (Unicode Insert and
Select via referenced cursor)</a></b></li>
<li> <b><a href="otl4_ex177.htm">Example 177 (Simple Unicode
Insert/Select with LONG)</a></b></li>
<li> <b><a href="otl4_ex178.htm">Example 178 (Simple Unicode
Insert/Select with CLOB)</a></b></li>
<li> <b><a href="otl4_ex179.htm">Example 179 (Simple Unicode
Insert/Select with NCLOB)</a></b></li>
<li> <b><a href="otl4_ex180.htm">Example 180 (Simple Unicode
Insert/Select with CLOB via referenced cursor)</a></b></li>
<li> <b><a href="otl4_ex181.htm">Example 181 (Simple Unicode
Insert/Select with NCLOB via referenced cursor)</a></b></li>
<li> <b><a href="otl4_ex182.htm">Example 182 (Simple Unicode
Insert/Select with CLOB, and LOB streams)</a></b></li>
<li> <b><a href="otl4_ex183.htm">Example 183 (Simple Unicode
Insert/Select with NCLOB, and LOB streams)</a></b></li>
<li> <b><a href="otl4_ex184.htm">Example 184 (Unicode, VARCHAR2,
and otl_refcur_stream)</a></b></li>
<li> <b><a href="otl4_ex185.htm">Example 185 (Unicode, NVARCHAR2,
and otl_refcur_stream)</a></b></li>
<li> <b><a href="otl4_ex186.htm">Example 186 (Unicode,
PLSQL/index-by tables as parameters)</a></b></li>
<li> <b><a href="otl4_ex187.htm">Example 187 (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_ex287.htm">Example 287
(otl_stream::describe_select() with extended otl_column_desc fields)</a></b></li>
</ol>
<ul>
</ul>
<b><a href="otl4_ex256.htm"></a></b><br>
<center>
<hr width="100%">
<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 + -