insert all ---->http://yangtingkun.itpub.net/post/468/27038
就是可以插入多表(9i新功能)insert first不清楚

解决方案 »

  1.   

    Most INSERT statements are the single-table variety, but Oracle also supports a multiple-table INSERT statement. With a multitable insert, you can make a single pass through the source data and load the data into more than one table.[ ALL | FIRST ]
    WHEN condition THEN insert_into_clause [values_clause]
    [insert_into_clause [values_clause]]...
    [WHEN condition THEN insert_into_clause [values_clause]
    [insert_into_clause [values_clause]]...
    ]...
    [ELSE insert_into_clause [values_clause]
    [insert_into_clause [values_clause]]...
    ]If a WHEN condition evaluates to TRUE, the corresponding INTO clause is executed. If no WHEN condition evaluates to TRUE, the ELSE clause is executed. The keyword ALL tells the database to check each WHEN condition. On the other hand, the keyword FIRST tells the database to stop checking WHEN conditions after finding the first TRUE condition.