Solved

Cannot display Dates returned from Oracle Query - CF6.1

Posted on 2003-10-31
4
182 Views
Last Modified: 2013-12-24
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
Comment
Question by:netuser1976
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Author Comment

by:netuser1976
ID: 9661531
Found Answer myself.
Unchecking "Return Timestamps as Strings" in the Advanced Settings for the datasource fixed the problem.

Thanks
Sathish
0
 
LVL 4

Expert Comment

by:procept
ID: 9662449
Hi,

you better have your points refunded. :-))

Chris
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11052439
PAQed, with points refunded (30)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internal DNS Alias (CNAME) - two domain names to one IP address 4 81
wordpress limitations 4 135
UPLOAD FILE TO Web API USING POST 5 132
cookies analysis tools 2 106
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question