|
SQL Update, Wert anhängen
Hey,
ich hab hier folgendes Problem!
Ich versuche an ein Textfeld (varchar) in einer MySQL-Tabelle Text anzuhängen!
Sprich in dem Feld steht 'Test0' und ich möchte jetz 'Test1' hinzufügen!
zu diesem Thema hab ich folgendes gefunden:
UPDATE table1 SET value = value || 'test1' WHERE id = 1
Leider klappt das nicht so wie es soll, ich bekomm immer nur '0' in das Feld geschrieben und der alte Inhalt wird überschrieben!
Könnt ihr mir bitte helfen!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|