September 2, 2005 at 11:43 am
September 2, 2005 at 12:13 pm
Thanks for your quick response.
Do you know what's the scanned and OCRed file type I can get? a word .doc? Then I save this file as an image object into SQL, then how to search the content?
Or I just need the OCRed plain text, and save them in varchar field and search them there?
September 2, 2005 at 12:19 pm
You can always open a doc file, and select all the text, and do an insert into a text field, which you can then index in a full text catalog. You need to get to the text doc and then you're fine. Now the question is, do you still have those docs hidden somewhere in a backup?
September 2, 2005 at 1:00 pm
Yes, those docs will still be neccesary for people to download, so they will be stored in database too.
September 2, 2005 at 1:06 pm
So what do you have access to exactly?
September 2, 2005 at 1:24 pm
Luckily, SQL Server 2005 reportedly will have a new operator LooksLike that will find images that look like other images or items described in strings. For example:
Select * from myScans
where myImage LOOKSLIKE 'banana'
would find all pictures where there is a banana filling most of the frame, while
Select * from myScans
where myImage LOOKSLIKE '%banana%'
would find a smaller banana embedded within the image.
Complex search criteria are also supported:
Select * from myScans
where myImage LOOKSLIKE '%a red or green bicycle with a horn%'
September 5, 2005 at 6:40 am
hahahaha
Careful, someone might lose their job if they took that back to their boss with a straight face only to find his colleagues laughing at him!
Full marks for the serious looking examples though
My HRM database's most popular query was....
select * from myScans
where myImage LOOKSLIKE '%former%dba%'
would find all former DBAs, as well as those who were former programmers, ice cream salesman, weight loss exercise equipment advertisement folk, etc and who are now DBAs
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply