Re: simple problem

From: "Hano de la Rouviere" <hano(at)linutech(dot)co(dot)za>
To: "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>, "Daniel Ordobas Bortolas" <bortolas(at)inf(dot)UFSM(dot)br>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: simple problem
Date: 2002-03-06 19:34:03
Message-ID: 002901c1c545$e0dd4f60$c80ba8c0@sabex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

try without the " on ''autor''

where m_name = autor;

http://www.pgexplorer.com
PostgreSQL GUI Tool

----- Original Message -----
From: "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Daniel Ordobas Bortolas" <bortolas(at)inf(dot)UFSM(dot)br>
Cc: <pgsql-sql(at)postgresql(dot)org>
Sent: Wednesday, March 06, 2002 8:20 PM
Subject: Re: [SQL] simple problem

> On Wed, 6 Mar 2002, Daniel Ordobas Bortolas wrote:
>
> >
> > Hello!
> > I am having problems creating a table and i'd like some help.
> >
> > -->create table loco( id_loco int4 not null, primary key (id_loco),
check(
> > (select count(*) from loco ) < 3 ) );
>
> IIRC, check constraints with subselects are not currently supported.
> You can make triggers that do the check for you.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-03-06 20:06:39 Re: simple problem
Previous Message W. McCloud 2002-03-06 19:31:31 createlang pltclu <databasename>