if exists (select * from sys.indexes i where i.object_id = object_id('STOR.T_CONTRACT_ELEMENTS', 'U') and i.name = 'UIX_T_CONTRACT_ELEMENTS_LotNumber') 
	DROP INDEX UIX_T_CONTRACT_ELEMENTS_LotNumber ON STOR.T_CONTRACT_ELEMENTS;
GO

if exists (select * from sys.indexes i where i.object_id = object_id('STOR.T_CONTRACT_ELEMENTS', 'U') and i.name = 'UIX_T_CONTRACT_ELEMENTS_SupplierContract') 
	DROP INDEX UIX_T_CONTRACT_ELEMENTS_SupplierContract ON STOR.T_CONTRACT_ELEMENTS;
GO
