70 lines
4.7 KiB
HTML
70 lines
4.7 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="Code directly to ODBC APIs" />
|
||
|
<meta name="abstract" content="Many PC applications make ODBC calls that allow the user to seamlessly access data on different platforms. Before you begin developing your own application with ODBC APIs, you should understand how an ODBC application connects to and exchanges information with a database server." />
|
||
|
<meta name="description" content="Many PC applications make ODBC calls that allow the user to seamlessly access data on different platforms. Before you begin developing your own application with ODBC APIs, you should understand how an ODBC application connects to and exchanges information with a database server." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikodbcapiinfo.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikcallingsp.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikextfetch.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikblockinserts.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikvb5jetodbc.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="directcodeodbcapis" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Code directly to ODBC APIs</title>
|
||
|
</head>
|
||
|
<body id="directcodeodbcapis"><a name="directcodeodbcapis"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Code directly to ODBC APIs</h1>
|
||
|
<div><p>Many PC applications make ODBC calls that allow the user to seamlessly
|
||
|
access data on different platforms. Before you begin developing your own application
|
||
|
with ODBC APIs, you should understand how an ODBC application connects to
|
||
|
and exchanges information with a database server.</p>
|
||
|
<div class="section"><div class="p">There are supported ODBC APIs that: <ul><li>Set up the ODBC environment</li>
|
||
|
<li>Establish and end connections to data sources</li>
|
||
|
<li>Execute <span class="keyword">SQL</span> statements</li>
|
||
|
<li>Clean up the ODBC environment</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzaikcallingsp.htm">Call stored procedures</a></strong><br />
|
||
|
Use stored procedures to improve the performance and function of an ODBC application.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikextfetch.htm">Block insert and block fetch C example</a></strong><br />
|
||
|
Block inserts and block fetches can be used to enhance the performance of an ODBC application.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikblockinserts.htm">Example: Block inserts using Visual Basic</a></strong><br />
|
||
|
This example is a Visual Basic block insert that is significantly faster than a "parameterized" insert.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikvb5jetodbc.htm">Visual Basic: The compromise between Jet and ODBC APIs</a></strong><br />
|
||
|
While the database objects are easy to code, they sometimes can
|
||
|
adversely affect performance. Coding to the APIs and to stored procedures
|
||
|
can be a frustrating endeavor. Fortunately, if you are using Visual Basic
|
||
|
Enterprise Edition in the Windows<sup>®</sup> 95 environment, there are additional
|
||
|
options. These options are a good compromise between the usability of database
|
||
|
objects and the high performance of APIs: Remote Data Objects (RDO) and Remote
|
||
|
Data Control (RDC).</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikodbcapiinfo.htm" title="Identify the files required to build an ODBC application.">Files required to build an ODBC application</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|