Go to the first, previous, next, last section, table of contents.


Limitations of BLOB and TEXT types

If you want to GROUP BY or ORDER BY on a BLOB or TEXT field, you must make the field into a fixed length object. The standard way to do this is with the SUBSTRING functions. If you don't do this only the first max_sort_length (default=1024) will considered when sorting.

SELECT comment from table order by substring(comment,20);


Go to the first, previous, next, last section, table of contents.