hallo. ich habe da mal eine frage bezüglich der genauen syntax des sql statments update.
und zwar:
man kann ja mit select mehrere dinge aus einer datenbank auslesen.
SQL-Anweisung
1:
| SELECT name,plz,datum FROM person WHERE irgendwas = 'richtig' |
so, meine frage ist nun:
ich habe mehrer update befehle
SQL-Anweisung
1:
| UPDATE person SET name = 'neu' WHERE irgendwas = 'alt' |
und
SQL-Anweisung
1:
| UPDATE firma SET umsatz = '0,00' WHERE id = '0' |
Ich möchte diese 2 update statments ablaufen lasse.
Nur in meinem Programm will ich keine 2 odbccommands erstellen/ austauschen.
daher frage ich mich, ob es mit update die gleich möglichkeit wie bei select gibt.
mfg shil