From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Marcel Thibault <mthibault(at)novell(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Table Qualifiers in Update Statement |
Date: | 2005-11-01 14:59:19 |
Message-ID: | 20051101145919.GB21137@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Oct 31, 2005 at 10:21:18AM -0700, Marcel Thibault wrote:
> Hello,
>
> are table qualifiers acceptable in UPDATE statements in a PostgreSQL DB.
>
> For instance is this not allowed?
>
> update tablea set tablea.fielda='valuea';
No, but you don't really need to since the table name is already given
in the update statement. Why do you want to give it again?
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2005-11-01 15:02:38 | Re: Oracle 10g Express - any danger for Postgres? |
Previous Message | Tom Lane | 2005-11-01 14:34:20 | Re: Disappearing Records |