Ask a Question related to Coldfusion Database Access, Design and Development.
-
RMK12345 #1
Invalid datetime format
After upgrading from CF4 to CFMX7 we are getting this error on any date field
that we're trying to pull in a query.
Error Executing Database Query.
Invalid datetime format.
These pages and queries worked fine in 4, nothing has been changed in the
source code or database sturcture.
It is an Oracle database.
Any help would be greatly appreciated.
Becky
RMK12345 Guest
-
#40340 [NEW]: Creating a DateTime object using a string that is invalid due to DST transition
From: kal at kalunite dot net Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Date/time related Bug description: ... -
#26320 [Opn->Csd]: strtotime() does not understand ISO6801 datetime format as used in XMLSchema
ID: 26320 Updated by: hholzgra@php.net Reported By: hartmut@php.net -Status: Open +Status: Closed Bug Type: ... -
#26320 [NEW]: strtotime() does not understand ISO6801 datetime format as used in XMLSchema
From: hartmut@php.net Operating system: PHP version: 5.0.0b2 (beta2) PHP Bug Type: Feature/Change Request Bug description: ... -
Invalid URI: The format of the URI could not be determined.
We get this error every so often: Invalid URI: The format of the URI could not be determined. when calling a webservice any ideas? -
sqlerr -750 invalid distribution format
Dear all, OS: Solaris 2.7 IDS: 7.31.UD5 Problem: SQL statement error number -750. Invalid distribution format found for sn I have some... -
Dan Bracuk #2
Re: Invalid datetime format
use the createodbcdate function and you'll never have to worry about date formats.
Dan Bracuk Guest
-
RMK12345 #3
Re: Invalid datetime format
How would the createODBCdate function help in this query?
SELECT A.adminID, S.lName, S.fName,
MAX(a.reqdate) as reqdate,
MAX(H.accDate) as lastAcc
FROM #theOwner#ML_ssoadmin A, #theOwner#ML_student S, #theOwner#ML_hits H
WHERE A.adminID = S.sso AND A.adminID = H.sso(+)
GROUP BY A.adminID, S.lName, S.fName
ORDER BY S.lName, S.fName
I have discovered that I'm getting the error on queries that have nulls in a
date field.
RMK12345 Guest
-
RMK12345 #4
Re: Invalid datetime format
Found the fix!!!
We were using the ODBC drivers to connect to the Oracle db.
We changed to connecting with the thin client and it works now, null date
fields and all!
I hope this helps someone out there.
RMK12345 Guest



Reply With Quote

