我用vc++开发数据库dll,用 ole db 访问oracle 8.16,我的provider=oraoledb.oracle;其他操作都正常,但是当执行以下sql查询时,
查询出无结果:
select name from employee where name='孔子'
查询结果为0记录.实际上数据库中有这个人!我无意之中把
provider换成了MSDAORA.1,查询就对了.
我vc选的是多字节字符集;
请高手指教.