Hi,
I have Pervasive 10 with the latest patch installed (10.01.070)
I had a table with a CHAR(20) column that contained some data. I altered the column to a VARCHAR(20), no errors where reported.
Now, when I try to run a query to retrieve a row:
SELECT * FROM TABLENAME WHERE COLUMN1 LIKE 'VALUE'
the query returns 0 rows.
The only way I got to get the value was by doing:
SELECT * FROM TABLENAME WHERE RTrim(LTrim(COLUMN1)) LIKE 'VALUE'
If I enter a new row, I can run the first query without any problem.
How is this possible? How can I fix the table to make the first query to run with all rows??
Thanks.