Link to home
Start Free TrialLog in
Avatar of jedistar
jedistarFlag for Singapore

asked on

How do i create relationships in MS SQL Server

1. How do i create relationships in MS SQL Server?

2. After doing so, do i need to create relationships again in the my
Typed Datasets, .xsd

3. How do i ensure my VS.NET 2003 knows these relationships exists
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

1. this is technically done using FOREIGN KEY constraints. if you are looking for the visualization, use the database diagram

Avatar of jedistar

ASKER

How do i create the fkey contraints
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bharatbutani
bharatbutani

You can create relationships between your tables to show how the columns in one table are linked to columns in another table

This would help you. :- http://msdn2.microsoft.com/en-us/library/ms189049.aspx

Regards
Bharat Butani.