patrickdrd
Programmer
Good Morning to everyone!
I want to insert into a table using the following select:
SELECT DECODE(A.e02_code, '045934', '045935') e02_code, A.*
FROM TESTC A
WHERE A.e02_code = '045934'
My problem is that I have one more column in the select query (the table I want to insert into has the same columns as TESTC table).
I do not want to supply each column separately, just want to cut off the e02_code column from the result set and use the decode instead.
Is this possible? And, if yes, how?
Thanks in advance!
I want to insert into a table using the following select:
SELECT DECODE(A.e02_code, '045934', '045935') e02_code, A.*
FROM TESTC A
WHERE A.e02_code = '045934'
My problem is that I have one more column in the select query (the table I want to insert into has the same columns as TESTC table).
I do not want to supply each column separately, just want to cut off the e02_code column from the result set and use the decode instead.
Is this possible? And, if yes, how?
Thanks in advance!