Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Converting RTF in a text column to plain text in bulk

$
0
0

Hello friends,

I have a SQL Server 2008R2 table with a few fields of "text" data type
that contain rich text. I have to downstream this data and the
recipient cannot handle rich text. I need to figure out a way to
convert it back to plain text. Any suggetions?

Could you please help me solve this problem.

Here is the single column input of data.

{\rtf1\ansi\ansicpg1252\uc0\deff0{\fonttbl  {\f0\fswiss\fcharset0\fprq2 Arial;}  {\f1\froman\fcharset0\fprq2 Times New Roman;}  {\f2\froman\fcharset2\fprq2 Symbol;}}  {\colortbl;\red0\green0\blue0;\red255\green255\blue255;} {\stylesheet{\s0\f0\fs24 [Normal];}{\*\cs10\additive Default Paragraph Font;}}  {\*\generator TX_RTF32 10.1.323.500;}  \deftab1134\paperw12240\paperh20000\margl900\margt1440\margr540\margb1440\pard\plain\f1\fs24 This is my supplement report.\par }


Regards, Thiru.




Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>