Hi,
we have a field under nText which contains both text and RTF text!(database
design and app are by another company, no way to modify them)
simple select query returns normal values under text data, but when it is
RTF we get unnecessary info such as:
{\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fnil\fcharset0
Arial;}}
\viewkind4\uc1\pard\lang1033\ul\b\fs24 This is a test: entered text
\par
\par second line
\par
infact, all we want to see is:
This is a test: entered text
second line
any idea?
Thanks,
Vaf
Aaron Bertrand [SQL Server MVP] - 10 Mar 2008 17:31 GMT
SQL Server does not know what RTF is... it is just a bunch of text to SQL
Server. You will need some sort of translator to parse the RTF text for
you. This is like asking SQL Server to pull text out of HTML, or read text
off of images.
A
> Hi,
> we have a field under nText which contains both text and RTF
[quoted text clipped - 20 lines]
> Thanks,
> Vaf