Difference between revisions of "Sales.CreditCard (table)"
Line 5: | Line 5: | ||
| '''Table | | '''Table | ||
| Sales.CreditCard | | Sales.CreditCard | ||
+ | |- valign="top" | ||
+ | | '''Description | ||
+ | | Customer credit card information. | ||
|- | |- | ||
|} | |} | ||
Line 15: | Line 18: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''PK | + | | '''Description / PK / Index |
− | |||
− | |- | + | |- valign="top" |
| CreditCardID | | CreditCardID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | PK_CreditCard_CreditCardID | + | | Primary key for CreditCard records.<br />PK_CreditCard_CreditCardID |
− | + | |- valign="top" | |
− | |- | ||
| CardType | | CardType | ||
| nvarchar(50) | | nvarchar(50) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | Credit card name.<br /> |
− | + | |- valign="top" | |
− | |- | ||
| CardNumber | | CardNumber | ||
| nvarchar(25) | | nvarchar(25) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | Credit card number.<br />AK_CreditCard_CardNumber |
− | + | |- valign="top" | |
− | |- | ||
| ExpMonth | | ExpMonth | ||
| tinyint | | tinyint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | Credit card expiration month.<br /> |
− | + | |- valign="top" | |
− | |- | ||
| ExpYear | | ExpYear | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | Credit card expiration year.<br /> |
− | + | |- valign="top" | |
− | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | Date and time the record was last updated.<br /> |
− | |||
|} | |} | ||
Line 79: | Line 75: | ||
| CreditCardID | | CreditCardID | ||
|} | |} | ||
+ | |||
+ | |||
+ | |||
== automatically generated == | == automatically generated == | ||
Revision as of 22:54, 28 December 2009
wikibot
Table | Sales.CreditCard |
Description | Customer credit card information. |
Column | Data Type | Nullable | Default | Description / PK / Index |
CreditCardID | int | not null | Primary key for CreditCard records. PK_CreditCard_CreditCardID | |
CardType | nvarchar(50) | not null | Credit card name. | |
CardNumber | nvarchar(25) | not null | Credit card number. AK_CreditCard_CardNumber | |
ExpMonth | tinyint | not null | Credit card expiration month. | |
ExpYear | smallint | not null | Credit card expiration year. | |
ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Detail Table | Column | Referencing Column |
Sales.ContactCreditCard | CreditCardID | CreditCardID |
Sales.SalesOrderHeader | CreditCardID | CreditCardID |
automatically generated
Table | Sales.CreditCard |
Description | Customer credit card information. |
Column | Data Type | Nullable | Default | Description / PK / Index |
CreditCardID | int | not null | Primary key for CreditCard records. PK_CreditCard_CreditCardID | |
CardType | nvarchar(50) | not null | Credit card name. | |
CardNumber | nvarchar(25) | not null | Credit card number. AK_CreditCard_CardNumber | |
ExpMonth | tinyint | not null | Credit card expiration month. | |
ExpYear | smallint | not null | Credit card expiration year. | |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Detail Table | Column | Referencing Column |
Sales.ContactCreditCard | CreditCardID | CreditCardID |
Sales.SalesOrderHeader | CreditCardID | CreditCardID |
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Sales |