On Mon, Oct 11, 2004 at 08:55:27PM -0500, William Diaz Pab�n wrote: > > Como puedo hacer para reiniciar una secuencia? > > Tengo un campo como serial (autnomunerico) pero cuando elimino registro me > quedan espacios, y quiero reiniciar la secuencia.
I think you're looking for ALTER SEQUENCE or setval(). You might wish to subscribe to pgsql-es-ayuda: http://archives.postgresql.org/pgsql-es-ayuda/ -- Michael Fuhr http://www.fuhr.org/~mfuhr/ ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
