How to remove last characters in mysql column values ?

Tutorial and Samples Posted: April 3, 2024 (2 years ago)

To remove the last characters from values in a MySQL column, you can use the LEFT() function along with the LENGTH() function to achieve this :-

UPDATE employee SET address = LEFT(address, LENGTH(address) – 1);

 2,682 total views

Leave a Reply