OTL 4.0, Examples for Enterprise DB / ODBC.

The examples below work with EnterpriseDB. In general, all of these examples should work with any Enterprise DB 8.2 and higher on Windows or Unix.

  1. Example 586 (Simple Insert/Select)
  2. Example 587 ("Incompatible datatypes in stream operation" exception)
  3. Example 588 (Simple Insert/Select with the LONG datatype)
  4. Example 589 (Simple Insert/Select with the LONG RAW datatype)
  5. Example 590 (otl_stream::describe_select() with a simple Select)
  6. Example 591 (otl_stream and NULLs)
  7. Example 592 (otl_nocommit_stream)
  8. Examle 593 (otl_datetime)
  9. Example 594 (Get Rows Processed Count)
  10. Example 595 ("Auto-commit every SQL statement / commit-on-success" mode)
  11. Example 596 (Datatype override in SELECT)
  12. Example 597 (STL std::strings, ANSI C++ typecasts)
  13. Example 598 (STL-compliant OTL stream iterators)
  14. Example 599 (otl_value<T>)
  15. Example 600 (#define OTL_UNCAUGHT_EXCEPTION_ON)
  16. Example 601 (Group data type override in SELECT)
  17. Example 602 (OTL stream pooling)
  18. Example 603 (otl_stream::set_flush())
  19. Example 604 (OTL_VALUE_TEMPLATE_ON, OTL_USER_DEFINED_STRING_CLASS_ON)
  20. Example 605 (Describe otl_stream's bind variables)
  21. Example 606 (otl_stream::clean(), cancelling SELECT's fetch sequence)
  22. Example 607 (otl_stream::clean(), cleaning the SELECT stream's error flags)
  23. Example 608 (#define's OTL_DEFAULT_XXX_NULL_TO_VAL)
  24. Example 609 (otl_exception, derived from a base class)
  25. Example 610 (OTL_ADD_NULL_TERMINATOR_STRING_SIZE)
  26. Example 611 (std::string and LONGs)
  27. Example 612 (SQL statement label)
  28. Example 613 (user defined string class and LONGs)
  29. Example 614 (OTL tracing)
  30. Example 615 (Explict bind variables in SELECT statement column definitions)
  31. Example 616 (64-bit signed integers)
  32. Example 617 (OTL stream read iterator, simple SELECT)
  33. Example 618 (Strict numeric type checking on SELECTs)
  34. Example 619 (Simple Insert/Select, otl_connect::operator<<, <<=, >>)
  35. Example 620 (Simple Insert/Select with RAW datatype)
  36. Example 621 (Simple Insert/Select with RAW datatype and otl_stream_read_iterator)
  37. Example 622 (Simple Insert/Select with the CLOB datatype)
  38. Example 623 (Simple Insert/Select with the BLOB datatype)
  39. Example 624 (std::string and CLOBs)
  40. Example 675 (Simple Insert/Select/Update #define OTL_ODBC_MULTI_MODE)

Prev NextContentsGo Home

Copyright © 1996-2024, 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.