Ver Mensaje Individual
  #2  
Antiguo 11-10-2004
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 19.435
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Post

Sé que se puede hacer borrando la columna y volviendola a crear, pero talvez exista (casi seguro) una solución más eficiente.

Código SQL [-]
DELETE FROM Tabla1
ALTER TABLE Tabla1 DROP COLUMN CAmpoInc
ALTER TABLE Table1 ADD CampoInc int IDENTITY(1,1)
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita