Difference between revisions of "Sales.ContactCreditCard (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Sales.ContactCreditCard
 
| Sales.ContactCreditCard
 +
|- valign="top"
 +
| '''Description
 +
| Cross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| ContactID
 
| ContactID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_ContactCreditCard_ContactID_CreditCardID
+
| Customer identification number. Foreign key to Contact.ContactID.<br />PK_ContactCreditCard_ContactID_CreditCardID
|
+
|- valign="top"
|-
 
 
| CreditCardID
 
| CreditCardID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_ContactCreditCard_ContactID_CreditCardID
+
| Credit card identification number. Foreign key to CreditCard.CreditCardID.<br />PK_ContactCreditCard_ContactID_CreditCardID
|
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 58: Line 57:
 
| CreditCardID
 
| CreditCardID
 
|}
 
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 22:54, 28 December 2009

wikibot

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


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