The behavior change might be due to updated drivers, which is the most
common source of modified database behavior. You can probably fix this
either in CF, using something like NumberFormat, or cfqueryparam, or using
casting in SQL Server. If this is a lot of work for you, it might be worth
it to contact Adobe tech support to confirm the behavior change. One
alternative is to pick a different JDBC driver than the one that comes with
CF. Microsoft has their own free JDBC driver that you can use fairly easily.
The Microsoft-provider JDBC driver behaves differently. I have had to use
the Microsoft one in certain situations where the one that comes bundled
with CF did not work properly.

Check if any of the three columns present in your SQL are float, real, or
money data types. If you find one of these data types in your database you
can change it to a numeric as another way to fix the problem.

-Mike Chabot

On Wed, Feb 16, 2011 at 6:44 PM, James Skemp <jsk...@wisbar.org> wrote:

>
> >Looks like you might need to revise the procedure to CAST the calculated
> >value back to Numeric(10,2) before returning it?
> >Carl
>
> Yeah, which is what we're doing for this one to resolve the issue.
>
> But since this is a legacy, third-party, application ... it worries me the
> number of places this may occur. And of course, as we all know, there's
> usually one place that gets missed in these types of situations ... :D
>
> I was hoping it was a configuration option that we missed, but ...
>
> I don't suppose someone with a similar environment could test against CF 9,
> could they?
>
> Thanks Carl!
>
> ~James
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to