Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: SQL Server and Word Documents

date posted 1st April 2004 22:30

Hi John,

As far as I know you could save Word documents like this but I'm not sure
that I would or not. It's a personal 'thing' of mine but when I've had this
sort of problem to deal with I've stored pointers to the word documents in
the database, and the document files in a directory. I've also stored the
name and extension in separate fields, so that if I want to change the
document type I can do reasonably easily and do a bulk conversion of the
documents in the directory.

If you do 'on the fly' searching then you can get some results by treating
the blob field as a big string, but I've found the only effective way to do
this is to index the word file using a piece of VB middleware when the
record is created. The middleware opens the word document using COM,
processes it using the Word object interface and creates a list of words in
the file (rules for selection of words in the middleware or in the
database). The words are then stored in a lookup table linking back to the
word document, and keyword searches can then be done on the list of words.
You can do some suprisingly sophisticated stuff like this.

Hope this helps.

Joe



From: "John Kyle" [EMAIL REMOVED]
To: [EMAIL REMOVED]
>
> I have been searching google for a bit and have not got very far with this
> one. I would like to store Word documents in SQL Server, I know I will
have
> to use the varbinary field (BLOB equivalent). But I would also like to be
> able to search the word douments directly in the database.




Messages by Day
April 30th 2004
April 29th 2004
April 28th 2004
April 27th 2004
April 26th 2004
April 25th 2004
April 24th 2004
April 23rd 2004
April 22nd 2004
April 21st 2004
April 20th 2004
April 19th 2004
April 18th 2004
April 17th 2004
April 16th 2004
April 15th 2004
April 14th 2004
April 13th 2004
April 12th 2004
April 11th 2004
April 10th 2004
April 9th 2004
April 8th 2004
April 7th 2004
April 6th 2004
April 5th 2004
April 4th 2004
April 3rd 2004
April 2nd 2004
April 1st 2004


Messages by Month
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000