SQL Lite help
Posted: Sat Feb 14, 2026 6:57 am
I executed this sql command sequence in December 2025 and tried to execute it again today but it didn't work. If my query select didn't work either.
All this does is concatenate the date to the end of the title on tracks. Can you help me determine why this no longer works? I am still using MM version 2024.2.0.3163 because I am afraid to upgrade because everything is working so well in this version. Especially wifi synching!
this executed on 12-7-2025
UPDATE Songs
SET SongTitle = SongTitle || ' (' || substr(CAST(Year AS TEXT), 1, 4) || ')'
WHERE rowid IN (
SELECT rowid
FROM Songs
WHERE Year IS NOT NULL
AND length(CAST(Year AS TEXT)) >= 4
AND SongTitle NOT LIKE '% (' || substr(CAST(Year AS TEXT), 1, 4) || ')');
IE. The Beat Goes On Becomes The Beat Goes On (6701)
All this does is concatenate the date to the end of the title on tracks. Can you help me determine why this no longer works? I am still using MM version 2024.2.0.3163 because I am afraid to upgrade because everything is working so well in this version. Especially wifi synching!
this executed on 12-7-2025
UPDATE Songs
SET SongTitle = SongTitle || ' (' || substr(CAST(Year AS TEXT), 1, 4) || ')'
WHERE rowid IN (
SELECT rowid
FROM Songs
WHERE Year IS NOT NULL
AND length(CAST(Year AS TEXT)) >= 4
AND SongTitle NOT LIKE '% (' || substr(CAST(Year AS TEXT), 1, 4) || ')');
IE. The Beat Goes On Becomes The Beat Goes On (6701)