Re: update multiple columns - Mailing list pgsql-novice

From Oliver Kohll
Subject Re: update multiple columns
Date
Msg-id 200207120015.03507.oliver@gtwebmarque.com
Whole thread Raw
In response to update multiple columns  ("Juliet May" <jmay@speark.com>)
List pgsql-novice
UPDATE growernet_user
SET email='madegn@hotmail.com', username='adegn'
WHERE user_id='696'

?

Oliver

> I am almost 100% positive that I have been able to set multiple columns
> while doing an update statement but for the life of me I can't remember
> exactly how I did it. I tried using parenthesis, comas, and "and" but none
> of it worked. Have I lost my mind. If not, can anyone see my mistake?
>
> My code is below. TIA
>
> Julie
>
>
> update growernet_user
> set email='madegn@hotmail.com'
> set username='adegn'
> where
> user_id=696


pgsql-novice by date:

Previous
From: "Juliet May"
Date:
Subject: update multiple columns
Next
From: "Juliet May"
Date:
Subject: Re: update multiple columns