dbTalk Databases Forums  

Decimal Symbol other than .

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Decimal Symbol other than . in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rob
 
Posts: n/a

Default Decimal Symbol other than . - 07-04-2003 , 04:26 PM






I have a program that uses the MSSQL database. Recently I tried changing my
regional settings to something other than US. I tried France, its currency
is 0,00 not 0.00.

In my code I do the following:
UPDATE tblChargeTenant SET Discount=0,00 WHERE ChargeTenantID=15

This gives me an error 'Incorrect syntax near '00'

This is the same error message when it is run in Query Analyzer.

I set the RegionalSettings to France in both the client and the server. How
do I tell SQLServer to respect the RegionalSettings?

I found a reference to SQL_SOPT_SS_REGIONALIZE in Books On Line but I do not
know how to use it.

Thanks,
Rob



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.