Re: conditional insert with values; insert into .. values(...) where not exist (....);



md wrote:
This is what I wish I could to do.

insert into table_x (a, b, c)
values(1, 2, 3)
where not exist (select * from table_x where a = 2);

Thank you.

Look up 'insert when'.

--
Peter
.