Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

eliminar ultimo carcacter mysql

SELECT col
     , /* ANSI Syntax  */ SUBSTRING(col FROM 1 FOR CHAR_LENGTH(col) - 2) AS col_trimmed
     , /* MySQL Syntax */ SUBSTRING(col,     1,    CHAR_LENGTH(col) - 2) AS col_trimmed
FROM tbl
Source by www.it-swarm-es.com #
 
PREVIOUS NEXT
Tagged: #eliminar #ultimo #carcacter #mysql
ADD COMMENT
Topic
Name
7+6 =