Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
How do you set relations in sql for tables
How do you set relations in sql for tables
Rate Topic
Display Mode
Topic Options
Author
Message
lonhanner
lonhanner
Posted Sunday, October 21, 2012 10:20 AM
SSC Rookie
Group: General Forum Members
Last Login: Friday, February 22, 2013 11:14 AM
Points: 39,
Visits: 141
I have several tables and need to set relationships. How do you do this with the sql server manager?
Thanks Lon
Post #1375180
ib.naji
ib.naji
Posted Sunday, October 21, 2012 12:36 PM
SSC Journeyman
Group: General Forum Members
Last Login: Today @ 9:37 PM
Points: 91,
Visits: 108,462
lonhanner (10/21/2012)
I have several tables and need to set relationships. How do you do this with the sql server manager?
Here is an article on
creating foreign key relationships in SQL Server
This contains instructions for how to setup this type of key in SSMS (or SQL Data Tools), or through DDL SQL commands. If you have a specific scenario then please feel free to post it for someone to help you.
-----------------
... Then again, I could be totally wrong! Check the answer.
Check out posting guidelines here for faster more precise answers
.
I believe in Codd
... and
Thinknook
is my Chamber of Understanding
Post #1375197
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.