• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

foreign keys

Quick question, in MS SQL Server enterprise manager, how can I create a foreign key constraint on one or more of the attributes of a table?  Thanks.
0
ARACK04
Asked:
ARACK04
  • 2
2 Solutions
 
rafranciscoCommented:
Go to Design Table, click on Relationships and click New.  You can select multiple columns from this and not just one.
0
 
obahatCommented:
Goto the tables listing, rightclick --> design table --> goto the relationship/references tab.
(don't have exact name for the tab, Just installed Yukon and my console is down) :).

0
 
ARACK04Author Commented:
I'm using one computer with Version 5.0 and another with 5.2, and I don't see a way to do what you said on either.  
0
 
ARACK04Author Commented:
Got it, you have to create a new diagram, and do it that way.  Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now