📄 otl4_mysql_odbc25_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 MySQL / MyODBC 2.5</title>
</head>
<body>
<center>
<h1> OTL 4.0, Examples for MySQL / MyODBC 2.5</h1>
<div style="text-align: left;">
The examples below work with MySQL via MyODBC 2.5. In general, all of
these examples should work with any more or less recent versions
of MySQL, when
MyODBC 2.5 is enabled in OTL by setting
#define <a href="otl3_compile.htm#OTL_ODBC_MYSQL">OTL_ODBC_MYSQL </a>.
For more
examples, see the <a href="otl4_gen_odbc_examples.htm">Generic ODBC</a>
examples.</div>
</center>
<ul>
<ul>
</ul>
</ul>
<ol>
<li> <b><a href="otl3_ex78.htm">Example 78 (Simple
Insert/Select/Update, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex79.htm">Example 79 ("Incompatible
datatypes
in stream operation" exception, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex80.htm">Example 80 (otl_datetime container
and datetime/date table columns, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex81.htm">Example 81 (otl_long_string
container and LONGTEXT column, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex82.htm">Example 82 (otl_long_string
container and LONGBLOB column, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex83.htm">Example 83 (std::string and
STL-compliant stream iterators, MyODBC 2.50)</a></b></li>
<li> <b><a href="otl3_ex84.htm">Example 84
(otl_stream::describe_select() with a simple Select, MyODBC 2.50)</a></b></li>
<li><b><a href="otl3_ex128.htm">Example
128 (Insert/Update/Select
with MySQL LONGTEXT in stream mode)</a></b></li>
<li><b><a href="otl3_ex129.htm">Example
129 (Insert/Update/Select
with MySQL LONGBLOB in stream mode)</a></b></li>
<li><b><a href="otl4_ex215.htm">Example
215
(OTL_ADD_NULL_TERMINATOR_STRING_SIZE, MySQL)</a></b></li>
</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>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -