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

Last Character Removed

Status
Not open for further replies.

dbinfoweb

Technical User
Nov 20, 2001
59
US
I am just wondering if there is a way to remove the very last character in a field. Thanks in advance for any help.
 
I think you can use something like
Code:
update TABLE set fl=(select SUBSTRING(fl,1,length(fl)-1) from TABLE where id=1) where id=1
[/color]

Hope this helps,
David.
 
Yes, it does. Thanks so much for your help, David.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top