多分あなたは助けることができます、私は私の問題に対する適切な解決策を見つけられませんでした:
作業環境:
Access 2003
SQL Server 2008 R2 Express
Database (based on Access 2003) containing a few dozens of Tables, related to each other:
- Table "Customers" FOREIGNKEY CustomerID
- Table "Invoice-Header" FOREIGNKEY InvoiceID, with Relationship to Customers-->CustomerID with DELETE/UPDATE Trigger inside MDB
- Table "Invoice-Detail" FOREIGNKEY CNT, with Relationship to Invoice-Header->InvoiceID with DELETE/UPDATE Trigger inside MDB
- Table "Delivery-Header" FOREIGNKEY DeliveryID, with Relationship to Customers-->CustomerID with DELETE/UPDATE Trigger inside MDB
- Table "Delivery-Detail" FOREIGNKEY CNT, with Relationship to Delivery-Header->DeliveryID with DELETE/UPDATE Trigger inside MDB
なぜ私は尋ねるのですか?:
さて、私はこのデータベースを (顧客からのエントリで) 何度も SQL Server データベースにアップサイズしましたが、問題はありませんでした。請求書、納品書の作成) ですが、今回は顧客が SQL Server データベースへのアップサイジング用のデータベースを提供してくれましたが、うまくいきませんでした:
私がしたこと --> 何が起こったのか:
Attempt #1: Upsized as Usual --> Delivery-Header / Delivery-Detail has no upsize_ts but Invoice-Header / Invoice-Detail had (Normally all Tables had upsize_ts field after Upsizing)
Attempt #2: Upsized again after fixing missing Customers in Customers Database --> Delivery-Header / Delivery-Detail has upsize_ts but not Invoice-Header / Invoice-Detail
Attempt #3: Upsized again after copying everything into our Base of this Database (fresh created) --> Delivery-Header / Delivery-Detail has no upsize_ts but Invoice-Header / Invoice-Detail
Upsize-Assistant を中止しないと SQL データベース内に upsize_ts フィールドが作成されないという動作の原因は何ですか? 通常、すべてのテーブルには「upsize_ts」フィールドがありました (Upsize-Assistant でチェックすると、upsize_ts を持っているテーブルもあればチェックしていないテーブルもあったため、チェックされました)。
通常、Upsize-Assistant はデータベースにエラーが発生すると中止しますが、今回はエラーをスローせずにデータベースからすべてのテーブルを変換しますが、upsize_ts フィールドが欠落しています。
さらに詳しい情報が必要な場合は、私に連絡してください。今回、Access 2003 を SQL Server に変換する際に深刻な問題が発生したことに頭がおかしくなりました。