Cách thay đổi dấu p...
 
Notifications
Clear all

Cách thay đổi dấu phân cách hàng ngàn từ dấu phẩy sang dấu chấm trong SAP HANA

1 Posts
1 Users
0 Likes
794 Views
admin
Posts: 337
Admin
Topic starter
(@admin)
Prominent Member
Joined: 3 years ago
select replace(to_varchar(123456789,'9,999'),',','.') as "DotSeperator" from dummy;

Link tham khảo

  REPLACE(originalString, searchString, replaceString))

Searches in for all occurrences of and replaces them with.

  • If two overlapping substrings match the in the , then only the first occurrence is replaced.

  • If does not contain an occurrence of , then is returned unchanged.

  • If , , or are NULL, then NULL is returned.

Reply
Share:
x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security