I am trying to use Pro*C to access a TimesTen database. The code to create a table in TimesTen is
create table testtable(id number(4) not null primary key, ename char(10));
I use Pro*C to fetch data from this table. When I use this SQL:
select * from testtable where ename like 'wxd'
I get no results. But when I use this:
select * from testtable where ename like 'wxd '
I get the right results. I must fill enough space into the field. Is there some other way to can get the right result?