Ver Mensaje Individual
  #3  
Antiguo 31-01-2005
Avatar de __hector
[__hector] __hector is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Santo Domingo, Rep. Dom.
Posts: 1.075
Reputación: 23
__hector Va por buen camino
Puedes modificar el contenido de un campo autonumerico, igual como lo harias con cualquier otro campo. Solo tienes que activar la propiedad IDENTITY_INSERT en la tabla en cuestion, y ejecutar la actualizacion.

Un breve ejemplo del Books Online:

Código:
SET IDENTITY_INSERT products ON
GO

-- Attempt to insert an explicit ID value of 3
INSERT INTO products (id, product) VALUES(3, 'garden shovel').
GO
__________________
Héctor Geraldino
Software Engineer
Responder Con Cita