Using currency $ format with sql server?

前端 未结 4 1564
面向向阳花
面向向阳花 2021-01-29 06:13

I have data in my sql database like 645.000 and i need to format it to include currency symbols e.g., $645.000

How can I achieve this in SQL?

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-29 06:34

    SQL server has no control over how numbers are displayed in your client application. Modify the application settings, Windows control panel or your program code to change the way numbers are displayed.

提交回复
热议问题