How to replace a string in a SQL Server Table Column -


I have a table (SQL Server) that refers to the path (UNC or otherwise), but now the path change is. In the Path column, I have many records and I need to change a part of the path, but not the whole path

How can I do this with a simple update?

It's easy:

  update my_table set path ( Path, 'old string', 'nuestring')  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -