Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/03/2011, 09:25
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: indice autoincremental

Mira la sentencia ALTER SEQUENCE.
http://www.postgresql.org/docs/9.0/s...rsequence.html

Código SQL:
Ver original
  1. ALTER SEQUENCE secuencia RESTART WITH 1;
__________________
Without data, You are another person with an opinion.
W. Edwads Deming