Hi, I have doubt about the sql statements below:
sel cast(400.000000000 * 100000000 as decimal(18,2)) ---OK
sel cast(400.000000000 * 100000000 as decimal(38,8)) ---error,overflow...
why???
thks!
Forums:
Hi, I have doubt about the sql statements below:
sel cast(400.000000000 * 100000000 as decimal(18,2)) ---OK
sel cast(400.000000000 * 100000000 as decimal(38,8)) ---error,overflow...
why???
thks!