in Ihrem Fall warum nicht verwenden?
INSERT INTO B(`ad_advertiser`, `ad_ln`, `ad_expire`)
SELECT (`ad_advertiser`, `ad_ln`, `ad_expire`)
FROM A
WHERE YEAR( ad_expire ) <= 2012
in Ihrem Fall warum nicht verwenden?
INSERT INTO B(`ad_advertiser`, `ad_ln`, `ad_expire`)
SELECT (`ad_advertiser`, `ad_ln`, `ad_expire`)
FROM A
WHERE YEAR( ad_expire ) <= 2012