on 03-10-2021 5:08 AM
Sir,
While using SAP B1 HANA, I have this query
select TO_DECIMAL("DocTotal",8,2) from ordr where "DocNum"=500
The result look like this
1377370.00
But I want this result
1,377,370.00
Please help me
The result you want is a formatted result. Formatted results are produced by the different clients depending on settings done by the user and/or influenced by regional conditions. Please check if your client you are using has such settings.
If you are "just" using a SQL console you can use function TO_NVARCHAR to format your output properly (see examples in documentation).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.