Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.2
-
None
Description
Wrong precision is returned for NUMERIC columns. The returned precision is 2 greater than it should be (see the attached java repro)
execute CREATE TABLE TESTNUM (N9X2 NUMERIC(9,2), N20X4 NUMERIC (20,4))
execute SELECT N9X2, N20X4 FROM TESTNUM
get resultset metadata
N9X2 precision is 11
N9X2 scale is 2
N20X4 precision is 22
N20X4 scale is 4