OTL 4.0, Examples for Informix (CLI)

The examples below work with Informix. In general, all of these examples should work with any Informix 11 and higher on Windows or Unix.

  1. Example 625 (Simple Insert/Select)
  2. Example 626 ("Incompatible datatypes in stream operation" exception)
  3. Example 627 (Simple Insert/Select with the TEXT datatype)
  4. Example 628 (Simple Insert/Select with the BYTE datatype)
  5. Example 629 (otl_stream::describe_select() with a simple Select)
  6. Example 630 (otl_stream and NULLs)
  7. Example 631 (otl_nocommit_stream)
  8. Example 632 (otl_datetime)
  9. Example 633 (Get Rows Processed Count)
  10. Example 634 ("Auto-commit every SQL statement / commit-on-success" mode)
  11. Example 635 (Datatype override in SELECT)
  12. Example 636 (STL std::strings, ANSI C++ typecasts)
  13. Example 637 (STL-compliant OTL stream iterators)
  14. Example 638 (otl_value<T>)
  15. Example 639 (#define OTL_UNCAUGHT_EXCEPTION_ON)
  16. Example 640 (Group data type override in SELECT)
  17. Example 641 (OTL stream pooling)
  18. Example 642 (otl_stream::set_flush())
  19. Example 643 (OTL_VALUE_TEMPLATE_ON, OTL_USER_DEFINED_STRING_CLASS_ON)
  20. Example 644 (Describe otl_stream's bind variables)
  21. Example 645 (otl_stream::clean(), cancelling SELECT's fetch sequence)
  22. Example 646 (otl_stream::clean(), cleaning the SELECT stream's error flags)
  23. Example 647 (#define's OTL_DEFAULT_XXX_NULL_TO_VAL)
  24. Example 648 (otl_exception, derived from a base class)
  25. Example 649 (OTL_ADD_NULL_TERMINATOR_STRING_SIZE)
  26. Example 650 (std::string and TEXT)
  27. Example 651 (SQL statement label)
  28. Example 652 (user defined string class and TEXT)
  29. Example 653 (OTL tracing)
  30. Example 654 (Explict bind variables in SELECT statement column definitions)
  31. Example 655 (64-bit signed integers)
  32. Example 656 (OTL stream read iterator, simple SELECT)
  33. Example 657 (Strict numeric type checking on SELECTs)
  34. Example 658 (Simple Insert/Select, otl_connect::operator<<, <<=, >>)

Prev NextContentsGo 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.