473,725 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attention All GURUS: Importing Mulitple MDBs in SQL Server 2005 Using SSIS

I am trying to import identical MDBs (Access Database) columns into SQL
Server 2005 using foreach loop in SSIS. The data and file name of the
MDBs are not the same; however the structure (column) is. I do need to
capture part of the file name and insert it into the destination column
(i.e. Year). I've used the foreach loop with the flat file connection
manager, and was able to capture any part of a text file name and insert
it into the destination without any issue. There, one just needed to
notify the loop editor where the files were located, how one would
enumerate and create a user variable that would be used in the flat file
connection manager. Then I right clicked the flat file connection
manager and chose properties to change the connection string to the user
variable from above.

Unfortunately, setting up the MDB loops have proven to be more difficult
and I cannot find information about it anywhere. The information that
I've found had to do with writing scripts using the DTS packages and not
SSIS. It is vitally important that I use the tool's components as much
as possible so that it is robust for latter alterations and I am also
relatively new to programming.

Can anyone provide me information on "how to" using the foreach loop
container with the OLEDB Connection Manager? Or notify me of another
solution to this troubling issue?

Your assistance in this matter is truly appreciated.

*** Sent via Developersdex http://www.developersdex.com ***
May 4 '07 #1
0 1655

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Howard | last post by:
Is it compatible with sql server 2000?
by: Peter Nurse | last post by:
I have right clicked on my DTS package and selected Migrate... I assumed this is a good idea for future upgradeability (?) The process worked without error but I have no idea where the resulting migrated package can be found. The DTS package itself (apparently) remains unchanged. If your answer is that an SSIS package has been created, please tell me exactly where I can find it. I've looked at SQL Server Business Intelligence Studio...
by: Neo | last post by:
Hello All, I tried using bulkupload SQLXML, but it is very unreliable. Is there any way we can import XML file having schema into database? Neo
by: Anna | last post by:
Hi: Can any one please tell me about Packages and their use in SQL Server? Thanks, Anna
by: fboweb.com | last post by:
Hey there! I have a DTS import package from an old SQL server that takes flat text files, does some munging on the columns using ActiveX scripts and imports those flat files to various tables. The package itself is rather tedious because it does this munging on a number of large files with a number of different fields. When I bring the package in via SSIS, importing/migrating the
by: rmsterling | last post by:
All, Subject : SQL Server 2005 SSIS Script Help - XML Secure Pull in to DB table I was wondering if any of you could help me with something..... I want to design a SSIS script that will pull XML data from a secure HTTP website direct in to a local database table. I have had no training on SQL Server 2005 SSIS. I have a reasonable
by: Chloe C | last post by:
Hi I've got an Ingres database of some 200 tables which I need to import every night into SQL Server 2005 for use by Reporting Services. Most of the tables will come across unchanged (a few need massaging to handle time intervals correctly), but the Import Wizard only seems to want to import one table (or more accurately query) at a time. I seem to remember the old 2000 Import Wizard handled multiple tables - is there any way of...
by: scoots987 | last post by:
What do others do if you need to import excel files into SQL Server? My main problems are 1) zipcode formatting issues. If the column is a mix of zip and zip+4, I have problems retrieving all zipcodes. 2) If the last column contains NULL no information is imported. All this with using the Management console using Import data in SQL Server 2005. I am simply trying to import the data into NEW databases.
by: alvinstraight38 | last post by:
Hey guys, I am trying to import data from an Excel spreadsheet into my SQL database. I am running SQL 2005. I following Microsoft's instructions for creating a linked server, and it appeared to work. However when I run this query: SELECT * INTO test FROM OPENQUERY(EFORMS, 'SELECT * FROM ')
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.