I needed to prepend a "/" value to a directory field in a MySQL table named
files
for every entry in the table. With a column named
Directory
in the table, that can be done using the
UPDATE
command. E.g.:
UPDATE fles SET Directory = Concat('/', Directory);