ScrewTurn Wiki

Edit

wikibot

TableSales.ContactCreditCard
DescriptionCross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table.

Edit

Columns

ColumnData TypeNullableDefaultDescription
ContactIDintnot null Customer identification number. Foreign key to Contact.ContactID.
CreditCardIDintnot null Credit card identification number. Foreign key to CreditCard.CreditCardID.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Edit

Primary Key

Primary KeyColumns
PK_ContactCreditCard_ContactID_CreditCardIDContactID, CreditCardID

Edit

Foreign Keys

RelationColumnReferenced Column
Person.ContactContactIDContactID
Sales.CreditCardCreditCardIDCreditCardID

Edit

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

Edit

automatically generated

TableSales.ContactCreditCard
DescriptionCross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table.

ColumnData TypeNullableDefaultDescription / PK / Index
ContactIDintnot null Customer identification number. Foreign key to Contact.ContactID.
PK_ContactCreditCard_ContactID_CreditCardID
CreditCardIDintnot null Credit card identification number. Foreign key to CreditCard.CreditCardID.
PK_ContactCreditCard_ContactID_CreditCardID
ModifiedDatedatetimenot null(GETDATE())Date and time the record was last updated.



RelationColumnReferenced Column
Person.ContactContactIDContactID
Sales.CreditCardCreditCardIDCreditCardID

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

ScrewTurn Wiki version 2.0.36. Some of the icons created by FamFamFam.