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.
行のデータが間違っている場合、各テーブルにフラグ値を「N」として保持する列があります。このフラグ列は、検証スクリプトを実行することで更新されます。スクリプトを実行する前に、これらの列を「Y」に設定する必要があります。
EXEC sp_MSforeachtable 'UPDATE ? SET YourColumn = ''Y'''