6
Answers

Converting XML string into SQL Server and money type

Ask a question
Bo Wiklund

Bo Wiklund

20y
3.2k
1
I have problem with the environment adoption when sending decimal values as XML-strings to the SQL Server, data type Money. I get "Input string was not in the correct format". If I change decimal separator to "comma" and sometimes to "dot" I can get rid of the error. Is there any trick that eliminates the environment variables to have a safe conversion from string-type to money-type?

Answers (6)