Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Exporting Data from Rich Text Fields?

 
   Database Forums (Home) -> Data Warehouse RSS
Next:  System DSN for mirrored servers  
Author Message
Zaheer Jassat

External


Since: Jan 17, 2008
Posts: 2



(Msg. 1) Posted: Thu Jan 17, 2008 7:01 am
Post subject: Exporting Data from Rich Text Fields?
Archived from groups: microsoft>public>sqlserver>datawarehouse (more info?)

I have an SQL 2000 database (used by a CRM package), and the field that
contains what we call 'History' is a Rich Text Field.

It basically starts like this: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0
Tahoma;} [more follows here]. If I cut and paste this into a text document,
rename it to .rtf then it will display the data in Rich Text format.

My problem is that I want to report / migrate some of this data. For
reporting, I would like to preserve the rich text formatting within a
report, and for data migration purposes I'd ideally like to be able to view
it correctly in Excel (2007).

Can anyone give me some advice on how to work with exporting data from Rich
Text Fields? I know its quite a general question, but I am new to this and
not quite sure where to start researching.

Many Thanks

 >> Stay informed about: Exporting Data from Rich Text Fields? 
Back to top
Login to vote
Knowledgy

External


Since: Jan 03, 2008
Posts: 56



(Msg. 2) Posted: Tue Feb 12, 2008 5:24 pm
Post subject: Re: Exporting Data from Rich Text Fields? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You could try exporting the field as is into a text file (using dts or
xp_cmdshell) and then use a dts activeX task to rename the file to .rtf

--
Sincerely,
John K
Knowledgy Consulting
www.knowledgy.org

Atlanta's Business Intelligence and Data Warehouse Experts


"Zaheer Jassat" wrote in message

>I have an SQL 2000 database (used by a CRM package), and the field that
>contains what we call 'History' is a Rich Text Field.
>
> It basically starts like this:
> {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;} [more follows
> here]. If I cut and paste this into a text document, rename it to .rtf
> then it will display the data in Rich Text format.
>
> My problem is that I want to report / migrate some of this data. For
> reporting, I would like to preserve the rich text formatting within a
> report, and for data migration purposes I'd ideally like to be able to
> view it correctly in Excel (2007).
>
> Can anyone give me some advice on how to work with exporting data from
> Rich Text Fields? I know its quite a general question, but I am new to
> this and not quite sure where to start researching.
>
> Many Thanks

 >> Stay informed about: Exporting Data from Rich Text Fields? 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Data Warehouse All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]