1

I have some xml documents stored as an image data type in a sql server 2000 table. How can I extract the data back to xml and save to a file, or at least see the xml contents in the query window, using just the sql tools?

2
  • 2
    Image type? Why didn't you save them as text? Commented Mar 4, 2011 at 1:41
  • Because the database also stores binary data in some cases. Currently I am only interested in the records that have xml data Commented Mar 4, 2011 at 19:12

1 Answer 1

0

Look, here

Essentially you want to extract text from varbinary.

Sign up to request clarification or add additional context in comments.

1 Comment

that requires client software to be built. No way to do it with a query?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.