- Feb 13, 2003
- 26,252
- 403
- 126
Is it possible to search the contents of a binary file that is stored in a database table (using SQL Server 2005)?
A table has an image column which stores uploaded files (user can upload many file types: .zip, .txt, .xls, .docx, ...). So would it be possible to somehow re-construct the file and then search the contents of it?
For example, say this table has a some records in it and stored in the image column are resumes, in Microsoft Word format. Could functionality be setup (using ASP.NET 3.5 and SQL Server 2005) to search the resumes for say an applicant's name or university?
I would think the file would have to be first queried from the database in a SELECT query, then outputted to the filesystem by ASP.NET code as the actual binary file, and then somehow that file's contents searched.
Anyone done something like this, or know if it is possible? Thanks.
A table has an image column which stores uploaded files (user can upload many file types: .zip, .txt, .xls, .docx, ...). So would it be possible to somehow re-construct the file and then search the contents of it?
For example, say this table has a some records in it and stored in the image column are resumes, in Microsoft Word format. Could functionality be setup (using ASP.NET 3.5 and SQL Server 2005) to search the resumes for say an applicant's name or university?
I would think the file would have to be first queried from the database in a SELECT query, then outputted to the filesystem by ASP.NET code as the actual binary file, and then somehow that file's contents searched.
Anyone done something like this, or know if it is possible? Thanks.