私は実際に次の説明を達成したい
これは私がサーバーに渡したいテーブル引数です
<items>
<item category="cats">1</item>
<item category="dogs">2</item>
</items>
SELECT * FROM Item
WHERE Item.Category = <one of the items in the XML list>
AND Item.ReferenceId = <the corresponding value of that item xml element>
--Or in other words:
SELECT FROM Items
WHERE Item IN XML according to the splecified columns.
私は十分にクリアですか?
xml以外の方法でそれを行ってもかまいません。必要なのは、2つの列の値の配列に一致する値を選択することです。