JRUN 4, Updater 5
CFMX 6.1 w/ updater
SQL DB. Column is Decimal(3,1)
 
I have a query in which I am trying to update a field of type Deciaml.
 
<cfqueryparam
    cfsqltype="CF_SQL_DECIMAL" 
    value="#attributes.contractDuration#" 
    scale="1" 
    null="no" />
 
Values with 1 digit to the left of the decimal point work fine.
Examples:
 
0.5
1.0
1.5
2.0
2.5
etc...
 
However, values with 2 digits to the left of the decimal point throw an
error. Examples:
 
10.0
10.5
11.0
11.5
12.0
etc....
 
The error is:
 
[Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type
decimal to decimal. 
 
Any ideas?
 
Mike
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214754
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to