OK so I am working on a client's site.  I am inserting a record into a
SQL Server smalldatetime field like so:

<cfqueryparam value="#now()#" cfsqltype="CF_SQL_DATE">

And I get back

"The cause of this output exception was that:
coldfusion.runtime.locale.CFLocaleDateFormatException: "{ts
''2006-12-31 12:35:23''}" is an invalid date format.."

So I try converting the field into a datetime field.  No change.  Next
I change the cfqueryparam to

<cfqueryparam value="#now()#" cfsqltype="CF_SQL_TIMESTAMP">

just for giggles.  Again the same error.

This is a pretty straightforward db, and a server I have worked on for
quite some time without this happening.  What could cause a locale
exception error like this?

CF is 6.1 Enterprise.  db is SQL Server 2000.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265433
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to