Well, this seems to be the root of the problem. It most definitely
should not be returned as a number. It may be a setting in your
database, it's kinda hard to diagnose. You should be able to wrap the
column in a TO_DATE() function to convert it. But then again, it might
only take a string parameter. Give it a shot.

-Adam

On 11/7/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> ok, not sure why you are getting that value out of the database. It should 
> come back in date format unless you are casting it as an integer. Within your 
> SQL statement you can use the TO_DATE() function to reset the format.
>
> Is this the value returned within a query, or a separate value from a stored 
> procedure?
>
> -Adam
>
> I'm not casting anything in my query.  I'm pulling it raw from the database 
> with straight forward SQL in a <cfquery> tag.  The field, for reasons beyond 
> me, is a "number" field not a datetime field.  Can I TO_DATE() this anyways, 
> I am not that big on my Oracle functions.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:223506
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