MySQL Forums
Forum List  »  Newbie

Re: searching for windows paths
Posted by: Private Citizen
Date: January 29, 2017 12:13AM

Well, so I can select the rows. But what I really want to do is change the paths that begin with such-and-such (e.g., "c:\psoc\") to prepend something like this: "c:\projects\". And I have tried a few things, but nothing works so far. I have even tried replacing the whole path, like this:

UPDATE myschema.modules
SET path = REPLACE(path, "c\:\\\\psoc\\cy8cproj1\\",
"c\:\\\\projects\\psoc\\cy8cproj1\\");

No rows are updated, but about 45 a returned for the SELECT query on "c\:\\\\psoc\\cy8cproj1\\".

Options: ReplyQuote


Subject
Written By
Posted
January 27, 2017 10:41PM
Re: searching for windows paths
January 29, 2017 12:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.