Related topics
×
使用關聯
Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
使用關聯

使用 [資料庫關聯圖] 窗格建立關聯

您的瀏覽器不支援視訊。

試試看!

[資料庫關聯圖] 會建立資料表之間的關聯,但在父/子欄之間需要相容的資料類型,而且不會建立查閱清單。

使用 [資料庫關聯圖] 窗格建立關聯

  1. 任何資料庫中都至少有兩個資料表或查詢,請選取 [資料庫工具] > [關聯圖]。

  2. 如果 [關聯圖] 窗格為空白,請將資料表從 [導覽] 窗格拖曳至 [關聯圖] 窗格。

  3. 從父資料表拖曳主索引鍵到子資料表頂端的外部索引鍵。

    使用 [關聯圖] 窗格建立關聯
  4. 選取 [強迫參考完整性]。

  5. 選取 [串聯更新關聯欄位] 和 [串聯刪除關聯記錄]。

  6. 選取 [建立]。

    您已新增兩個資料表之間的關聯,因此您現在可以看到顯示關聯類型 (一對一或一對多) 的線條,並指出哪些欄位有關聯。

  7. 若要儲存關係,請選取儲存儲存

需要更多資訊嗎?

建立、編輯或刪除關聯

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×