Hi all,
I have two questions regarding running a select statement.
1-I have a table with two columns: dr_amount and cr_amount. When the amount is negative, dr_amount is populated, and when it is positive, cr_amount is populated.
I am running a statement that should extract the amount, positive or negative, and populate one field amount. How can I do that with SQL?
2- I have a table1 with two columns: New_code and description (text field). In table 2, I have these columns: Old_code and description. I neeed to map the old code to the new code. How can I do it with SQL.
Thanks for your help.
OF11i!
I have two questions regarding running a select statement.
1-I have a table with two columns: dr_amount and cr_amount. When the amount is negative, dr_amount is populated, and when it is positive, cr_amount is populated.
I am running a statement that should extract the amount, positive or negative, and populate one field amount. How can I do that with SQL?
2- I have a table1 with two columns: New_code and description (text field). In table 2, I have these columns: Old_code and description. I neeed to map the old code to the new code. How can I do it with SQL.
Thanks for your help.
OF11i!