Re: Simple PG Sql question (i hope)

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Simple PG Sql question (i hope)
Date: 2005-08-08 20:05:13
Message-ID: 42F7BAF9.7010207@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I don't think I was clear enough.

I know about using the AS keyword, that is not the problem.
The query in issue is:

select true,78,'Here is a value' as stringfield, testname from tbltest

Is returning the string as TYPE Unknown, not the column name. The
column name comes back as stringfield because of the AS keyword.

You can see the type in tools such as PG Admin etc

Thanks,

Tony

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2005-08-08 20:23:35 Re: AMD 64 RPM?
Previous Message Joshua D. Drake 2005-08-08 19:59:37 Re: AMD 64 RPM?