CREATE VIEW TableStripped AS
SELECT AcolumnThatDoesntNeedStripping
, BcolumnThatDoesntNeedStripping
, ...
, SUBSTRING(columnA, 1, 20)
, SUBSTRING(columnB, 1, 20)
, SUBSTRING(columnC, 1, 20)
, ...
, SUBSTRING(columnZ, 1, 20)
puis utilisez cette vue :
SELECT *
FROM TableStripped