阅读背景:

MYSQL查询 - 使用格式但不使用逗号

来源:互联网 

I am trying to use format within an SQL query to suit a reporting package. I have numbers that I need to show as currency with two decimal places so I am using the format command to do that. The problem is that format also puts in a comma to separate thousands and the reporting package sum function cannot handle this so treats the formatted numeric value as text and does not add it in. The query uses:-I am trying to use format within an SQL query t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: