IF NOT EXISTS(select * from sys.indexes where name = 'UIX_T_GEN_NUMBERS_EnitityID_NumberName' and object_id = OBJECT_ID('VCLib.T_GEN_NUMBERS'))
BEGIN
	create unique index UIX_T_GEN_NUMBERS_EnitityID_NumberName on VCLib.T_GEN_NUMBERS (EntityID, NumberName)
END