I’m trying to convert an NVARCHAR value to a money value with MsSQL.
I know I can use something like:
SELECT CONVERT(money, ValueColumn) FROM SomeTable
But the problem is when I have a value 4352,50, and I call the convert method, the value becomes 435250,00
What am I missing? I also tried CONVERT(money, ValueColumn, 2) but without any success.
Thanks in advance!
SELECT CONVERT(money, REPLACE('4352,50', ',', '.'))