sql server 2005 - SQL update for the varchar column -


i want change string of attachmentcopyloc columns d:\it\public\ftx_robotalerts\336 v:\it\public\ftx_robotalerts\336 change here d v, remaining string same (i don't event want change that).

how can that?

thanks in advance help.

enter image description here

another way basic string manipulation

update {table} set attachmentcopyloc ='v' + substring(attachmentcopyloc,2,len(attachmentcopyloc ))  attachmentcopyloc 'd%' 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo