Well, I found the problem. The query I originally used was fine. I changed
UPDATE table SET field_2 = substring(field_1,1,1)
to
UPDATE table SET field_2 = substring(field_different,1,1)
and it looked just as it should. When I exported the data, I saw a \n as the first character for the field I was trying to import. This was the case except for the very first record.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.