Re: Inc
От | Andreas Kretschmer |
---|---|
Тема | Re: Inc |
Дата | |
Msg-id | 20070306175407.GA20988@KanotixBox обсуждение исходный текст |
Ответ на | Re: Inc (Richard Broersma Jr <rabroersma@yahoo.com>) |
Ответы |
Re: Inc
|
Список | pgsql-sql |
Richard Broersma Jr <rabroersma@yahoo.com> schrieb: > --- Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> wrote: > > > Thank you but I must inc an specific row. How to do that ? > > > > Does, > > UPDATE your_table > SET your_row = your_row +1 > WHERE your_pkey = <some value>; > > not do what you need? I think, he is searching for a TRIGGER and he has got the solution. Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknow) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
В списке pgsql-sql по дате отправления: