Thread: Re: About tcp connection

Re: About tcp connection

From
Olleg Samojlov
Date:
Jessie Hui wrote:
> Dear all,
>
> I use a machine to connect to the database by tcp via LAN, i execute select
> SQL statement in the machine to get data from the database, but all the
> value i get is in string format.

How? What client, library?

>
> Then i execute select SQL statement in the same machine as the database
> locate at, and all the value i get is in their proper format( integer, float
> etc)
>
> I dont know why? please help me.
> Best regards,
> Jessie
>
>

--
Olleg Samojlov


Re: About tcp connection

From
"Jessie Hui"
Date:
I use PyGreSQL.
"Olleg Samojlov" <olleg@telecom.mipt.ru> ?????
news:b5c904$kkp$2@news.hub.org...
> Jessie Hui wrote:
> > Dear all,
> >
> > I use a machine to connect to the database by tcp via LAN, i execute
select
> > SQL statement in the machine to get data from the database, but all the
> > value i get is in string format.
>
> How? What client, library?
>
> >
> > Then i execute select SQL statement in the same machine as the database
> > locate at, and all the value i get is in their proper format( integer,
float
> > etc)
> >
> > I dont know why? please help me.
> > Best regards,
> > Jessie
> >
> >
>
> --
> Olleg Samojlov
>