Re: column and table names - Mailing list pgsql-novice

From John DeSoi
Subject Re: column and table names
Date
Msg-id 6BB62513-A48F-4308-B674-262225A7CDC1@pgedit.com
Whole thread Raw
In response to column and table names  ("stephen`" <mail@xesoftware.com.au>)
List pgsql-novice
The column query should work assuming the table name is correct. Your
table name may be case folded, so try with a lowercase 'L', e.g.
'marketlayout'

John




On Apr 26, 2007, at 3:53 AM, stephen` wrote:

> SELECT table_name FROM information_schema.tables WHERE table_schema
> = 'public'
>
>
>
> This one works, but the column name one below doesn’t.
>
>
>
>
>
> SELECT column_name FROM information_schema.columns WHERE table_name
> ='marketLayout'
>
>
>
> Can anyone tell me how to get the wording right?



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: "Michael Swierczek"
Date:
Subject: Re: custom crosstab question
Next
From: Francois Deliege
Date:
Subject: Re: moving data from windows to linux