dbTalk Databases Forums  

Extracting XML data stored in a LONGTEXT column

microsoft.public.sqlserver.xml microsoft.public.sqlserver.xml


Discuss Extracting XML data stored in a LONGTEXT column in the microsoft.public.sqlserver.xml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark D
 
Posts: n/a

Default Extracting XML data stored in a LONGTEXT column - 05-12-2005 , 09:17 PM






I have a table that has XML data in a LONGTEXT column. I need to extract all
the data into a table. Can anyone give me some tips on the easiest way to do
this. The data is written to the table and will be extracted in real time.

Reply With Quote
  #2  
Old   
Michael Rys [MSFT]
 
Posts: n/a

Default Re: Extracting XML data stored in a LONGTEXT column - 05-12-2005 , 11:52 PM






Do you mean TEXT /NTEXT?

Are you using SQL Server 2000?

What is the nature of your extraction? Do you shred parts of the document
into relational fields? Do you need to preserve the full XML?

Thanks
Michael

"Mark D" <Mark D (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a table that has XML data in a LONGTEXT column. I need to extract
all
the data into a table. Can anyone give me some tips on the easiest way to
do
this. The data is written to the table and will be extracted in real
time.



Reply With Quote
  #3  
Old   
Mark D
 
Posts: n/a

Default Re: Extracting XML data stored in a LONGTEXT column - 05-13-2005 , 06:48 AM



SQL Server 2000, column is TEXT. Information is uploaded from a desktop and
manipulated on a web application. The vendor is storing the entire XML
document in this field. I need to extract each data element into a column in
another table to populate another application.

"Michael Rys [MSFT]" wrote:

Quote:
Do you mean TEXT /NTEXT?

Are you using SQL Server 2000?

What is the nature of your extraction? Do you shred parts of the document
into relational fields? Do you need to preserve the full XML?

Thanks
Michael

"Mark D" <Mark D (AT) discussions (DOT) microsoft.com> wrote in message
news:80CA4109-C7A4-4595-914C-CBF60DA137A9 (AT) microsoft (DOT) com...
I have a table that has XML data in a LONGTEXT column. I need to extract
all
the data into a table. Can anyone give me some tips on the easiest way to
do
this. The data is written to the table and will be extracted in real
time.




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.