Re: column does not exist error

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: column does not exist error
Date: 2009-11-18 13:33:37
Message-ID: he0t3g$n4i$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Coventry, 18.11.2009 14:23:
> Tearing my hair out, can anyone see what I'm doing wrong?
>
> SELECT title FROM node WHERE type=client;
>
> ERROR: column "client" does not exist
> LINE 1: SELECT title FROM node WHERE type=client;
>

You are missing the quotes to identify a character literal:

SELECT title FROM node WHERE type='client';

Thomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Markus 2009-11-18 13:35:29 Re: column does not exist error
Previous Message Naoko Reeves 2009-11-18 13:31:57 Re: column does not exist error