OTL 4.0, Examples for MAX-DB / SAP-DB (ODBC)
The examples below work with MAX-DB / SAP-DB (ODBC). ODBC seems to be
SAP-DB's native interface that is supported on both Windows and Unix
platforms.
- Example 322 (Simple
Insert/Select/Update)
- Example 323 (Incompatible datatypes
in stream operation)
- Example 324 (otl_datetime container
and DATE/TIME/TIMESTAMP table columns)
- Example 325 (otl_long_string and a
LONG VARCHAR column)
- Example 326 (otl_long_string and a
LONG BYTE column)
- Example 327 (std::string and
STL-compliant stream iterator)
- Example 328
(otl_stream::describe_select() with a simple Select)
- Example 329 (otl_stream and NULLs)
- Example 330 (Simple
Insert/Stored Proc with Result Set)
- Example 331 (Simple
Unicode Insert/Select and VARCHAR UNICODE strings)
- Example 332 (Simple Unicode
Insert/Select with LONG VARCHAR UNICODE)
- Example 333 (Simple Unicode
Insert/Select with LONG VARCHAR UNICODE, and LOB streams)
- Example 334 (OTL stream read
iterator, simple SELECT)
- Example 335 (OTL stream read
iterator, implicit result set)
- Example 336 (Strict numeric type
checking on SELECTs)
- Example 337 (Insert/Update/Select
with LONG VARCHAR in stream mode and
otl_stream_read_iterator)
- Example 338 (Insert/Update/Select
with LONG BYTE in stream mode and
otl_stream_read_iterator)
- Example 343 (OTL stream read
iterator, "get by name" functions, SAP DB)
- Example
363 (VARCHAR UNICODE Insert/Select and #define OTL_UNICODE_CHAR_TYPE)
- Example
364 (VARCHAR UNICODE Insert/Select and #define OTL_UNICODE_STRING_TYPE)
- Example
370 (LONG VARCHAR UNICODE Insert/Select and #define
OTL_UNICODE_STRING_TYPE)
- Example 377
(Simple Insert/Select,
otl_connect::operator<<, <<=, >>)
- Example 384
(Insert/Update/Select, MAX/DB LONG VARCHAR in stream mode, and
std:strings)
- Example
394
(Insert/Update/Select
with MAX/DB LONG VARCHAR in stream mode, without
otl_lob_stream::set_len())
- Example
395 (Insert/Update/Select
with MAX/DB LONG BYTE in stream mode, without
otl_lob_stream::set_len())
- Example 455 (Simple Insert/Select
with VARCHAR BYTE datatype)
- Example 456 (Simple Insert/Select
with CHAR BYTE datatype)
- Example 466 (Simple Insert/Select
with VARCHAR BYTE datatype and otl_stream_read_iterator)
- Example 467 (Simple Insert/Select
with CHAR BYTE datatype and otl_stream_read_iterator)
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.