Mysql bulk delete problem

Posted by Nadir on Stack Overflow See other posts from Stack Overflow or by Nadir
Published on 2010-04-04T10:45:22Z Indexed on 2010/04/04 10:53 UTC
Read the original article Hit count: 408

Filed under:
|
|

Hello,

Anybody can help me with this mysql query:

delete from generic__campaings_included where dealer_id not in ('2,3,4') and campaing_id = '1'

When i execute this query i didnt get normal result. Exceot 2 (dealer_id) all rows deleted.

How can i use "not in" with "and" operator?

PS. Sorry for my english)

© Stack Overflow or respective owner

Related posts about mysql

Related posts about bulk