[Mono-bugs] [Bug 547251] Decimal parameter of SqlCommand causes exception when executing Command in non-english localizations

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 15 10:16:26 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=547251

User stefano.sapienti at apsystems.it added comment
http://bugzilla.novell.com/show_bug.cgi?id=547251#c1





--- Comment #1 from Stefano Sapienti <stefano.sapienti at apsystems.it>  2009-10-15 08:16:25 MDT ---
I logged the executed queries on server:

with en localization it runs:

exec sp_executesql N'insert into tablename (numeric_field) VALUES (@P1)', N'@P1
float',  @P1=12.54

with it localization it runs:

exec sp_executesql N'insert into tablename (numeric_field) VALUES (@P1)', N'@P1
float',  @P1=12,54

TSQL use always "." as decimal separator so I think it must be normalized
before running the query.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list