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.
こんにちは、valid という名前のテーブルに batch_id が存在するかどうかを確認するストアド プロシージャがあります。存在する場合は、残りの手順を中止します。私は持っている
If exists(select batch_id from valid Where batch_id=@bid) Raiserror ('file has been extracted already',16,1)
ただし、残りの手順は中止されません