Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 16-May-12 15:42pm
v3

1 solution

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.
 
Share this answer
 
Comments
VJ Reddy 16-May-12 22:19pm    
Good answer. 5!
uspatel 17-May-12 0:46am    
Thanks.....
Maciej Los 18-May-12 10:32am    
Good answer, +5!
uspatel 19-May-12 0:42am    
Thanks.........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900