Unix Technical Forum

DB-Library to ODBC function mappings

This is a discussion on DB-Library to ODBC function mappings within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I am migrating an SQL Server application from the DB-Library API to ODBC. In order to avoid application-level code ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:34 PM
Mickey Ward
 
Posts: n/a
Default DB-Library to ODBC function mappings

I am migrating an SQL Server application from the DB-Library API to
ODBC. In order to avoid application-level code changes, I was planning
to create an ODBC interface written to the DB-Lib specification as a
replacement module for NTWDBLIB.DLL, where a call to "dbopen" would
perform a "SQLDriverConnect" under the covers, for example. I realize
there will be a performance cost for the additional layer, but that's
a trade-off I'm willing to accept for zero application code changes.

This being a bit tedious, I was wondering if anyone knows of a
Microsoft (or otherwise) document listing the mappings between these
two interfaces, since they are functionally very similar.

In other words, a list something like this...

DB-Library..............ODBC
dbbind..................SQLBindCol
dbcancel................SQLCancel
dbcanquery..............SQLCloseCursor
dbclose.................SQLDisconnect
etc...

The other question I have related to this idea concerns that of
copyright protection. Is it even legal to do what I am proposing to
do? That is, use the DB-Libary interface specification as the basis
for my own code?

TIA,
Mickey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com