Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 27th, 2004, 01:46 AM
TeodoraAdina TeodoraAdina is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 TeodoraAdina User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Manage Image data types

I must save in a column of a table whole documents (for example .doc files).
I made a full text index in that table. I asociated another column (string type)
to the image column. That column store the extension of the document
stored.
Now I want to interogate the column using the specific words as contains or
treetext. The problem is that any query I made get no results although I am sure
there are results.
Is anybody know what I must do?
If you know more about these image datatypes I would be very glad to know because
the help offer minimal informations concerning this image matter.
Thanks'

Reply With Quote
  #2  
Old April 27th, 2004, 03:42 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
The image (binary) field is a binary datatype. It does not store the actual text contained in the document. Storing binary objects is not recommended in most cases, as it is usually easier and more effecient to store files in the filesystem.

To be able to search Word documents, use the built-in document indexer that comes with IIS.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old April 29th, 2004, 01:33 AM
robinson_pm robinson_pm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: India
Posts: 3 robinson_pm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Manage Image data types

hi,
First of all i have never used image datatype ... not exactly sure if its only used for binary data....

But for your case i suggest you use datatype as text ...
You have created a fulltext table..........
May be you have missed out on populating those ( assuming you have created catalog, enabled tatabase for full text indexing....)

There is also another way of full text indexing of files (doc , txt etc)....directly from the hard disk... no need to insert these inside sql server ... give it a try

regards
Robinson

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Manage Image data types


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway