Results 1 to 5 of 5

Thread: Searching ntext field

  1. #1
    Join Date
    Jan 2005
    Posts
    2

    Searching ntext field

    Hi,

    I have a SQL Server Database of medical articles with 20 fileds including 2 ntext fields which hold abstract of articles. On of these fields is in english and the other one is in arabic (unicode).

    When I run a SELECT query for all fields the It takes too long. If I exclude the 2 ntext fields the query will be much faster (but still far slower compared to when my database was MS Access).

    Any help would be appreciated.

  2. #2
    Join Date
    Feb 2003
    Posts
    1,048
    Is the amount of data stored in the fields enough to warrant using ntext or text fields? If not, you should use varchar and nvarchar!!!

  3. #3
    Join Date
    Dec 2004
    Posts
    502
    Also, you might want to decide if you really need to store the entire medical article in the database. It might be easier for you to store the articles on a hard disk location and then just store the paths of those locations in the database.

  4. #4
    Join Date
    Jan 2005
    Posts
    2
    1. Unfortunately the data is big enough to be put in ntext field.
    2. Actually the fulltext articles are pdf files on hard disk and users download them through their speciefic url which is stored in database. The data in the ntext fields is just "abstract" of articles.

  5. #5
    Join Date
    Feb 2003
    Posts
    1,048
    Take a look at full-text indexing and see if that would be helpful.

    Can you an example search query?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •