Autor Zpráva
jogurt
Profil
Dobry vecer,
zkoušel jsem tento příkaz (ktery nefunguje):
UPDATE TABLE `galerie` SET `adresa` = REPLACE(`adresa`,'gallery/','gallery/mikulassky_beh05/') WHERE `cislo_galerie` LIKE 12

Jak se takto podobne daji hromadne zmenit hodnoty, kdy se jejich cast zachova, ale aby to fungovalo?
djlj
Profil
Co znamená nefunguje? Vrátí ti to nějakou chybu? Ten zápis by měl být v pořádku.
jogurt
Profil
Opravdu v poradku? Me to hlasi
#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 'TABLE `galerie` SET `adresa` = REPLACE(`adresa`,'gallery/','gallery/mik' at line 1
djlj
Profil
Ajo, na začátek jsem se nekoukal. Vyhoď z toho TABLE.
jogurt
Profil
aha, tady je chyba...

diky, Jogurt
Toto téma je uzamčeno. Odpověď nelze zaslat.

0