Isn't possible to use ORDER BY with QOQ?

Every time I try I get the error,  that is not a column that can be sorted
on.

i.e.

        <CFQUERY name="qall" DataSource="db" DBTYPE="ODBC">
                SELECT name, age
                FROM  tblPersonnel
        </CFQUERY>

        <CFQUERY name="qbyage" DBTYPE="query">
                SELECT name, age
                FROM qall
                ORDER BY age;
        </CFQUERY>

Thanks
Rodney 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to