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

Delete text in query

Status
Not open for further replies.

roselam

Technical User
May 14, 2003
15
US
How can you delete the last 2 characters from a field?
 
see the len and left functions or the mid function

update mytable set filedname = left(fieldname,len(fieldname)-2)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top