AJAX Lauch
Mitglied
Hi,
Ich hab da ein kleines Problem. Also gibt es etwas ähnliches wie "Select...into" aus mysql auch in Oracle?
Wenn nicht hab ich mir schon was anderes ausgedacht nur hab ich da ebenfalls ein Problem.
Das wäre mein Plan B:
"INSERT INTO NORMEN (dat,norm,sprache)
VALUES ((SELECT table1.dat,table1.norm,table2.sprache FROM table1 INNER JOIN table2 ON table1.key = table2.key WHERE table1.norm = 'N'))"
Das Problem ist wie ihr ja bestimmt schon seht gilt der subquery nur für die erste spalte "dat".
Wie bekomm ichs hin, dass ich nicht für jede Spalte einen neuen subquery im VALUES-Teil machen muss?
Ich hab da ein kleines Problem. Also gibt es etwas ähnliches wie "Select...into" aus mysql auch in Oracle?
Wenn nicht hab ich mir schon was anderes ausgedacht nur hab ich da ebenfalls ein Problem.
Das wäre mein Plan B:
"INSERT INTO NORMEN (dat,norm,sprache)
VALUES ((SELECT table1.dat,table1.norm,table2.sprache FROM table1 INNER JOIN table2 ON table1.key = table2.key WHERE table1.norm = 'N'))"
Das Problem ist wie ihr ja bestimmt schon seht gilt der subquery nur für die erste spalte "dat".
Wie bekomm ichs hin, dass ich nicht für jede Spalte einen neuen subquery im VALUES-Teil machen muss?