Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle Text, wildcards AND escape characters help
Hi,
Here is what im trying to do, the SQL statement looks like this..
select count(projectid) from project
where contains(objectives, 'agent', 1) >0;
COUNT(PROJECTID)
70
COUNT(PROJECTID)
90
Now this is what im looking for...
select count(projectid) from project
where contains(objectives, '{agent%}', 1) >0;
This SQL statement works, but it escapes the wildcard; my question is how do I make the wildcard valid? If this statement actually used the wildcard it should return a count of 90, but it only returns a count of 70. Any ideas or help will be apprieciated.
Thank you,
jimi
Received on Mon Sep 19 2005 - 13:17:47 CDT