sql server 2005 - Working around globalization issues when executing T-SQL -
In an app where SQL Server can be unknown in database time schema and local time (defined at runtime) I need to know how to update the area of decimal - that is to use the decimal separator.
So against a server, if I need to update a decimal field, then I will send 100.125.
I use the Old School Squadmund-Class to do this, because I do not know the schema at compile time.
On the runtime, I can determine which separator should I use? Or is there another way to deal with this, what I see?
There is some discussion on this issue.
Can you supply some context for your query, so using dot does not work?
As far as I understand it
UPDATE TBL SET CALL = 1.23
will work anywhere and if you do Then you will only get problems
UPDATE tbl SET Col = '1.23'
Comments
Post a Comment