Servus,
mal wieder ein SQL Update Problem. Habe eine bestehende Abfrage bei uns in der Firma
abgeändert und er kommt auf Fehler "Ergebnis der Anweisung enthält mehr als eine Zeile."

Hier mal das SQL Statement

update T1 a set a.code =
(select b.kostst from T2 b where a.firma = b.firma and a.art = b.art)

where exists

( select b.kostst from T2 b where a.firma = b.firma and a.art = b.art);

Wo mache ich den Gedankenfehler?