I want to generate a XML with SQL Server.
I wrote this :
Select CUV_CAPA
from dbo.EQT
FOR XML PATH('Table1'), Root('SomeRoot'), TYPE
And the result is :
<SomeRoot>
<Table1>
<CUV_CAPA>600.00000000</CUV_CAPA>
</Table1>
<Table1>
<CUV_CAPA>50.00000000</CUV_CAPA>
</Table1>
</SomeRoot>
After I want use this data in a C# application, and it's not working because my regional settings is ,
instead .
What can I do to have the correct decimal separator when I generate XML?