MySQL Forums
Forum List  »  IBM DB2

Re: porting db2 client code (C/C++) to mysql
Posted by: Hans Horn
Date: March 02, 2007 02:56PM

Well, I figured it out myself.

In case anybody cares, here's the scoop:

#if defined DB2
#include <sqlcli1.h>
#elif defined MYSQL
#include <windows.h>
#include <sql.h>
#include <sqlext.h>
#ifndef SQL_CLOB
#define SQL_CLOB SQL_LONGVARCHAR /* SQL extended data types; see http://doc.51windows.net/mysql/?url=/mysql/ch23.html */
#endif
#endif

H.

Options: ReplyQuote


Subject
Views
Written By
Posted
9051
February 12, 2007 10:20AM
Re: porting db2 client code (C/C++) to mysql
6026
March 02, 2007 02:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.