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

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