Link to home
Start Free TrialLog in
Avatar of netuser1976
netuser1976

asked on

Cannot display Dates returned from Oracle Query - CF6.1

Hi,

We recently upgraded to 6.1 from MX. We have a simple query,

<cfquery name="qEvents" ...>
SELECT
EVENT_NAME,
EVENT_DATE
FROM
EVENTS
</cfquery>

<cfoutput query="qEvents"> #qEvents.EVENT_NAME#, #qEvents.EVENT_DATE# </cfquery>

The cfoutput only displays event_name and does not display event_date.
When I tried <CFDUMP var="#qEvents#">, the Dump displays the date column as "[empty string]".

I tried the same query through a query editor and the dates show up fine in the query results. Why is CF not able to recognize the existence of a date column?. It used to work fine when we were using 5.0 and MX.

Thanks
Greg
Avatar of netuser1976
netuser1976

ASKER

Found Answer myself.
Unchecking "Return Timestamps as Strings" in the Advanced Settings for the datasource fixed the problem.

Thanks
Sathish
Hi,

you better have your points refunded. :-))

Chris
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial