Click here to Skip to main content
15,914,010 members
Home / Discussions / Database
   

Database

 
AnswerRe: Add columns to a multiple table Pin
Ashfield30-Jan-08 1:43
Ashfield30-Jan-08 1:43 
GeneralExcluding all items from another table from the database results...in SQL [modified] Pin
new_phoenix29-Jan-08 11:07
new_phoenix29-Jan-08 11:07 
AnswerRe: Excluding all items from another table from the database results...in SQL Pin
GuyThiebaut29-Jan-08 20:35
professionalGuyThiebaut29-Jan-08 20:35 
GeneralNot able to restore a differential database backup Pin
Neeraj Kr29-Jan-08 4:01
Neeraj Kr29-Jan-08 4:01 
Generalsql query Pin
sandhya1429-Jan-08 0:24
sandhya1429-Jan-08 0:24 
GeneralRe: sql query Pin
alexrad29-Jan-08 0:38
alexrad29-Jan-08 0:38 
GeneralRe: sql query Pin
sandhya1429-Jan-08 0:44
sandhya1429-Jan-08 0:44 
GeneralRe: sql query Pin
alexrad29-Jan-08 0:53
alexrad29-Jan-08 0:53 
from BookOnLine

Enforcing Referential Integrity Between Tables
Referential integrity between tables is enforced by default when you create a relationship in your database diagram. An enforced relationship ensures each value entered in a foreign key column matches an existing value in the related primary key column.

You can change the conditions under which referential integrity is enforced by editing the relationship's properties.

To change referential integrity options for a new relationship

In your database diagram, create a relationship. For details, see Creating a Relationship Between Tables.


In the Create Relationship dialog box, clear or select one or more of the options.
For information about the options available for SQL Server databases, see Database Designer Considerations for SQL Server Databases.

To change referential integrity options for an existing relationship

In your database diagram, select the relationship line.


Right-click the relationship line and select Properties.


Choose the Relationships tab.


Select the relationship from the Selected relationship list.


Clear or select one or more of the options.
For information about the options available for SQL Server databases, see Database Designer Considerations for SQL Server Databases.

The relationship is updated in the database when you save the diagram or either of the related tables.
QuestionHow to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
fracalifa29-Jan-08 0:24
fracalifa29-Jan-08 0:24 
AnswerRe: How to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
Kschuler29-Jan-08 4:40
Kschuler29-Jan-08 4:40 
GeneralRe: How to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
fracalifa29-Jan-08 21:41
fracalifa29-Jan-08 21:41 
GeneralRe: How to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
Kschuler30-Jan-08 3:21
Kschuler30-Jan-08 3:21 
GeneralRe: How to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
fracalifa30-Jan-08 4:40
fracalifa30-Jan-08 4:40 
AnswerRe: How to get a multi colum select with one colum SELECT DISTINCT with only one command ? Pin
Pete O'Hanlon29-Jan-08 5:07
mvePete O'Hanlon29-Jan-08 5:07 
GeneralSingle quote error in tsql statement Pin
veereshIndia28-Jan-08 22:22
veereshIndia28-Jan-08 22:22 
GeneralRe: Single quote error in tsql statement Pin
alexrad28-Jan-08 23:32
alexrad28-Jan-08 23:32 
General[Message Deleted] Pin
trilokharry28-Jan-08 17:52
trilokharry28-Jan-08 17:52 
GeneralRe: to get day, month, year seperate from date format Pin
Tobias Schoenig28-Jan-08 19:30
Tobias Schoenig28-Jan-08 19:30 
GeneralRe: to get day, month, year seperate from date format Pin
trilokharry28-Jan-08 20:01
trilokharry28-Jan-08 20:01 
GeneralRe: [Message Deleted] Pin
Colin Angus Mackay29-Jan-08 2:53
Colin Angus Mackay29-Jan-08 2:53 
QuestionMigrate MySQL to SQL Server 2000 or 2005??? Pin
code-frog28-Jan-08 16:20
professionalcode-frog28-Jan-08 16:20 
Questionour forum has msgs > 8K Pin
shefali_sinha28-Jan-08 11:06
shefali_sinha28-Jan-08 11:06 
GeneralRe: our forum has msgs > 8K Pin
Mark Churchill28-Jan-08 13:34
Mark Churchill28-Jan-08 13:34 
GeneralRe: our forum has msgs > 8K Pin
shefali_sinha10-Feb-08 12:29
shefali_sinha10-Feb-08 12:29 
GeneralRe: our forum has msgs > 8K Pin
Mark Churchill10-Feb-08 12:59
Mark Churchill10-Feb-08 12:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.