Hallo Tanja,
INSERT INTO orte
(zusatzinfo2,name) VALUES
(
SELECT loc_id,text_val FROM geodb_textdata WHERE text_locale="de"
)
=>
MySQL meldet:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT loc_id,text_val FROM geodb_textdata WHERE text_locale="de"
)' at line 4
die Anweisung ist vermutlich zu anspruchsvoll für Deine MySQL-Version.
warum?
weil MySQL erst ab Version 4.1 Subselects kann.
woran könnte es liegen?
Deine MySQL-Version ist älter als 4.1
bzw. wie find ich das raus?
mit
SELECT VERSION()
Freundliche Grüße
Vinzenz