DROP TABLE PRODUCT3;
CREATE TABLE product3 (
id INT PRIMARY KEY,
total DECIMAL(10,4) -- Example: 10 digits with 2 decimal places
);
INSERT INTO product3(id,total) values(1,40001.1234);
SELECT SUM(total) FROM product3
The sum return 40001.1234
CREATE TABLE product3 (
id INT PRIMARY KEY,
total DECIMAL(14,8) -- Example: 10 digits with 2 decimal places
);
INSERT INTO product3(id,total) values(1,40001.1234);
SELECT SUM(total) FROM product3
Have you the same issue?
Thanks
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/776481bc-014a-4785-9d31-0752bbb36295n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/CAH2i4yckDNte_Rn2JbnHO8TbR64oiBLPrSEeUu%2BWQix68iroSw%40mail.gmail.com.
SELECT SUM(total) FROM product3;
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/5f33036d-90f5-4ca4-a2c6-a2ffe2f61d1an%40googlegroups.com.