select * from program P where contains(p.description,'%s')>0;
表中没有任何纪录有s,为什么返回了所有的数据呢?
另外,contains能不能支持%通配符呢?
上面的contains用法有什么问题吗?

解决方案 »

  1.   

    select * from program P where contains(p.description,'"%s"')>0;不知道这样可不可以,试试看~~~
      

  2.   

    刚试验过没有你说的情况出现。另外oracle Text支持通配符的。请看文章: http://www.oracle.com/technology/products/text/x/tech_overviews/imt_815.html
    这里全面介绍了oracle Text,是我找了两天才找到的,关键是文章太多- -。ps:一般人儿我不告诉他
      

  3.   

    oracle contains问题,着急,一小时结帖  .
    结果用了3个月才结帐,信用何在?