RSS

remove specific character from column sql

15 Aug

if you want to remove specific character string from string .

like

~/UpLoadedImages/Product20081415160554.jpg

you want to remove ” ~/UpLoadedImages/” this part of string then use this query for that .

UPDATE tblImages
SET vchPath = replace(vchPath, ‘~/UpLoadedImages/’, ”)

 

 

Advertisements
 
Leave a comment

Posted by on August 15, 2013 in SQL Query

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: