Thread: Re: sequence generator programmatic invocation(preferably

Re: sequence generator programmatic invocation(preferably

From
Alberto Caso
Date:
> Thanks,
>
> So it's just like an ordinary statement.
> What about setval? Is this the right way to invoke it:
> select setval('test', 1, false);

    Yes, it is right. Have a look at
http://www.postgresql.org/idocs/index.php?functions-sequence.html

    Regards,

--
Alberto Caso Palomino
Adaptia Soluciones Integrales
http://www.adaptia.net
alberto.caso@adaptia.net