I\'m trying to insert some mock payment info into a dev database with this query:
INSERT INTO Payments(Amount) VALUES(12.33) WHERE Paymen
i do inserts into a table if the record doesn't exist this way. may not be entirely what is after but it may be helpful
insert into x (a,b) select 1,2 where 0=(select count(*) from x where a = 1 and b = 2)