dbTalk Databases Forums  

Scrubbing ms word characters

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Scrubbing ms word characters in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason Nesbitt
 
Posts: n/a

Default Scrubbing ms word characters - 10-10-2004 , 05:42 PM






I need to go through a whole database and scrub non ascii characters out of
the data such as em dashes and smart quotes. I'm a programmer and not a dba
so my first instinct is to write a program in c# to do this and schedule it
with the task manager. I know there has to be a better way though with dts.
Possibly an activex script? Can someone provide me an example? If
possible, I'd like to loop through every table and column in the schema
without having to refer to them by name.
Thanks for the input!

Jason



Reply With Quote
  #2  
Old   
Mary Chipman
 
Posts: n/a

Default Re: Scrubbing ms word characters - 10-12-2004 , 03:41 PM






Since you're comfortable with C#, you might as well just write the
code to do the scrub. You're probably not going to get any better
performance out of script or T-SQL since you basically have to touch
each character anyway.

-mary

On Sun, 10 Oct 2004 18:42:17 -0400, "Jason Nesbitt"
<jason.nesbitt (AT) GEEmail (DOT) com> wrote:

Quote:
I need to go through a whole database and scrub non ascii characters out of
the data such as em dashes and smart quotes. I'm a programmer and not a dba
so my first instinct is to write a program in c# to do this and schedule it
with the task manager. I know there has to be a better way though with dts.
Possibly an activex script? Can someone provide me an example? If
possible, I'd like to loop through every table and column in the schema
without having to refer to them by name.
Thanks for the input!

Jason



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 - 2012, Jelsoft Enterprises Ltd.