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 Bài viết
1 Thành viên
0 Likes
419 Lượt xem
admin
Bài viết: 221
Admin
Topic starter
(@admin)
Honorable Member
Tham gia: 2 năm trước
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.

Trả lời
Thẻ chủ đề
Chia sẻ:
x Logo: Shield Security
This Site Is Protected By
Shield Security