I believe that your best bet is using an in clause: delete from foo where val in (bar, baz, buz)<BR><BR>The easiest way to know for sure in MSSQL, is put both query batches in to SSMS, and check the ...
SQL is a convenient way to manage and query your data, but badly written queries can tie up your database. Here are seven common SQL traps and how to avoid them. Database developers have it tough.