Details
Assignee
Michael OffnerMichael OffnerReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 21 December 2022 at 11:42
Updated 2 March 2023 at 01:22
When using the cfqueryparam with scale attribute, it didn't work
<cfquery datasource="testdsn"> CREATE TABLE testTable ( amount decimal(18,4)) </cfquery> <cfquery datasource="testdsn"> INSERT INTO testTable (amount) values(<cfqueryparam cfsqltype="CF_SQL_DECIMAL" value="27.178" scale="2">); </cfquery> <cfquery name="queryResult" datasource="testdsn"> select * from testTable </cfquery> <cfdump var="#queryResult#"> // Lucee returns 27.1780 and ACF returns 27.1800