I have a C # program that uses a SQL Server database. I already use it in a country that uses. as a decimal separator. Now I want to use it in another country, which uses it as a decimal separator.
in C # is there any application level level that I can change or write code so that I can use the same database and the same program? or do I need to change all the code to handle this new decimal separator?
I do not know how this works. I think there will be problems in My Sql Queries. For example, one of my existing statements
insert into tblproducts(productId,Price) values('A12',24.10)
now in a new country he will become
insert into tblproducts(productId,Price) values('A12',24,10)
it will cause an error
so do i need to change all the code to handle this situation?
thanks
Rainer
source share