MSSQL設定外鍵

來源:互聯網
上載者:User

平台 : MS SQL 2008

設定外鍵聯絡,主鍵必須為Unique.一般為Key

設外鍵:

1:

650) this.width=650;" src="http://www.bkjia.com/uploads/allimg/131229/205K410S-0.png" title="QQ20130922224245.png" alt="224315556.png" />

2,在"表和列"面板

650) this.width=650;" src="http://img1.51cto.com/attachment/201309/224652651.png" title="QQ20130922224625.png" alt="224652651.png" />

在1處 , 設定主表及主Key.

本文出自 “Better_Power_Wisdom” 部落格,請務必保留此出處http://aonaufly.blog.51cto.com/3554853/1300279

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.