在 Visual Studio 2010 的 SQL Server Compact Edition 中(可能是 SQL Server 和一般的 SQL,我不知道),此命令有效:
DELETE FROM foods WHERE (name IN ('chickens', 'rabbits'))
但是此命令会产生以下错误:Error near identifier f. Expecting OUTPUT.
DELETE FROM foods f WHERE (f.name IN ('chickens', 'rabbits'))