RE: Multiple loops in one package?
- From: petery@xxxxxxxxxxxxxxxxxxxx (Peter Yang [MSFT])
- Date: Wed, 31 Aug 2005 02:47:37 GMT
Hello Peter,
Based on my scope, this is not currently support in SQL 2000 DTS package.
You may want to check if SQL 2005 can meet your requirement because it has
enhancement on this respect.
For more information on this, please go to SQL 2005 newsgroup:
http://communities.microsoft.com/newsgroups/default.asp?icp=sqlserver2005&sl
cid=us
Thanks & Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: Peter A. Schott <paschott@xxxxxxxxxxxxxxxx>
| Subject: Multiple loops in one package?
| Date: Tue, 30 Aug 2005 11:30:55 -0500
| Message-ID: <v729h1dq10tmpqho1i9e4g275gn5k7t0i3@xxxxxxx>
| X-Newsreader: Forte Agent 3.0/32.763
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.sqlserver.dts
| NNTP-Posting-Host: 216.178.160.231
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:14435
| X-Tomcat-NG: microsoft.public.sqlserver.dts
|
| I know how to loop through one set, but wasn't sure if there was an easy
way to
| loop over two variables, something like:
|
| Get list of servers
| Get next server from Server recordset --a
| For Each Server
| Get List of Databases
| Get next database from DB Recordset --b
| For Each Database on server
| Do Stuff
| Loop Databases (back to b)
|
| Loop Servers (back to a)
| Exit
|
|
| I know I can do one or the other without too much trouble, but has anyone
done
| this successfully? Do I just need to point the DB loop to B with a
success to
| Loop Servers which will then take me back to a?
|
| Thanks.
|
.
- Follow-Ups:
- Re: Multiple loops in one package?
- From: Peter A . Schott
- Re: Multiple loops in one package?
- References:
- Multiple loops in one package?
- From: Peter A . Schott
- Multiple loops in one package?
- Prev by Date: Re: DTS - Export data to another Server..
- Next by Date: SSIS - Exporting XML to a text file
- Previous by thread: Multiple loops in one package?
- Next by thread: Re: Multiple loops in one package?
- Index(es):
Relevant Pages
|
Loading