answersLogoWhite

0


Best Answer

In the table design view, right click the column name of the entity you want to create a relationship with and then select "Relationships" which opens the Properties window with the Relationships tab selected. Click on "New" and then verify the "Primary key table" and "Foreign key table". Select the primary key from the grid below the "Primary key table" name (left side of grid) and then select the column name you right-clicked on earlier from the grid below the " Foreign key table" name (right side of grid). Selecting each one in turn sets the two into the desired relationship.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is a relationship created in SQL Server?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When was SQL Server Management Studio created?

SQL Server Management Studio was created in 2005.


Difference between sql server 2003 sql server 2005?

There is no such thing as SQL Server 2003. Microft released SQL Server 2005 as the next version of SQL Server 2000.


How to backup sql database?

Use program way backup and recovery. Tool repair sql database any version starting with MS SQL Server 2000, including SQL 2005.-------------You can backup SQL server database using SQL Server Management Studio (SSMS), T-SQL or PowerShell.Limitation: Backup created using higher version can't be restored in earlier version of SQL server.


Introduction to sql server?

The nintroduction sql server is are the following


Where could one purchase a Sequel or SQL server?

The Sequel, or SQL, Server is owned by Microsoft. One can purchase an SQL Server from the Microsoft website. Microsoft also offers a free trial of the SQL Server.


Describe IDE of SQL Server 2005?

An IDE for SQL Server 2005 refers to an Integrated Development Environment for SQL Server 2005. This is a tool that can be used by a programmer to create and maintan a SQL server database. Some commonly used IDE tools for SQL Server 2005 are:SQL Server Management StudioTOAD for SQL ServerTOAD for Data Analysts


Diff between sql server 2000 and sql server 2005?

Hi Everybody, I am Vijay.According 2 me the differences are: 1. In SQL Server 2000 the Query Analyzer and Enterprise Manager are seperate,whereas in SQL Server 2005 both were combined as Management Studio. 2. In Sql 2005,the new datatype XML is used,whereas in Sql 2000 there is no such datatype 3. In Sql server2000 we can create 65,535 databases,whereas in Sql server2005 2(pow(20))-1 databases can be created.


What is a SQL Server instance?

An SQL Server instance is a complete SQL server and you can install many instances on a machine but you can have only 1 default instance.


What is the difference between sql and an sql server?

SQL stands for Structured Query Language and is a programming language used to manage and manipulate relational databases. An SQL server, on the other hand, is software specifically designed to store, retrieve, and manage data based on SQL queries. SQL is the language used to interact with an SQL server.


What has the author Louis Davidson written?

Louis. Davidson has written: 'Pro SQL Server 2005 Database Design and Optimization' 'Pro SQL server 2008 relational database design and implementation' -- subject(s): Client/server computing, SQL server 'Pro SQL Server 2005' 'SQL Server 2000 Stored Procedures Handbook (Expert's Voice)'


What has the author Patrick Dalton written?

Patrick Dalton has written: 'SQL server 2000 black book' -- subject(s): Client/server computing, Relational databases, SQL server 'Microsoft SQL Server black book' -- subject(s): Client/server computing, Database management, SQL server


Is there a SQLServer Compact Edition for Linux?

By SQL Server I am assuming you are referring to Microsoft's flavour of SQL. No. There is no version of SQL Server that runs on Linux