SPM offers some degree of automatic type detection when it reads a database, but this support may still require some additional effort on the part of a user. How SPM works depends on the file type being read: