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.
  1. Example 322 (Simple Insert/Select/Update)
  2. Example 323 (Incompatible datatypes in stream operation)
  3. Example 324 (otl_datetime container and DATE/TIME/TIMESTAMP table columns)
  4. Example 325 (otl_long_string and a LONG VARCHAR column)
  5. Example 326 (otl_long_string and a LONG BYTE column)
  6. Example 327 (std::string and STL-compliant stream iterator)
  7. Example 328 (otl_stream::describe_select() with a simple Select)
  8. Example 329 (otl_stream and NULLs)
  9. Example 330 (Simple Insert/Stored Proc with Result Set)
  10. Example 331  (Simple Unicode Insert/Select and VARCHAR UNICODE strings)
  11. Example 332 (Simple Unicode Insert/Select with LONG VARCHAR UNICODE)
  12. Example 333 (Simple Unicode Insert/Select with LONG VARCHAR UNICODE, and LOB streams)
  13. Example 334 (OTL stream read iterator, simple SELECT)
  14. Example 335 (OTL stream read iterator, implicit result set)
  15. Example 336 (Strict numeric type checking on SELECTs)
  16. Example 337 (Insert/Update/Select with LONG VARCHAR in stream mode and otl_stream_read_iterator)
  17. Example 338 (Insert/Update/Select with LONG BYTE  in stream mode and otl_stream_read_iterator)
  18. Example 343 (OTL stream read iterator, "get by name" functions, SAP DB)
  19. Example 363 (VARCHAR UNICODE Insert/Select and #define OTL_UNICODE_CHAR_TYPE)
  20. Example 364 (VARCHAR UNICODE Insert/Select and #define OTL_UNICODE_STRING_TYPE)
  21. Example 370 (LONG VARCHAR UNICODE Insert/Select and #define OTL_UNICODE_STRING_TYPE)
  22. Example 377 (Simple Insert/Select, otl_connect::operator<<, <<=, >>)
  23. Example 384 (Insert/Update/Select, MAX/DB LONG VARCHAR in stream mode, and std:strings)
  24. Example 394 (Insert/Update/Select with MAX/DB LONG VARCHAR  in stream mode, without otl_lob_stream::set_len())
  25. Example 395 (Insert/Update/Select with  MAX/DB LONG BYTE in stream mode, without otl_lob_stream::set_len())
  26. Example 455 (Simple Insert/Select with VARCHAR BYTE datatype)
  27. Example 456 (Simple Insert/Select with CHAR BYTE datatype)
  28. Example 466 (Simple Insert/Select with VARCHAR BYTE datatype and otl_stream_read_iterator)
  29. Example 467 (Simple Insert/Select with CHAR BYTE datatype and otl_stream_read_iterator)

Contents Go Home

Copyright © 1996-2017, Sergei Kuchin, email: skuchin@gmail.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. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.