Re: How to use DTS to create a scenario like Word - Mailmerge kind of functionality
From: Darren Green (darren.green_at_reply-to-newsgroup-sqldts.com)
Date: 06/11/04
- Next message: Darren Green: "Re: General Repository Error when importing MetaData"
- Previous message: Allan Mitchell: "Re: Execute dts package from stored procedure"
- In reply to: Belinda: "Re: How to use DTS to create a scenario like Word - Mailmerge kind of functionality"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Jun 2004 14:49:30 +0100
If AWK works, why not keep using AWK. GAWK (GNU AWK) is available as a Win32
build which I have used for pre-processing files for subsequent import into
DTS.
Darren
www.sqldts.com
"Belinda" <belindacur@yahoo.com> wrote in message
news:41af5e48.0406101750.98cad60@posting.google.com...
> "Allan Mitchell" <allan@no-spam.sqldts.com> wrote in message
news:<eKBmYNvTEHA.2408@tk2msftngp13.phx.gbl>...
> > This does not sound like the kind of thing DTS is meant to be doing. It
> > sounds as though you would want to populate a Word Template at known
places
> > with values retrieved from a DTS query. In my opinion this is not for
DTS.
> >
> > You would probably be bettwe sticking to using Word only to do this.
> >
> > --
> > --
> >
> > Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
> > www.SQLDTS.com - The site for all your DTS needs.
> > I support PASS - the definitive, global community
> > for SQL Server professionals - http://www.sqlpass.org
>
> Hi Allan
>
> Sorry, for not describing the problem more clearly. This is definitely
> not a typical formatted document template and a data file which I can
> fit into a form letter and a data catalog in Word.
>
> I am currently doing this on UNIX using awk which is a powerful UNIX
> text programming tool and it does a fantastic job. In AWK I haev
> defined variables for values to be replaced and the rest is all
> constant text literals I feed the data file for each record in the
> data file the static template is to be
> substituted and awk reads the data file and substitutes for each
> variable value in the static template. It works well on UNIX the data
> file is quite large I cannot use it on Word and since it repeats every
> week I want to automate it using DTS currently it is automated with a
> awk script on UNIX and runs automatically every week from UNIX
> scheduler cron. I want to move this process to SQL and use DTS to do
> this.
>
> Thanks
> Simon
- Next message: Darren Green: "Re: General Repository Error when importing MetaData"
- Previous message: Allan Mitchell: "Re: Execute dts package from stored procedure"
- In reply to: Belinda: "Re: How to use DTS to create a scenario like Word - Mailmerge kind of functionality"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|