Difference between revisions of "Sales.ContactCreditCard (table)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | Sales.ContactCreditCard |- |} {| border="1" cellpadding="5" cellspacing="0" ...) |
|||
| Line 38: | Line 38: | ||
| (getdate()) | | (getdate()) | ||
| | | | ||
| + | | | ||
| + | |} | ||
| + | |||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Relation | ||
| + | | '''Column | ||
| + | | '''Referenced Column | ||
| + | |||
| + | |- | ||
| + | | [[Person.Contact_(table)|Person.Contact]] | ||
| + | | ContactID | ||
| + | | ContactID | ||
| + | |- | ||
| + | | [[Sales.CreditCard_(table)|Sales.CreditCard]] | ||
| + | | CreditCardID | ||
| + | | CreditCardID | ||
| + | |} | ||
| + | |||
| + | == automatically generated == | ||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- | ||
| + | | '''Table | ||
| + | | Sales.ContactCreditCard | ||
| + | |- | ||
| + | |||
| + | | '''Description | ||
| + | | Cross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table. | ||
| + | |- | ||
| + | |||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''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. | ||
| | | | ||
|} | |} | ||
Revision as of 23:26, 26 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 |