Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

remove last characters in mysql

UPDATE <table_name>
SET <column_name> = CONCAT(LEFT(<column_name>, CHAR_LENGTH(<column_name>) -1), '')
WHERE <condition>;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #characters #mysql
ADD COMMENT
Topic
Name
9+7 =