Re: column and table names

From: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
To: "'stephen`'" <mail(at)xesoftware(dot)com(dot)au>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: column and table names
Date: 2007-04-26 22:49:42
Message-ID: 003301c78855$2da62790$9b0014ac@wbaus090
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Try using double quotes:

. WHERE table_name ="marketLayout"

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of stephen`
Sent: Thursday, 26 April 2007 17:54
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] column and table names

This one works, but the column name one below doesn't.

SELECT column_name FROM information_schema.columns WHERE table_name
='marketLayout'

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Phillip Smith 2007-04-26 22:52:56 Re: How long does commit take?
Previous Message Phillip Smith 2007-04-26 22:48:17 Re: pg_dump