Latest revision |
Your text |
Line 1: |
Line 1: |
| == wikibot == | | == wikibot == |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- valign="top"
| |
− | | '''Table
| |
− | | Sales.ContactCreditCard
| |
− | |- valign="top"
| |
− | | '''Description
| |
− | | Cross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table.
| |
− | |}
| |
− |
| |
− | === Columns ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Column
| |
− | | '''Data Type
| |
− | | '''Nullable
| |
− | | '''Default
| |
− | | '''Description
| |
− |
| |
− | |- valign="top"
| |
− | | ContactID
| |
− | | int
| |
− | | not null
| |
− | |
| |
− | | Customer identification number. Foreign key to Contact.ContactID.
| |
− | |- valign="top"
| |
− | | CreditCardID
| |
− | | int
| |
− | | not null
| |
− | |
| |
− | | Credit card identification number. Foreign key to CreditCard.CreditCardID.
| |
− | |- valign="top"
| |
− | | ModifiedDate
| |
− | | datetime
| |
− | | not null
| |
− | | (getdate())
| |
− | | Date and time the record was last updated.
| |
− | |}
| |
− |
| |
− | === Primary Key ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Primary Key
| |
− | | '''Columns
| |
− | |- valign="top"
| |
− | | PK_ContactCreditCard_ContactID_CreditCardID
| |
− | | ContactID, CreditCardID
| |
− | |}
| |
− |
| |
− | === Foreign Keys ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Relation
| |
− | | '''Column
| |
− | | '''Referenced Column
| |
− |
| |
− | |- valign="top"
| |
− | | [[Person.Contact_(table)|Person.Contact]]
| |
− | | ContactID
| |
− | | ContactID
| |
− | |- valign="top"
| |
− | | [[Sales.CreditCard_(table)|Sales.CreditCard]]
| |
− | | CreditCardID
| |
− | | CreditCardID
| |
− | |}
| |
− |
| |
− | === References ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Dependency Type
| |
− | | '''Object Type
| |
− | | '''Referenced Object
| |
− |
| |
− | |- valign="top"
| |
− | | Schema
| |
− | | Schema
| |
− | | [[Sales_(schema)|Sales]]
| |
− |
| |
− | |}
| |
− |
| |
− |
| |
− | == automatically generated ==
| |
| | | |
| {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |
Line 87: |
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 100: |
Line 15: |
| | '''Nullable | | | '''Nullable |
| | '''Default | | | '''Default |
− | | '''Description / PK / Index | + | | '''PK |
| + | | '''Index |
| | | |
− | |- valign="top" | + | |- |
| | ContactID | | | ContactID |
| | int | | | int |
| | not null | | | not null |
| | | | | |
− | | Customer identification number. Foreign key to Contact.ContactID.<br />PK_ContactCreditCard_ContactID_CreditCardID | + | | PK_ContactCreditCard_ContactID_CreditCardID |
− | |- valign="top" | + | | |
| + | |- |
| | CreditCardID | | | CreditCardID |
| | int | | | int |
| | not null | | | not null |
| | | | | |
− | | Credit card identification number. Foreign key to CreditCard.CreditCardID.<br />PK_ContactCreditCard_ContactID_CreditCardID | + | | 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 138: |
Line 57: |
| | CreditCardID | | | CreditCardID |
| | CreditCardID | | | CreditCardID |
− | |}
| |
− |
| |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Dependency Type
| |
− | | '''Object Type
| |
− | | '''Referenced Object
| |
− |
| |
− | |-
| |
− | | Schema
| |
− | | Schema
| |
− | | [[Sales_(schema)|Sales]]
| |
− |
| |
| |} | | |} |