Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PKのコンマで削除された文字列(int)をSQLストアドプロシージャに渡したい。次に、procは、各PKを含むwhere句を使用して、テーブルに対して更新ステートメントを実行します。
これを行うための最良の方法は何ですか?
もっと情報が必要です。たとえば、更新がテーブル (結合) からの情報を使用する場合、または行の情報が同じ情報で更新される場合は、次を使用できます。
Update tableName set .... where tableName.id in @strOfIdsPassedIn