Can you show us what Oracle is getting? the query from the debug output?


On Thu, 27 Jan 2005 14:27:14 -0400, daniel kessler <[EMAIL PROTECTED]> wrote:
> >I can't speak for Oracle specifically, but in general, the outer select
> >is not required to return the results in the same order as the
> >subselect.  Try moving the ORDER BY to the outer select and see if that
> >works.  I'm far from sure this is your problem, but it's certainly
> >something to try.
> 
> That didn't seem to work.  I replaced from the inner ORDER BY on-down with:
> 
>      ORDER BY UPPER(agency)
>      ) WHERE r >= <cfqueryparam value="#url.begin_num#" 
> cfsqltype="cf_sql_integer"> AND r <= <cfqueryparam value="#url.end_num#" 
> cfsqltype="cf_sql_integer">
>                ORDER BY UPPER(agency)
> 
> I also tried the ORDER BY just on the outside query.
> 
> Both gave the same results as I had previously.
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192006
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to