Sample Header Ad - 728x90

Mass update all cells in a column with a substring of it's original value

1 vote
1 answer
290 views
I need to trim the last seven characters off of all the cells in a column. This query returns the results that I need SELECT test_date, SUBSTRING(test_date FROM 1 FOR CHAR_LENGTH(test_date) - 7) as test from results; I now need to take the computed result from the substring and replace the original values. Here's what the data looks like, if it helps. Data Table
Asked by Chaostime (13 rep)
Jun 27, 2020, 01:42 PM
Last activity: Jun 27, 2020, 02:31 PM