Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: column and table names



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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group