2 Felder zusammenfügen mit mysql
Verfasst: Sa, 25.06.2011 10:30
Hallo zusammen,
also diese Abfrage hier funktioniert
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' oder
UPDATE staffs.staffs SET staffs.salutation = staffs.firstname
Aber das will ich - funktioniert aber nicht:
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' & staffs.firstname
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' + staffs.firstname
UPDATE staffs.staffs SET staffs.salutation = CONCAT ('Dear ', staffs.firstname)
Kann mir jemand helfen?
OOBase, mysql 5.1
Grüße
Reginald
also diese Abfrage hier funktioniert
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' oder
UPDATE staffs.staffs SET staffs.salutation = staffs.firstname
Aber das will ich - funktioniert aber nicht:
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' & staffs.firstname
UPDATE staffs.staffs SET staffs.salutation = 'Dear ' + staffs.firstname
UPDATE staffs.staffs SET staffs.salutation = CONCAT ('Dear ', staffs.firstname)
Kann mir jemand helfen?
OOBase, mysql 5.1
Grüße
Reginald