Column |
Type |
Size |
Nulls |
Auto |
Default |
Children |
Parents |
borrowernumber |
int |
10 |
|
|
0 |
|
|
cardnumber |
varchar |
16 |
√ |
|
null |
|
|
surname |
mediumtext |
16777215 |
|
|
|
|
|
firstname |
text |
65535 |
√ |
|
null |
|
|
title |
mediumtext |
16777215 |
√ |
|
null |
|
|
othernames |
mediumtext |
16777215 |
√ |
|
null |
|
|
initials |
text |
65535 |
√ |
|
null |
|
|
streetnumber |
varchar |
10 |
√ |
|
null |
|
|
streettype |
varchar |
50 |
√ |
|
null |
|
|
address |
mediumtext |
16777215 |
|
|
|
|
|
address2 |
text |
65535 |
√ |
|
null |
|
|
city |
mediumtext |
16777215 |
|
|
|
|
|
state |
text |
65535 |
√ |
|
null |
|
|
zipcode |
varchar |
25 |
√ |
|
null |
|
|
country |
text |
65535 |
√ |
|
null |
|
|
email |
mediumtext |
16777215 |
√ |
|
null |
|
|
phone |
text |
65535 |
√ |
|
null |
|
|
mobile |
varchar |
50 |
√ |
|
null |
|
|
fax |
mediumtext |
16777215 |
√ |
|
null |
|
|
emailpro |
text |
65535 |
√ |
|
null |
|
|
phonepro |
text |
65535 |
√ |
|
null |
|
|
B_streetnumber |
varchar |
10 |
√ |
|
null |
|
|
B_streettype |
varchar |
50 |
√ |
|
null |
|
|
B_address |
varchar |
100 |
√ |
|
null |
|
|
B_address2 |
text |
65535 |
√ |
|
null |
|
|
B_city |
mediumtext |
16777215 |
√ |
|
null |
|
|
B_state |
text |
65535 |
√ |
|
null |
|
|
B_zipcode |
varchar |
25 |
√ |
|
null |
|
|
B_country |
text |
65535 |
√ |
|
null |
|
|
B_email |
text |
65535 |
√ |
|
null |
|
|
B_phone |
mediumtext |
16777215 |
√ |
|
null |
|
|
dateofbirth |
date |
10 |
√ |
|
null |
|
|
branchcode |
varchar |
10 |
|
|
|
|
branches.branchcode
|
Implied Constraint R |
|
categorycode |
varchar |
10 |
|
|
|
|
|
dateenrolled |
date |
10 |
√ |
|
null |
|
|
dateexpiry |
date |
10 |
√ |
|
null |
|
|
gonenoaddress |
bit |
0 |
√ |
|
null |
|
|
lost |
bit |
0 |
√ |
|
null |
|
|
debarred |
date |
10 |
√ |
|
null |
|
|
debarredcomment |
varchar |
255 |
√ |
|
null |
|
|
contactname |
mediumtext |
16777215 |
√ |
|
null |
|
|
contactfirstname |
text |
65535 |
√ |
|
null |
|
|
contacttitle |
text |
65535 |
√ |
|
null |
|
|
guarantorid |
int |
10 |
√ |
|
null |
|
|
borrowernotes |
mediumtext |
16777215 |
√ |
|
null |
|
|
relationship |
varchar |
100 |
√ |
|
null |
|
|
sex |
varchar |
1 |
√ |
|
null |
|
|
password |
varchar |
60 |
√ |
|
null |
|
|
flags |
int |
10 |
√ |
|
null |
|
|
userid |
varchar |
75 |
√ |
|
null |
|
|
opacnote |
mediumtext |
16777215 |
√ |
|
null |
|
|
contactnote |
varchar |
255 |
√ |
|
null |
|
|
sort1 |
varchar |
80 |
√ |
|
null |
|
|
sort2 |
varchar |
80 |
√ |
|
null |
|
|
altcontactfirstname |
varchar |
255 |
√ |
|
null |
|
|
altcontactsurname |
varchar |
255 |
√ |
|
null |
|
|
altcontactaddress1 |
varchar |
255 |
√ |
|
null |
|
|
altcontactaddress2 |
varchar |
255 |
√ |
|
null |
|
|
altcontactaddress3 |
varchar |
255 |
√ |
|
null |
|
|
altcontactstate |
text |
65535 |
√ |
|
null |
|
|
altcontactzipcode |
varchar |
50 |
√ |
|
null |
|
|
altcontactcountry |
text |
65535 |
√ |
|
null |
|
|
altcontactphone |
varchar |
50 |
√ |
|
null |
|
|
smsalertnumber |
varchar |
50 |
√ |
|
null |
|
|
sms_provider_id |
int |
10 |
√ |
|
null |
|
|
privacy |
int |
10 |
|
|
1 |
|
|
privacy_guarantor_checkouts |
bit |
0 |
|
|
0 |
|
|
updated_on |
timestamp |
19 |
|
|
CURRENT_TIMESTAMP |
|
|
Table contained 0 rows at Tue Dec 27 16:10 NZDT 2016
|