final ISqlJetVdbeMem value = getValueMem(field);
if (value == null || value.isNull())
return null;
switch (value.getType()) {
case INTEGER:
return value.intValue();
case FLOAT:
return value.realValue();
case TEXT:
return SqlJetUtility.toString(value.valueText(getEncoding()), getEncoding());
case BLOB: