on ‎2021 Jul 02 9:41 AM
Hi all,
I'm trying to use Convert_currency function in my CAP application but I can't find a way to do it.
Please let me know how to use this function and others.
Regards
LeoVu
Request clarification before answering.
You should try this code to convert SQL function into currency
Create a table and populate it with two example currency amounts.
CREATE ROW TABLE sample_input (price DECIMAL(15,2),
source_unit NVARCHAR(4),
target_unit NVARCHAR(4),
ref_date NVARCHAR(10)
);
INSERT INTO sample_input VALUES (1.0, 'SRC', 'TRG', '2011-01-01');
INSERT INTO sample_input VALUES (1.0, 'SRC', 'TRG', '2011-02-01');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.