Re: update question

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Matthew Peter <survivedsushi(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: update question
Date: 2005-12-06 00:33:57
Message-ID: c2d9e70e0512051633o1925aa47s675c1e8dd1893a1b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 12/5/05, Matthew Peter <survivedsushi(at)yahoo(dot)com> wrote:
> it's in a loop so there's an extra comma at the end so i was thinking i
> could put in a throw away value to keep the update from breaking if there's
> an additional comma
>
> Jaime Casanova <systemguards(at)gmail(dot)com> wrote:
> On 12/5/05, Matthew Peter wrote:
> > I need a throw away value for an insert statement... example...
> >
> > update table
> > set value = 1, value = 2, throw_away_value -- so i don't break the query
> > where id = 1;
> >
> > Thanks
> >
>

i guess you are constructing the query in a string and EXECUTEd it...
if that is the case review your logic...

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Sigra 2005-12-06 01:00:18 Re: Database query: Notification about change?
Previous Message Matthew Peter 2005-12-05 23:43:32 Re: update question