Field |
Field Type |
Null |
Notes |
Description |
NAMEONCARD |
nvarchar(700) |
|
Default = '' |
The name to use on the card. |
CARDNUMBER |
nvarchar(100) |
|
Default = '' |
The number of the membership card. |
EXPIRATIONDATE |
datetime |
 |
|
The expiration date of the membership card. |
STATUSCODE |
tinyint |
|
Default = 0 |
The status of the card: 0 - Issued, 1 - Printed, 2 - Cancelled. |
PRINTDATE |
datetime |
 |
|
The date the card was printed. |
COMMENTS |
nvarchar(1000) |
|
Default = '' |
Remarks about this membership card. |
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
 |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
STATUS |
nvarchar(9) (Computed) |
 |
CASE [STATUSCODE] WHEN 0 THEN N'Issued' WHEN 1 THEN N'Printed' WHEN 2 THEN N'Cancelled' END |
Provides a translation for the 'STATUSCODE' field. |