Deutsches Application Express Forum (ApEx) -- Installation , Engine / SQL , Anwendungen
Re: SQL-Problem (update mehrerer Spalten in Unterselect)
geschrieben von: cc13 (62.159.42.---)
Datum:

Hallo mr_ed,

nichts leichter als das:

update tabelle1 a
set (a.spalte1, a.spalte2, a.spalte3)
= (select b.spalte1, b.spalte2, b.spalte3 from tabelle2 b where a.spaltex = b.spaltey)
where a.spaltex = y



--
Best regards,
Carsten mailto:carsten.cerny@cc13.com
My blog [cc13.com]



Thema Neugierige geschrieben von geschrieben
SQL-Problem (update mehrerer Spalten in Unterselect) 3156 mr_ed
Re: SQL-Problem (update mehrerer Spalten in Unterselect) 1570 cc13


In diesem Forum dürfen nur registrierte Benutzer schreiben.
This forum powered by Phorum.