• 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.
  • 2
2 Solutions
Go to Design Table, click on Relationships and click New.  You can select multiple columns from this and not just one.
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) :).

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.  
ARACK04Author Commented:
Got it, you have to create a new diagram, and do it that way.  Thanks!
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