Difference between revisions of "Sales.ContactCreditCard (table)"
Line 86: | Line 86: | ||
| not null | | not null | ||
| | | | ||
− | | Customer identification number. Foreign key to Contact.ContactID.PK_ContactCreditCard_ContactID_CreditCardID | + | | Customer identification number. Foreign key to Contact.ContactID.<br />PK_ContactCreditCard_ContactID_CreditCardID |
|- valign="top" | |- valign="top" | ||
| CreditCardID | | CreditCardID | ||
Line 92: | Line 92: | ||
| not null | | not null | ||
| | | | ||
− | | Credit card identification number. Foreign key to CreditCard.CreditCardID.PK_ContactCreditCard_ContactID_CreditCardID | + | | Credit card identification number. Foreign key to CreditCard.CreditCardID.<br />PK_ContactCreditCard_ContactID_CreditCardID |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 98: | Line 98: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated.<br /> |
|} | |} | ||
Revision as of 00:09, 27 November 2009
wikibot
Table | Sales.ContactCreditCard |
Column | Data Type | Nullable | Default | PK | Index |
ContactID | int | not null | PK_ContactCreditCard_ContactID_CreditCardID | ||
CreditCardID | int | not null | PK_ContactCreditCard_ContactID_CreditCardID | ||
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Person.Contact | ContactID | ContactID |
Sales.CreditCard | CreditCardID | CreditCardID |
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 |