ALTER TABLE dbo.proOPDetalleNP
  ADD CONSTRAINT PK_proOPDetalleNP_1 PRIMARY KEY (idOP, NP, idlinea)