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.
- Example 625 (Simple Insert/Select)
- Example 626 ("Incompatible
datatypes
in stream operation" exception)
- Example 627 (Simple Insert/Select
with the TEXT datatype)
- Example 628 (Simple Insert/Select
with the BYTE datatype)
- Example 629
(otl_stream::describe_select() with a simple Select)
- Example 630 (otl_stream and NULLs)
- Example 631 (otl_nocommit_stream)
- Example 632 (otl_datetime)
- Example 633 (Get Rows Processed
Count)
- Example 634 ("Auto-commit every
SQL statement / commit-on-success" mode)
- Example 635 (Datatype override
in SELECT)
- Example 636 (STL std::strings,
ANSI C++ typecasts)
- Example 637 (STL-compliant OTL
stream iterators)
- Example 638 (otl_value<T>)
- Example 639 (#define
OTL_UNCAUGHT_EXCEPTION_ON)
- Example 640 (Group data type
override in SELECT)
- Example 641 (OTL stream
pooling)
- Example 642
(otl_stream::set_flush())
- Example 643 (OTL_VALUE_TEMPLATE_ON,
OTL_USER_DEFINED_STRING_CLASS_ON)
- Example 644 (Describe
otl_stream's bind variables)
- Example 645 (otl_stream::clean(),
cancelling SELECT's fetch sequence)
- Example 646
(otl_stream::clean(), cleaning the SELECT stream's error flags)
- Example 647 (#define's
OTL_DEFAULT_XXX_NULL_TO_VAL)
- Example 648 (otl_exception, derived
from a base
class)
- Example 649
(OTL_ADD_NULL_TERMINATOR_STRING_SIZE)
- Example 650 (std::string and TEXT)
- Example 651 (SQL statement label)
- Example 652 (user defined string
class and TEXT)
- Example 653 (OTL tracing)
- Example 654 (Explict bind variables
in SELECT statement column definitions)
- Example 655 (64-bit signed integers)
- Example 656 (OTL stream read
iterator, simple SELECT)
- Example 657 (Strict numeric type
checking on SELECTs)
- Example 658 (Simple Insert/Select,
otl_connect::operator<<, <<=, >>)
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.