Solved

Uploading Word Docs with asp and storing in SQL server 2000Question

Posted on 2008-10-22
2
255 Views
Last Modified: 2013-12-24
Hi All ,
Im currently working on a website that requires the functionality of being able to accept uploaded CVs from registered users and storing them online so they can attach them to job applications, get headhunted by recruiters,

I am a little confused over how to store these CV's in SQL, My options are this,

1. User copies and Paste their CV into an RTF box and hits submit to save to the database in a text field or blob,

2. User attached their CV and then the CV is saved toi disk

I am trying to find the best solution to accomplish this eg storing the CV word docs in the actual database using BLOBS or storing CVs in a folder and then the next concern I have is how can the recruiters search on specific key words if saved to the DB or the file on disk, guys, this is my only stumling block and I cant seem to get my head around how to achieve this.

I have seen job sites where users can copy and paste their CV into an RTF control and recruiters can search on it. how they do this I have not idea,

Any ideas or examples would be much appreciated ?

(Using ASP, Windows XP workstation, server, SQL SERVER 2000)

Many Thanks
0
Comment
Question by:IMcMillan
2 Comments
 
LVL 8

Accepted Solution

by:
saoirse1916 earned 500 total points
ID: 22788161
If you want to be able to search the files you'll definitely want to store the file itself in the database.  But you don't have to make the users copy/paste to do that -- you can upload a Word file into a varbinary datatype (or image, if you don't have varbinary).  Enable fulltext indexing on that field and build your index and the field is then searchable.

Here's a few links I used when setting this up on one of my sites:
http://www.codeproject.com/KB/architecture/sqlfulltextindexing.aspx - full text indexing
http://www.sitepoint.com/blogs/2006/11/12/sql-server-full-text-search-protips-part-1-setup/ - full text indexing
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4 - uploading files into the DB
0
 

Author Closing Comment

by:IMcMillan
ID: 31508965
Thanks for this solutions this was exactly what I was looking for, Thank you very much for your help. A+
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question