Max contains an implementation of the SQLite database engine (more info available @ http://sqlite.org).
A SQLResult object is used to represent the data returned by queries to the SQLite object.
All records returned by the SQLResult object are returned as strings.
Thus, a numeric value such as 1 is actually returned as the string "1".
SQLite only uses datatypes as recommendations.
It does not enforce data types and in fact always returns a string.
More information about this and other SQLite-specific topics can be found in a Google Talk given by Richard Hipp
(the author of the SQLite library) @ video.google.com