📄 otl4_sybsql_freetds_examples.htm
字号:
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="Author" content="Sergei Kuchin">
<meta name="GENERATOR"
content="Mozilla/4.77 [en] (Win95; U) [Netscape]">
<meta name="KeyWords"
content="OTL, Oracle, ODBC, DB2, CLI, database API, C++, Template Library">
<title>OTL 4.0, Examples for Sybase SQL Server/ FreeTDS ODBC</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for Sybase SQL Server / FreeTDS ODBC</h1>
<div style="text-align: left;">
The examples below work with Sybase SQL Server 15.0 for Linux and
Windows via <a href="http://freetds.org">FreeTDS</a> ODBC. The
underlying
database
had "allow NULLs by
default", and "ddl in transactions" enabled.<br>
<br>
<ol>
<li><b><a href="otl4_ex547.htm">Example 547 (Sybase SQL Server
stored
procedure call)</a></b></li>
<li><b><a href="otl4_ex548.htm">Example 548 (TIMESTAMP_STRUCT and
Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex549.htm">Example 549 (Sybase SQL Server and
TEXT
column)</a></b></li>
<li><b><a href="otl4_ex550.htm">Example 550 (Sybase SQL Server
and
IMAGE
column)</a></b></li>
<li><b><a href="otl4_ex551.htm">Example 551 (Sybase SQL Server:
otl_stream::describe_select() and result sets)</a></b></li>
<li><b><a href="otl4_ex552.htm">Example 552 (Datatype override in
SELECT, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex553.htm">Example 553 (Simple Insert/Select
and otl_stream::clean() function for OTL/ODBC and Sybase SQL
Server)</a></b></li>
<li><b><a href="otl4_ex554.htm">Example 554 (STL std::strings, ANSI
C++ typecasts, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex555.htm">Example 555 (STL-compliant OTL/ODBC
stream iterators, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex556.htm">Example 556 (#define
OTL_UNCAUGHT_EXCEPTION_ON, ODBC / Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex557.htm">Example 557 (#define
OTL_EXTENDED_EXCEPTION, ODBC / Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex558.htm">Example 558 (OTL/ODBC and bulk
operations with Sybase SQL Server's TEXT)</a></b></li>
<li><b><a href="otl4_ex559.htm">Example 559 (Group data type
override in SELECT, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex560.htm">Example 560 (Describe
otl_stream's
bind variables for Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex561.htm">Example 561
(set_transaction_isolation_level, ODBC, Sybase SQL )</a></b></li>
<li><b><a href="otl4_ex562.htm">Example 562 (external logon,
ODBC, Sybase SQL )</a></b></li>
<li><b><a href="otl4_ex563.htm">Example 563 (otl_stream::clean(),
cancelling SELECT's fetch sequence, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex564.htm">Example 564 (otl_stream::clean(),
cancelling Result Set's fetch sequence, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex565.htm">Example 565 (otl_stream::clean(),
cleaning the Result Set stream's error flags, Sybase SQL Server )</a></b></li>
<li><b><a href="otl4_ex566.htm">Example 566 (otl_datetime
container with Datetime values down to milliseconds in Sybase SQL
Server)</a></b></li>
<li><b><a href="otl4_ex567.htm">Example 567 (otl_exception,
derived from a base class, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex568.htm">Example 568
(OTL_ADD_NULL_TERMINATOR_STRING_SIZE,Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex569.htm">Example 569 (std::string and
TEXTs, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex570.htm">Example 570 (SQL statement label,
Sybase SQL Server)</a></b></li>
<li> <b><a href="otl4_ex571.htm">Example 571
(OTL/ODBC, accessing the system data dictionary via ODBC functions,
Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex572.htm">Example 572 (OTL/ODBC, accessing
the system data dictionary via ODBC functions, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex573.htm">Example 573 (OTL/ODBC, accessing
the system data dictionary via ODBC functions, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex574.htm">Example 574 (user defined string
class and TEXTs, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex575.htm">Example 575 (OTL tracing, ODBC,
Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex576.htm">Example 576 (Explict bind variables
in SELECT statement column definitions,
ODBC, Sybase SQL Server)</a></b></li>
<li><b><a href="otl4_ex577.htm">Example 577 (#define
OTL_THROWS_ON_SQL_SUCCESS_WITH_INFO, ODBC, Sybase
SQL Server)</a></b></li>
<li><b><a href="otl4_ex578.htm">Example 578 (OTL stream read
iterator, simple SELECT, Sybase SQL / ODBC)</a></b></li>
<li><b><a href="otl4_ex579.htm">Example 579 (OTL stream read
iterator, implicit result set, Sybase SQL /
ODBC)</a></b></li>
<li><b><a href="otl4_ex580.htm">Example 580 (Strict numeric type
checking on SELECTs)</a></b></li>
<li><b><a href="otl4_ex581.htm">Example 581 (OTL stream read
iterator, "get by name" functions, Sybase SQL / ODBC)</a></b></li>
<li><b><a href="otl4_ex582.htm">Example 582
(Simple Insert/Select,
otl_connect::operator<<, <<=, >>)</a></b></li>
<li value="52"><b><a href="otl4_ex583.htm">Example 583 (Simple
Insert/Select
with VARBINARY datatype)</a></b></li>
<li value="54"><b><a href="otl4_ex584.htm">Example 584
(Simple Insert/Select
with VARBINARY datatype and otl_stream_read_iterator)</a></b></li>
</ol>
<ul>
</ul>
<center>
<hr width="100%">
<p><a href="otl3_const_sql.htm">Prev</a> <a href="otl3_compile.htm">Next</a><a
href="otl3.htm">Contents</a><a href="home.htm">Go Home</a></p>
</center>
<p>Copyright © 1996, 2008, Sergei Kuchin, email: <a
href="mailto:skuchin@aceweb.com">skuchin@aceweb.com</a>, <a
href="mailto:skuchin@gmail.com">skuchin@gmail.com
<script language="JavaScript"><!-- hide from old browsers
var modDate = new Date(document.lastModified)
document.write("<i> Last Updated:</i> " + (modDate.getMonth()+1) + "/" +
modDate.getDate() + "/" + "0"+(modDate.getYear())%100+".");
//-->
</script></a>.</p>
<p><i>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.</i> </p>
</div>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -