CREATE TABLE LogFinPrendas ( 
TipDoc VARCHAR(3) NOT NULL,
IdPrestamo INT DEFAULT ((0)) NOT NULL,
IdCia CHAR(2) NOT NULL,
Item INT DEFAULT ((0)) NOT NULL,
ImgPrenda IMAGE
 CONSTRAINT PK_LogFinPrendas PRIMARY KEY CLUSTERED (TipDoc,IdPrestamo,IdCia,Item))
GO