AdventureWorks Database > Sales Schema : Sales.ContactCreditCard Table |
Creation Date | 08/01/2010 08:40 |
File Group | PRIMARY |
Text File Group | |
System Object | |
Published for Replication | |
Rows | 19118 |
Data Space Used | 480.00 KB |
Index Space Used | 16.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
ContactID | Customer identification number. Foreign key to Contact.ContactID. | int | 4 | ||||
CreditCardID | Credit card identification number. Foreign key to CreditCard.CreditCardID. | int | 4 | ||||
ModifiedDate | Date and time the record was last updated. | datetime | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
PK_ContactCreditCard_ContactID_CreditCardID | Primary key (clustered) constraint |
Relationship | Description |
---|---|
FK_ContactCreditCard_Contact_ContactID | Foreign key constraint referencing Contact.ContactID. |
FK_ContactCreditCard_CreditCard_CreditCardID | Foreign key constraint referencing CreditCard.CreditCardID. |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
Person.Contact | Table | Names of each employee, customer contact, and vendor contact. | 1 | |
Sales.CreditCard | Table | Customer credit card information. | 1 | |
dbo.Name | User Defined Data Type | 2 | ||
dbo.NameStyle | User Defined Data Type | 2 | ||
dbo.Phone | User Defined Data Type | 2 |
|