How can I change substring in a field with SQL commands?
I tried this:
UPDATE "xxx.dbf" SET field1 = REPLACE(field1, "FROMTHIS", "TOTHAT") where field1 like "%xy%"
I got this Error Message:
-> File 'replace.prg' does not exist
Thank you.
UPDATE xxx SET field1=STRTRAN(field1, 'FROMTHIS', 'TOTHAT') WHERE field1 LIKE '%xy%'
Return to DBF Commander Professional
Users browsing this forum: No registered users and 1 guest