CREATE TABLE CONTROLECODBARRAS(
	Oid INT not null,
	NumPed INT not null,
	CodPro CHAR(5) not null,
	Filial CHAR(2) not null,
    QtdeConferida NUMERIC(13,3),
	CodInterno CHAR(17),
	CodProPai CHAR(5),
	NumOrd INT,
	NumeracaoSerialPai CHAR(16),
	Operacao CHAR(1)
)
go
ALTER TABLE CONTROLECODBARRAS ADD CONSTRAINT PK_CONTROLECODBARRAS PRIMARY KEY(Oid, NumPed, CodPro, Filial)
go
