Hola y gracias por ver mi mensaje.
Quiero hacer una llave primaria y aqui esta la sentencia que uso
Código SQL
[-]ALTER TABLE DETALLE_PLANILLA ADD CONSTRAINT PK_DETALLE_PLANILLA PRIMARY KEY (ID_REG)
pero me genera el siguiente error
Código SQL
[-]ISC ERROR MESSAGE: attempt to store duplicate value (visible to active transactions) in unique index "PK_DETALLE_PLANILLA"