PDA

View Full Version : Sorting by longtext?


sumeet
05-14-2008, 09:20 PM
Is it possible to use a column that's 'longtext' as the value for ORDER BY?

I have a table with columns: id, name, and description.

I'd like to have the rows returned to me in order of description - alphabetically.

Is that possible?

Thanks for your time.

Fumigator
05-14-2008, 11:24 PM
Yeap that works.

chaosprime
05-15-2008, 04:11 PM
Not for nothin', but... why not just try it?

technica
05-16-2008, 08:29 AM
Yes you can do this, and it works.

Hope this helps