📄 otl4_mssql_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 MS SQL, Unicode</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for MS SQL, Unicode <br>
</h1>
<div style="text-align: left;">The examples below show how to use
OTL/ODBC
with MS SQL and Unicode based
strings (NVARCHAR, NCHAR, NTEXT). In C++, all string data is
represented as 2-byte
Unicode characters. In order to
enable OTL/ODBC and Unicode, the following
#defines need to be defined: #define<a href="otl3_compile.htm#OTL_ODBC">
</a><a href="otl3_compile.htm#OTL_ODBC">OTL_ODBC</a>, #define <a
href="otl3_compile.htm#OTL_UNICODE">OTL_UNICODE</a>.<br>
</div>
</center>
<ol>
<li><b><a href="otl4_ex271.htm">Example 271 (Simple
Unicode Insert/Select and NVARCHAR strings)</a></b></li>
<li><b><a href="otl4_ex272.htm">Example 272 (Simple Unicode
Insert/Select with NTEXT)</a></b></li>
<li><b><a href="otl4_ex273.htm">Example 273 (Simple Unicode
Insert/Select with NTEXT, and LOB streams)</a></b></li>
<li><b><a href="otl4_ex359.htm">Example
359 (Unicode
NVARCHAR Insert/Select and #define OTL_UNICODE_CHAR_TYPE)</a></b></li>
<li><b><a href="otl4_ex360.htm">Example
360 (Unicode
NVARCHAR Insert/Select and #define OTL_UNICODE_STRING_TYPE)</a></b></li>
<li><b><a href="otl4_ex365.htm">Example
365 (#define OTL_UNICODE_EXCEPTION_AND_RLOGON)</a></b></li>
<li><b><a href="otl4_ex368.htm">Example
368 (NTEXT Insert/Select and #define OTL_UNICODE_STRING_TYPE)</a></b></li>
<li><b><a href="otl4_ex499.htm">Example 499 (Simple Unicode
Insert/Select with MS SQL 2005 NVARCHAR(MAX), and LOB streams)</a></b></li>
</ol>
<b></b>
<hr style="width: 100%; height: 2px;">
<ul>
<ul>
</ul>
</ul>
<center>
<p><a href="otl3_compile.htm"></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 + -