I would suspect differences in case sensitivity in the database drivers.
See if this works on both:
<CFQUERY NAME="getmember" DATASOURCE="#DS#">
SELECT member
FROM login
WHERE lower(username) = 'test' and lower(password) = 'test'
</CFQUERY>
On Tue, 8 Mar 2005 13:42:02 -0500, Ronald Gallagher
<[EMAIL PROTECTED]> wrote:
> I have a simple query against an Oracle database that works in CF 5 but
> not in CFMX. In CF 5 I get one record which is what I want, but in CFMX
> I don't get any results. Yet the code is the very same. How do I fix
> this strange behavior?
>
> Here is the query:
>
> <CFQUERY NAME="getmember" DATASOURCE="#DS#">
> SELECT member
> FROM login
> WHERE username = 'test' and password = 'test'
> </CFQUERY>
>
> No queries are cached, I even cycled CFMX. Not sure what is going on.
> Any help/advice would be appreciated.
>
> Thanks!
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:197880
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