标签: sql casting derby
这是德比中的德比代码
select cast(3105.41 as number(17,2)) as asset from sysibm.sysdummy1
我遇到了“(”错误。
我该如何解决?
答案 0 :(得分:2)
number
numeric
decimal不是“{3}}”。
decimal
select cast(3105.41 as decimal(17,2)) as asset from sysibm.sysdummy1