📄 otl4_mysql_odbc35_examples.htm
字号:
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta content="text/html; charset=iso-8859-1"
http-equiv="Content-Type">
<meta content="Sergei Kuchin" name="Author">
<meta content="Mozilla/4.77 [en] (Win95; U) [Netscape]"
name="GENERATOR">
<meta
content="OTL, Oracle, ODBC, DB2, CLI, database API, C++, Template Library"
name="KeyWords">
<title>OTL 4.0, Examples for MySQL / MyODBC 3.5</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for MySQL / MyODBC 3.5</h1>
<div style="text-align: left;">
The examples below work with MySQL via MyODBC 3.5. In general, all of
these examples should work with any more or less recent versions
of MySQL, when ODBC is enabled in OTL by setting
#define <a href="otl3_compile.htm#OTL_ODBC">OTL_ODBC</a>.
For more
examples, see the <a href="otl4_gen_odbc_examples.htm">Generic ODBC</a>
examples.<br>
<br>
<ol>
<li><b><a href="otl3_ex225.htm">Example
225 (Simple Insert/Select/Update, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex226.htm">Example
226 ("Incompatible
datatypes in stream operation" exception, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex227.htm">Example
227 (otl_datetime
container and datetime/date table columns, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex228.htm">Example
228 (otl_long_string
container and LONGTEXT column, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex229.htm">Example
229 (otl_long_string
container and LONGBLOB column, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex230.htm">Example
230 (std::string and
STL-compliant stream iterators, MyODBC 3.50)</a></b></li>
<li><b><a href="otl3_ex231.htm">Example
231
(otl_stream::describe_select() with a simple Select, MyODBC 3.50)</a></b></li>
<li><b><a href="otl4_ex344.htm">Example 344
(otl_stream_read_iterator, "get by name" functions, MySQL)</a></b></li>
<li> <b><a href="otl4_ex375.htm">Example 375
(Simple Insert/Select,
otl_connect::operator<<, <<=, >>)</a></b></li>
<li><b><a href="otl4_ex382.htm">Example 382
(Insert/Update/Select, MySQL LONGTEXT in stream mode, and
std:strings)</a></b></li>
<li><b><a href="otl4_ex452.htm">Example 391 (Insert/Update/Select
with MySQL LONGTEXT in stream mode, without
otl_lob_stream::set_len())</a></b></li>
<li><b><a href="otl4_ex392.htm">Example 392 (Insert/Update/Select
with MySQL LONGBLOB in stream mode, without
otl_lob_stream::set_len())</a></b></li>
<li><b><a href="otl4_ex452.htm">Example 452 (Simple
Insert/Select
with VARBINARY datatype)</a></b></li>
<li><b><a href="otl4_ex453.htm">Example 453 (Simple Insert/Select
with BINARY datatype)</a></b></li>
<li><b><a href="otl4_ex463.htm">Example 463
(Simple Insert/Select
with VARBINARY datatype and otl_stream_read_iterator)</a></b></li>
<li><b><a href="otl4_ex464.htm">Example
464 (Simple Insert/Select
with BINARY datatype and otl_stream_read_iterator)</a></b></li>
<li><b><a href="otl4_ex675.htm">Example 675 (Simple
Insert/Select/Update #define OTL_ODBC_MULTI_MODE)</a></b></li>
</ol>
<b><a href="otl4_ex375.htm"></a></b></div>
</center>
<ul>
<ul>
</ul>
</ul>
<ol>
</ol>
<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>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5456201-1");
pageTracker._trackPageview();
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -