Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle insert from select

INSERT INTO table
(column1, column2, ... column_n )
SELECT expression1, expression2, ... expression_n
FROM source_table
[WHERE conditions];

-- Basically, omit the VALUES clause when using SELECT for an insert into.
Source by es.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #oracle #insert #select
ADD COMMENT
Topic
Name
2+6 =