Reputation: 1409
I'm sorry I don't have code because I really don't know / didn't find how this is possible.
I've created a database from big TXT files that were separated by character length, making so that if the limit for - let's say - address field was 200 chars, but for 1 value it only had 50, the other 150 will be whitespace...example:
" 221 Baker Street, NY, NY"
Now, I have this 117gb database that I'm trying to lower the size (VACUUM did not work). I'm wondering if there is a way to update all columns by trim() all values
Upvotes: 0
Views: 254