Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Swati Jain
Posting Yak Master
139 Posts |
Posted - 2009-08-19 : 14:55:00
|
| hifilepaths are stored in database table likefor orderno=11..locA/a.tif..locA/b.tif.......locA/z.tifnow bcoz of some reasonsfiles in between has been changed as follows.......locB/c.tif --hear it should be locA/c.tifhear r lot of such entriedcan any sql query help to resolve prob |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2009-08-19 : 15:01:49
|
You need to provide more information than that.What is the table structure..and what specific records you want to update...ANy...you might want to check out the REPLACE function..something replace(filepaths,'locB','locA') |
 |
|
|
Swati Jain
Posting Yak Master
139 Posts |
Posted - 2009-08-19 : 20:08:05
|
quote: Originally posted by vijayisonly You need to provide more information than that.What is the table structure..and what specific records you want to update...ANy...you might want to check out the REPLACE function..something replace(filepaths,'locB','locA')
not only locB-->locA their is change in name of tif files alsosuppose folder 'locA' is having tif fileslocA a.tif b.tif c.tiflocB a1.tif s1.tif d1.tifso in db table filepaths are stored for order no=11locA/a.tiflocB/s1.tif --->but it should be locA/b.tiftablestructureid filepath ordernohow this can be replaced quickly? |
 |
|
|
|
|
|