On 29 Nov 2018, at 7:32pm, Carlo capaldo <carlocapa...@hotmail.com> wrote:

> select folder.Folder_Path,
> replace(Folder_Path,'C:\Users\carlo\Pictures','E:\Photos')
> from Folder
> where folder.Folder_Id = 1
> 
> Could someone kindly educate me on how to update the folder references?

My guess is that you actually want

UPDATE folder
    SET Folder_Path = 'E:\Photos'
    WHERE Folder_Path = 'C:\Users\carlo\Pictures' AND folder_Id = 1

Please take a backup copy of your database file before trying this.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to