Results 1 to 6 of 6

Thread: html file to text in column

  1. #1
    Join Date
    Aug 2005
    Posts
    6

    html file to text in column

    I have a table and in one column is a html file. I need to to be able query some text that is inside this html file.

    What is the best way to take this html file and add the text of the document into another column in the same table?

    Palm

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Do you store file or file path in sql table? If stored file in char column in the table, should be able to copy some text to another char column.

  3. #3
    Join Date
    Aug 2005
    Posts
    6
    It is file and I think it is binary in the coloumn.

  4. #4
    Join Date
    Sep 2002
    Posts
    5,938
    Then you may unable to read text from image column with t-sql.

  5. #5
    Join Date
    Aug 2005
    Posts
    6
    yes I think so - but arent there any ready made small small software that can do jus this - take text from binayr text or html file and import it again into the table?

  6. #6
    Join Date
    Sep 2002
    Posts
    5,938
    You can use bcp to load data from text file into sql table.

Posting Permissions

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