fjtello / SQL-C-sharp

Common programming and coding tips and howtos
0 stars 0 forks source link

SQL syntax [#convert #decimal] #13

Open fjtello opened 7 years ago

fjtello commented 7 years ago

Decimal para Excel:
replace(CONVERT(varchar(12), isnull(last, 0)), '.', ',')

Decimal para CSV:
replace(CONVERT(varchar(12), isnull(last, 0)), ',', '.')