Someone wrote in [personal profile] robbat2 2010-03-16 09:14 pm (UTC)

Using values function to build a table on the fly appears to work:

create table foo(
bid int primary key,
rid int);

insert into foo (bid, rid) values (1,2);

insert into foo (bid, rid) values (2,3);

insert into foo
select bid, rid
from (values (1, 2),(2,3),(3,4)) as li(bid, rid)
where (bid, rid) not in (select bid, rid from cms.test);

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org