CREATE VIEW TableStripped AS
SELECT AcolumnThatDoesntNeedStripping
, BcolumnThatDoesntNeedStripping
, ...
, SUBSTRING(columnA, 1, 20)
, SUBSTRING(columnB, 1, 20)
, SUBSTRING(columnC, 1, 20)
, ...
, SUBSTRING(columnZ, 1, 20)
lalu gunakan tampilan itu:
SELECT *
FROM TableStripped