| From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Inc |
| Date: | 2007-03-06 17:54:07 |
| Message-ID: | 20070306175407.GA20988@KanotixBox |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Richard Broersma Jr <rabroersma(at)yahoo(dot)com> schrieb:
> --- Ezequias Rodrigues da Rocha <ezequias(dot)rocha(at)gmail(dot)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°
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ezequias Rodrigues da Rocha | 2007-03-06 18:02:07 | Re: Inc |
| Previous Message | Andreas Kretschmer | 2007-03-06 17:46:49 | Re: Inc |