if (select count(*) from System_Default where Default_Value in ('157', '188', '225', '268', '284', '315') and Default_Name = 'Main_Store_ID') > 0 begin if (select count(*) from Denomination where Single_Value = '3000.00') = 0 begin insert into Denomination(Description, Single_Value) values ('N$ 30''s', 3000.00) end end go