Re: update question
| От | Jaime Casanova |
|---|---|
| Тема | Re: update question |
| Дата | |
| Msg-id | c2d9e70e0512051633o1925aa47s675c1e8dd1893a1b@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: update question (Matthew Peter <survivedsushi@yahoo.com>) |
| Список | pgsql-sql |
On 12/5/05, Matthew Peter <survivedsushi@yahoo.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@gmail.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 ;)
В списке pgsql-sql по дате отправления: