Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update set substring of field to literal

Status
Not open for further replies.

wooddsw

IS-IT--Management
Oct 7, 2003
27
US
Has anyone been able to accomplish something like this statement?

Update tablename set substring(field,10,15) = 'value'

I want to update data burried inside a text field but continue getting:

Incorrect syntax near '('

Any help offered would be greatly appreciated

 
A great point in the right direction....THANKS!

Now the problem is complicated by the fact that my FIELD is a TEXT datatype. When using your syntax is tells me that argument 1 (I guess FIELD) is an invalid datatype for this function.

Can you steer me any further or am I up a creek now!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top