Skip to Content.
Sympa Menu

freetds - RE: [freetds] freetds is very,very slow when "insert into" sybase 12.5

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gad Hayisraeli" <gadh AT vmanage.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] freetds is very,very slow when "insert into" sybase 12.5
  • Date: Tue, 4 Feb 2003 10:19:29 +0200

> > and "insert into" is with parameters
> >
>
> Something like
>
> SQLPrepare(...,"insert into std_ether_stats(dataSourceIpAddr,....)
> values(?,?,...)");
> SQLExecute(...)
> ??

yes. prepare and then execute , exactly like you wrote , but its wrapped with
some upper control levels , see in bottom
of this msg (data path)



> I suspect first one... Could you post - just some lines - how you set a
> parameter with odbc++ ?
>


its very hard to extract only this code, because as i explained before, its a
multi-tier code based on more than 1
library. here's the data path :

app exe -> app .so (shared lib) -> odbc++ -> odbc driver (freetds)

odbc++ you can download in this link:
http://www.orcane.net/freeodbc++/ (main page)
http://www.orcane.net/freeodbc++/download/0.2.2/libodbc++-0.2.2.tar.gz (src)









Archive powered by MHonArc 2.6.24.

Top of Page