Re: Boolean test

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rudi Starcevic <rudi(at)oasis(dot)net(dot)au>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Boolean test
Date: 2002-03-15 05:10:05
Message-ID: Pine.LNX.4.30.0203150009030.970-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Rudi Starcevic writes:

> I can't see why my sql here is throwing an error,

(Next time it might be nice to show *what* error...)

> SELECT *
> FROM plan_template
> WHERE public = true;

"public" is a reserved word. You need to double-quote it to be able to
use it.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Llew Sion Goodstadt 2002-03-15 12:46:17 Re: where not exists
Previous Message Christopher Kings-Lynne 2002-03-15 04:58:02 Re: Boolean test