Skip to Content.
Sympa Menu

freetds - Re: Transferring data from Postgres to Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Karthick V" <karthickv AT hclp.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Transferring data from Postgres to Sybase
  • Date: Mon, 23 Sep 2002 09:19:12 +0530


Thanks freddy

I changed the code, and it works fine. Here's the updated one.

;-)
karthick v

/****************************/
tds_submit_query(sybsocket,strsyquery);
while(tds_process_result_tokens(sybsocket)!=TDS_NO_MORE_RESULTS)
{
counter++;
}
counter=0;
/****************************/


----- Original Message -----
From: "Frediano Ziglio" <freddyz77 AT tin.it>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Sunday, September 22, 2002 3:34 PM
Subject: [freetds] Re: Transferring data from Postgres to Sybase


> Il ven, 2002-09-20 alle 08:47, karthick v ha scritto:
> > Hi everyone,
> >
> > I have written a small program in C to transfer records from postgresql
to
> > Sybase. It works fine except that I am able to transfer only one record
> > whereas I need to transfer many records.
> >
> > It would be very good if anyone can tell me what I have done wrong in
the
> > program.
> >
> > application and Postgresql are in Linux and Sybase is in Windows on
> > another machine.
> >
> > can someone help
> >
> > karthick v
> >
>
> Karthick, tds_submit_query submit only the query. You MUST read results
> from sql after that.
>
> freddy77
>
>
>
> ---
> You are currently subscribed to freetds as: [karthickv AT hclp.com]
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page