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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting a set amount of text from field in table

Status
Not open for further replies.

nigel9097

Programmer
Joined
Apr 8, 2009
Messages
1
Location
GB
Hi,

Is there anyway of extracting a certain amount of text from one field to another in the same table.

I have a table called mainTable and in that table are two fields, one called detailDescription and another called thumbDescription.

I wish to copy the text out of mainDescription in to thumbDescription but only say the first 200 characters. Each detailDesciption is currently varying lengths and over 200 characters.

Is there any sql that could do that?

Regards,

Nigel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top