0

テーブルtarRecurInvcLineDSに存在するテーブルtciSTranのレコードを更新しようとしています。

これが私が書いたクエリです...

 update [mas500_test_app].[dbo].[tciSTaxTran] 
 set STaxSchdKey = 310
 where STaxTranKey in
 (select STaxTranKey  from [mas500_test_app].[dbo].[tarRecurInvcLineDs] 

このエラーが発生します

Unable to update the tciSTaxTran record because it is trying to reference a record in tciSTaxSchedule that does not exist.

4

1 に答える 1

1

tciSTaxTran.STaxSchdKeyとtciSTaxScheduleテーブルの間に外部キーがあるようです。tciSTaxScheduleテーブルには、主キーが?の行があり310ますか?

于 2012-12-26T19:22:41.303 に答える