سؤال

For example, I want to convert the number.

select convert(1354256,money) salMoney

result:

1354256

convert to

1,354,256

لا يوجد حل صحيح

نصائح أخرى

use this function sql server (MSSQL)

select format(1354256,'N0')
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى dba.stackexchange
scroll top