Unix Technical Forum

Re: [SQL] delphi access question?

This is a discussion on Re: [SQL] delphi access question? within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Gregory S. Williamson wrote: > Something is not translating CHAR values correctly -- all the fields that you "see" ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 01:08 AM
Andreas Pflug
 
Posts: n/a
Default Re: [SQL] delphi access question?

Gregory S. Williamson wrote:
> Something is not translating CHAR values correctly -- all the fields that you "see" are not char values.
>
> Have no idea off hand *why* this would be ... character encoding differences maybe ?
>
> Greg Williamson
> DBA
> GlobeXplorer LLC
>
> -----Original Message-----
> From: Joel Fradkin [mailto:jfradkin@wazagua.com]
> Sent: Wed 3/30/2005 12:15 PM
> To: pgsql-sql@postgresql.org
> Cc: pgsql-odbc@postgresql.org
> Subject: [SQL] delphi access question?
> One of my applications is in Delphi 5.
> I just went to change it over to Postgres (from MSSQL).
> I am using odbc and something a bit odd is happening.
> I can run a sql statement ok, even in sql builder I see all the fields.
> But the returned result set appears to be missing some of the fields.
> So my table is
> CREATE TABLE tbltranslations
> (
> transnumber int4 NOT NULL,
> clientnum char(4) NOT NULL,
> lastran timestamp,
> lastupdated timestamp,
> firstrowhasheading char(1),
> fixed_delimited char(1),
> tblname varchar(50),
> delimeter char(1),
> textqualifier char(1),
> active bool,
> direction char(1),
> client_filename varchar(250),
> ftp_account int4,
> fixedlenghthascomma char(1),
> ftp_path varchar(250),
> ftp_filename varchar(50),
> fieldname_forid_on_insert varchar(50)
> )
> but only fields
> transnumber
> lastran
> lastupdated
> active
> and ftp_account
> show up as fields I can add to the result.
> Any ideas?


Are you using BDE with psqlodbc 8.0? I've seen problems with that, and
found only 7.0.0200 mostly working; any later version will show the
missing column problem.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

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 08:44 AM.


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