Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (Oracle)
 Oracle 8.1.5.00 CASE in search.asp
 Forum Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

h2o
Starting Member

46 Posts

Posted - 02 April 2001 :  15:55:11  Show Profile
Sorry... its been soooo long... i forgot to re-read the post... nevermind... i will work on a mod this week... sorry.

<
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 02 April 2001 :  18:05:58  Show Profile  Visit gor's Homepage
quote:

Sorry... its been soooo long... i forgot to re-read the post... nevermind... i will work on a mod this week... sorry.



No problem h20, I've been busy also, so that is why there hasn't been news on the Oracle version....

Pierre<
Go to Top of Page

h2o
Starting Member

46 Posts

Posted - 03 April 2001 :  13:34:22  Show Profile
Ok.. I thought we should try doing the search algorithm in VB first. Here it is:

Set rec = OraDatabase.CreateDynaset ("ENTER SQL HERE TO GET ALL POSTS", 0)
do until rec.eof
Set txtbody = OraDynaset.Fields("Body").Value
'Read entire CLOB value, buffer must be a Variant
AmountRead = txtbody.Read(buffer)
'sets to zero if not found
pos=instr(1,lcase(buffer),lcase(SearchString))
if pos<>0 then
'do what you want here with found item
end if
rec.movenext
loop
rec.close
set rec=nothing

Try this out... if it is too slow, then I will make the same thing in PL/SQL. Let me know Gor as soon as you test it... i am interested in the performance.

<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07