Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

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
0
netuser1976
Asked:
netuser1976
1 Solution
 
netuser1976Author Commented:
Found Answer myself.
Unchecking "Return Timestamps as Strings" in the Advanced Settings for the datasource fixed the problem.

Thanks
Sathish
0
 
proceptCommented:
Hi,

you better have your points refunded. :-))

Chris
0
 
moduloCommented:
PAQed, with points refunded (30)

modulo
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now