CREATE TABLE pricing.lastpricedetail (
	customer    varchar(255),
	partgroup   varchar(10),
	part_stats  nvarchar(MAX) 
);

 CREATE UNIQUE NONCLUSTERED INDEX lastprice_cust_partgroup ON pricing.lastpricedetail (  customer ASC  , partgroup ASC  );
