Question
SQL Insert using comma as decimal
How to insert a number using comma as a decimal separator?
I'm in Brazil, here the number format is "1.000,00" or "1000,00"
I´m trying to use the DW default ASP Insert/Update behavior to insert a comma separated number in SQL
Insert Exemples:
"10,99" as numeric - [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '99'.
"10,99" as text (work with ms access db) - [Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric.
"10.99" as numeric - works ok
"10.99" as text - works ok
I'm in Brazil, here the number format is "1.000,00" or "1000,00"
I´m trying to use the DW default ASP Insert/Update behavior to insert a comma separated number in SQL
Insert Exemples:
"10,99" as numeric - [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '99'.
"10,99" as text (work with ms access db) - [Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric.
"10.99" as numeric - works ok
"10.99" as text - works ok
