Question

For example, I want to convert the number.

select convert(1354256,money) salMoney

result:

1354256

convert to

1,354,256

Pas de solution correcte

Autres conseils

use this function sql server (MSSQL)

select format(1354256,'N0')
Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange
scroll top