Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 how to linefeed characters from xml

Author  Topic 

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-12-01 : 04:35:34
hi all,
i have prepared a table using xml document.
In that table there is a problem that, it is display a single tag contents into two rows. But I want all tags should be in a single row.

can any body help me to solve this issue

Thanks in Advance
Regards
Durgesh J

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-12-01 : 04:46:05
are tag conetents single field value? if yes, it might be because of presence of linefeed characters.then try like below

select replace(tagfield,char(13)+char(10),'') from yourtable
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-12-01 : 04:50:07
Post the code you used

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-12-02 : 02:05:14
hi visakh,

i am reading xml file using XP_CMDSHELL

Go to Top of Page

karthickbabu
Posting Yak Master

151 Posts

Posted - 2008-12-04 : 06:51:29


http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=115127

====================================================
you realize you've made a mistake, take immediate steps to correct it.
Go to Top of Page
   

- Advertisement -