macromedia.coldfusion.database_access
[Top] [All Lists]

Re: Different result from same SQL statement

Subject: Re: Different result from same SQL statement
From: "paross1" <webforumsuser@xxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 15:02:09 +0000 (UTC)
Newsgroups: macromedia.coldfusion.database_access

Perhaps SQL Server is performing an implicit type conversion with your date 
values to a date/time datatype when the query is run via the query analyzer,  
but that conversion is not happening from ColdFusion. What happens if you 
explicitly CAST() your date "strings" to datetime?

 Phil


<Prev in Thread] Current Thread [Next in Thread>