• You mean, when changing the datatype from fixed length to varying length?

    I'd hesitate to describe an unasked for removal of trailing spaces "smart". There are builtin functions to remove them on demand, but no builtin functions to easily restore them after they have been removed...

    I get your point (and it is of course valid), but if you really need the trailing spaces, why change the datatype?

    Lars Broberg
    Elbe-Data AB