Re: psqlODBC text length with no records - Mailing list pgsql-odbc

From Adrian Klaver
Subject Re: psqlODBC text length with no records
Date
Msg-id 53738B4D.1030507@aklaver.com
Whole thread Raw
In response to psqlODBC text length with no records  (Barry Bell <Barry.Bell@hartehanks.com>)
Responses Re: psqlODBC text length with no records
List pgsql-odbc
On 05/14/2014 07:29 AM, Barry Bell wrote:
> Behavior seems different if you get the text from table vs fixed value.
>
> The  select 'ABCDE' from dual   return a text(longchar, memo),
> The select initcap(varcharfield) from varchartable  returns varchar
> The select initcap(varcharfield) from varchartable where 1=0  returns text(longchar, memo),

Where are you determining the data types?

In other words you run the SQL where and you see the output and data
type where?


>
>
>
> Barry Bell


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-odbc by date:

Previous
From: Dev Kumkar
Date:
Subject: Re: ODBC : SQLGetData question
Next
From: Adrian Klaver
Date:
Subject: Re: psqlODBC text length with no records