# OTL 4.0, Examples for Oracle, Unicode

The examples below show how to use OTL/ODBC with Oracle and Unicode based strings (NVARCHAR, NCHAR, NCLOB). 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 OTL_ODBC, #define OTL_UNICODE.

1. Example 274 (Simple Unicode Insert/Select and NVARCHAR2 strings)
2. Example 275 (Simple Unicode Insert/Select with NCLOB)
3. Example 276 (Simple Unicode Insert/Select with NCLOB, and LOB streams)

Contents Go Home

Copyright © 1996, 2007, Sergei Kuchin, email: skuchin@ispwest.com, skuchin@gmail.com
.

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.