Re: How to Change datasource, username and password on batch import

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello abuck,

You will probably find that the wizard generated copies of connections and you probably only have around 4 actual connections. This means you change those and they all fall in line.


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Hi,

I have around 300 tables to import from an Access database to an MS
SQL server. I want to be able to store the DTS package into a file so
I can use it to populate my MS SQL database from the Access database
in my setup and deployment project. The problem is the datasource of
both my access and ms sql will change at the setup so I will need to
give the datasource, user and password to the DTS for ALL of my
tables.

I have use the import&export wizard to generated the DTS for my 300
tables. This is not a problem. The problem is that the wizard
generated 600 connections to import the thing. In reallity, I only
need two connection.

I could attached a dynamic property (to use a global variable) for
EVERY of my connection that will change all the datasource, username
and password and it would work. The problem is doing that manually for
the 600connetions will take VERY LONG. Is there any way I can
transform my 300 tables with only 2 connections insteed of 600 (in
that case, changing 2 connections is not long to do at all).

Any help will be appreciated.

thanks.



.



Relevant Pages

  • Re: Excel 2007 crashes after viewing property sheet in Data Connec
    ... The wizard and refresh functions work fine with text files with either the ... text files with either a .csv or .txt extension. ... Open the Workbooks Connections dialog box by selecting the Connections ... On my system Excel will now crash. ...
    (microsoft.public.excel.newusers)
  • VPN - RRAS wont set ports
    ... I have right-clicked Server ports and configured WAN Miniport PPTP ... for Remote Access Connections for 5 ports. ... Click Yes to exit the wizard and restore your pre-wizard settings. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: SBS2003 Internet connection problems
    ... >> Enter my username and password and step through the rest of the wizard. ... >> no internet access. ... >> connections dialog, but then the client machines don't have access. ... >> you setup through the wizard does not then show up in the network ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW Accessing desktops...
    ... If not, RDP would not ... >Still need to run the wizard but uncheck the box for VPN ... >make sure the check box for remote desktop is checked. ... >> might be too busy to accept incoming connections. ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows XP Networking Issues
    ... And when I ran the wizard on my laptop and selected to ... The Linksys is a residential gateway. ... One of the problems with the wizard is the bridge setup. ... connections on your computer, it automatically sets up a bridge. ...
    (microsoft.public.windowsxp.network_web)