Re: update multiple columns

From: "Juliet May" <jmay(at)speark(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: update multiple columns
Date: 2002-07-11 23:26:36
Message-ID: 00d001c22932$66678880$a1d2a8c0@sweetbeet2k
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Duh!! My stupid! End of the day error I guess. Thanks for the help. I
shoulda known better :)
Julie
----- Original Message -----
From: "Michael Paesold" <mpaesold(at)gmx(dot)at>
To: <pgsql-novice(at)postgresql(dot)org>
Sent: Thursday, July 11, 2002 5:21 PM
Subject: Re: [NOVICE] update multiple columns

> "Juliet May" <jmay(at)speark(dot)com> wrote:
>
> > The comma gives me a parse error at or near "username". Without the
comma
> I
> > get a parse error at or near "set".
> >
> > Any other suggestions?
> >
> > ----- Original Message -----
> > From: "Oliver Kohll" <oliver(at)gtwebmarque(dot)com>
> > To: <pgsql-novice(at)postgresql(dot)org>
> > Sent: Thursday, July 11, 2002 6:15 PM
> > Subject: Re: [NOVICE] update multiple columns
> >
> >
> > UPDATE growernet_user
> > SET email='madegn(at)hotmail(dot)com', username='adegn'
> > WHERE user_id='696'
>
> Did you try this exact query?
>
> update growernet_user set email='madegn(at)hotmail(dot)com', username='adegn'
where
> user_id=696;
>
> only one "set"? only one comma between the two field=value pairs?
>
> Michael
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Kohll 2002-07-12 00:15:03 Re: update multiple columns
Previous Message Michael Paesold 2002-07-11 23:21:55 Re: update multiple columns