0

I have 5 columns out of which I have known values for 2 columns. I have to insert values for 3 columsn using INSERT INTO...SELECT statement and the code is working.

I only want to know how do I combine both INSERT INTO SELECT with known values in ORACLE.

1 Answer 1

1
insert into destination (col1, col2, col3, col4, col5)
select 'static_value1', 'static_value2', col6, col7, col8
from source_table
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.