Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should SSIS be used for the following?

Status
Not open for further replies.

jonwolds

Programmer
Aug 6, 2002
194
GB
Hi,

Can SSIS be used to implement the following:

1. Each company will supply a monthly text file.

2. A companys file format will be the same each month.

3. No two companies will use the same file format and column orders/number of columns as each other.

4. I want to poll a windows folder for the text files and import them into a staging table, ready for validation.

I can do this using a stored procedure by creating a format file for each client and storing the name of it in a table. The client name is included in the file name and this can be used to look up the appropriate format file from a table which is added dynamicaly to the Bulk Insert command.

Is it practical to create this solution in SSIS or am I better of sticking with stored procs?

Thanks

Jon
 
I would stick with the stored procs.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Thanks for your response. Please could you elaborate?

Jon
 
Writting something this complex in SSIS will be tough to say the least. If the solution you have now is working and it's working correctly why change it.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top