Hi there,
How can I (quietly) increment a SEQUENCE without having to use
SELECT, or is there a way to dump the result of a query (SELECT
NEXTVAL('...'))?
Thanks for your help, Martin Kresse
> Hi there,
>
> How can I (quietly) increment a SEQUENCE without having to use
> SELECT, or is there a way to dump the result of a query (SELECT
> NEXTVAL('...'))?
SELECT next_val('seqname');
-- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026
Есть вопросы? Напишите нам!
✖
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.