Hi,
I am using Pervasive SQL v10 with the latest patch on a Windows 2003 Server.
I had a table with CHAR columns that I changed to VARCHAR.
ALTER TableName ( MODIFY COLUMN "Field1" VARCHAR(x) NOT NULL);
Because the data on the table was not converted automatically, I had to manually update the content by executing:
UPDATE TableName SET Field1 = LTRIM(RTRIM(Field1))
The table has aroung 450.000 records, and the original size was 210Mb, but the strange thing is that when I run the update sql to trim the content of a field, instead of getting a smaller or same size table, the size almost doubled (400Mb).
What is going on with the Trim function? Is this normal? Is it possible to fix this??
Thanks.