Difference between revisions of "Sales.CreditCard (table)"
| Line 79: | Line 79: | ||
| CreditCardID | | CreditCardID | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 101: | Line 100: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
|- | |- | ||
| Line 109: | Line 107: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for CreditCard records. | + | | Primary key for CreditCard records.PK_CreditCard_CreditCardID |
| − | |||
|- | |- | ||
| CardType | | CardType | ||
| Line 117: | Line 114: | ||
| | | | ||
| Credit card name. | | Credit card name. | ||
| − | |||
|- | |- | ||
| CardNumber | | CardNumber | ||
| Line 123: | Line 119: | ||
| not null | | not null | ||
| | | | ||
| − | | Credit card number. | + | | Credit card number.AK_CreditCard_CardNumber |
| − | |||
|- | |- | ||
| ExpMonth | | ExpMonth | ||
| Line 131: | Line 126: | ||
| | | | ||
| Credit card expiration month. | | Credit card expiration month. | ||
| − | |||
|- | |- | ||
| ExpYear | | ExpYear | ||
| Line 138: | Line 132: | ||
| | | | ||
| Credit card expiration year. | | Credit card expiration year. | ||
| − | |||
|- | |- | ||
| ModifiedDate | | ModifiedDate | ||
| Line 145: | Line 138: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
Revision as of 23:52, 26 November 2009
wikibot
| Table | Sales.CreditCard |
| Column | Data Type | Nullable | Default | PK | Index |
| CreditCardID | int | not null | PK_CreditCard_CreditCardID | ||
| CardType | nvarchar(50) | not null | |||
| CardNumber | nvarchar(25) | not null | AK_CreditCard_CardNumber | ||
| ExpMonth | tinyint | not null | |||
| ExpYear | smallint | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| 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 |