From dbscript Online Help
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
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.
|
Dependency Type
|
Object Type
|
Referenced Object
|
Schema
|
Schema
|
Sales
|