Harald: so gehts ja auch :-)

Beitrag lesen

Hi,

update tabelle1 set feld1 = (select feld2 from tabelle2 limit 1)
[...]
Ich nutze MySQL 4.0.18-Max.
In MySQL funktionierten Subquerys erst ab Version 4.1: http://dev.mysql.com/doc/mysql/en/subqueries.html.

ich habe es jetzt anders geschafft!
Ich habe einfach eine neue leere Tabelle gemacht und dann sowas:

insert into neue_tabelle select t1.bla,t2.blubb.... from tab1 as t1, tab2 as t2 where t1.blubb=t2.blabb

;-)

Harry