原键参考 [英] forigen key reference

查看:96
本文介绍了原键参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

emp_no字段中的主表在那里

在4个字段中的other表中,如何在forigen键引用中为emp_no字段赋予这四个表.

Dear All,

Master table in emp_no field is there

others table in 4 fields is there how to give the emp_no field these four tables in forigen key reference.

推荐答案

您可以通过多种方式使用它
见这里
http://msdn.microsoft.com/en-us/library/ms189049.aspx [
You can use this in various ways
See here
http://msdn.microsoft.com/en-us/library/ms189049.aspx[^]
If you are using SQL server mgmt studio,Just create database diagram aand make relation ship in tables.It automatically creates relationships.


这篇关于原键参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆