The master customer table that holds all information about visitors. The Customer table is also used for profile management of users on the site, so temporary visitors get temporary customer records.

Table Indexes

Table Fields

FieldDescription
addressAddress of the customer.
text
cityCity of the customer
char(20)
companyCompany name of the customer.
char(40)
countryLong country name description
char(30)
countryidTwo letter ISO country code (US,CA,MX,DE etc.)
char(2)
custtypenot used
numeric(3)
downloadedFlag that determines whether the customer was previously downloaded. (not used)
bit
emailEmail address for the customer
text
enteredDate entered
smalldatetime(16)
faxFax number for the customer
text
firstnameFirst name of the customer
char(20)
lastnameLast name of the customer
char(30)
lastorderDate of the Last Order placed.
smalldatetime(16)
notesAny notes about the customer or orders.
text
passwordUser's Profile password.
char(15)
phoneThe phone number for the customer
text
pk
int
referralReferral value from the Web site. Last referral only.
text
shippingA full shipping address used for the last invoice.
text
source
text
stateThe two letter state or province code.
char(2)
storepkPk of the store this belongs to
int
timestamp_column
timestamp
updatedLast time customer record was updated
smalldatetime(16)
useridUserId which maps to the user's session cookie
char(9)
xmlXML Properties field for custom properties.
text
zipThe zip or postal code for the customer
char(12)
zip4Zip+4 value (not used)
char(4)


Last Updated: 6/13/2003