> jak napsat správně v mysql ?: > > update kontakt set kategorie = kategorie + ";xxxxx"; > > pole kategorie mám definováno jako varchar. > Když se pokusím vložit zkusmo třeba > > update kontakty set kategorie = "V"+"M" ; > > tak se mi tam nacpe nula. > Kde dělám chybu ? Děkuji "+" je chapane ako operator scitania - vysledok po scitani dvoch retazcov je vzdy nula teda za predpokladu, ze sa nezacinaju cislom ;-) musis pouzit funkciu concat(string1, string2) teda update kontakt set kategorie = concat(kategorie,';xxxxx'); peter
This archive was generated by hypermail 2.1.2 : 14. 08. 2002, 11:24 CEST