Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I currently have a SQL-server 2012 running an application of mine

I am having one issue on my side and that is on my local machine i have currency value(rand) showing as R5000.00

I deployed my application to the server using Visual Studio 2010 and when i checked my currency values on the server it is showing as R5000,00

The delimeter is showing as the incorrect delimeter.

I have checked on the Regional settings and currency value delimeter shows .
SQL database shows the Value as R5000.00

What could i do to get the delimeter to show as my local machine?(i.e. R5000.00)
Posted

1 solution

What kind of application? Is the code running on the server??

Did you check the Region on the server? Wherever the code is running is where it's going to get the formatting information.

When you checked the value in SQL, were you running the query from your machine? That's where the formatting information is going to come from.

SQL Server does not store any "format" with numbers. Formatting is done by the client when it's displayed.
 
Share this answer
 
Comments
isi19 17-Mar-14 7:16am    
So i tested running the application i coded on my local machine and then deployed it to a server. The server regional settings are the same as my local machine settings.

I have an older version of the application which is on the same server and that shows as my local machine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900