sql turn numeric character

select cast('20.12' as decimal(18,2))

Guess you like

Origin www.cnblogs.com/bdqczhl/p/12070476.html