Converting float to varchar with correct decimal separator

后端 未结 1 1788
太阳男子
太阳男子 2020-12-21 10:47

Hi i\'m living in austria and we use the , as decimal separator.

It seems to be impossible to convert the float to varchar with the correct separator ac

相关标签:
1条回答
  • 2020-12-21 11:13
    • SSMS formats the float type based on your regional settings
    • The SQL Engine language setting doesn't affect what separators are used

    Correctly, you should leave numbers as numbers and format in the client.
    This is what SSMS is doing for you

    Also see SQL server with german regional settings

    0 讨论(0)
提交回复
热议问题