Difference between revisions of "Sales.ContactCreditCard (table)"
Line 12: | Line 12: | ||
+ | === Columns === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 40: | Line 41: | ||
|} | |} | ||
+ | === Primary Key === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 49: | Line 51: | ||
|} | |} | ||
+ | === Foreign Keys === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 65: | Line 68: | ||
|} | |} | ||
+ | === References === | ||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Dependency Type | ||
+ | | '''Object Type | ||
+ | | '''Referenced Object | ||
+ | |||
+ | |- | ||
+ | | Schema | ||
+ | | Schema | ||
+ | | [[Sales_(schema)|Sales]] | ||
+ | |||
+ | |} | ||
Revision as of 23:05, 2 February 2010
Contents
wikibot
Table | Sales.ContactCreditCard |
Description | Cross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table. |
Columns
Column | Data Type | Nullable | Default | Description |
ContactID | int | not null | Customer identification number. Foreign key to Contact.ContactID. | |
CreditCardID | int | not null | Credit card identification number. Foreign key to CreditCard.CreditCardID. | |
ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key
Primary Key | Columns |
PK_ContactCreditCard_ContactID_CreditCardID | ContactID, CreditCardID |
Foreign Keys
Relation | Column | Referenced Column |
Person.Contact | ContactID | ContactID |
Sales.CreditCard | CreditCardID | CreditCardID |
References
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Sales |
automatically generated
Table | Sales.ContactCreditCard |
Description | Cross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table. |
Column | Data Type | Nullable | Default | Description / PK / Index |
ContactID | int | not null | Customer identification number. Foreign key to Contact.ContactID. PK_ContactCreditCard_ContactID_CreditCardID | |
CreditCardID | int | not null | Credit card identification number. Foreign key to CreditCard.CreditCardID. PK_ContactCreditCard_ContactID_CreditCardID | |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Relation | Column | Referenced Column |
Person.Contact | ContactID | ContactID |
Sales.CreditCard | CreditCardID | CreditCardID |
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Sales |