I am fairly new to writing SSIS Packages in Microsoft Visual Studio. I am a DBA using SQL Server 2005.
We receive a flat file each monthly that has over billion records in the file. I is a dump of all our transaction history throughout the month from one of our vendors.
The file is ugly; it has over 500 columns along with the billion records.
Is there a program or something I can do in Visual Studio to break the file into smaller files (batches)?
Is there a program or something I can do in visual studio to cleanup the file before I try to import the file into our database?
The flat file is delimited by | (a pipe).
Throughout the file there are records that say "Transaction Failed" and it immediately does a carriage return then there are 2 rows of invalid data with the |not lining up with the column headers. I would like to somehow delete this junk before I try to import it into our database. I have tried to import to a temp table and then delete these bad records but that seems to not work either. The bad records have invalid characters like boxes and upside down U. If I manually break the file into smaller files and delete the bad records I can usually get it to import just fine but that take hours of manual labor.
Any suggestions?
We receive a flat file each monthly that has over billion records in the file. I is a dump of all our transaction history throughout the month from one of our vendors.
The file is ugly; it has over 500 columns along with the billion records.
Is there a program or something I can do in Visual Studio to break the file into smaller files (batches)?
Is there a program or something I can do in visual studio to cleanup the file before I try to import the file into our database?
The flat file is delimited by | (a pipe).
Throughout the file there are records that say "Transaction Failed" and it immediately does a carriage return then there are 2 rows of invalid data with the |not lining up with the column headers. I would like to somehow delete this junk before I try to import it into our database. I have tried to import to a temp table and then delete these bad records but that seems to not work either. The bad records have invalid characters like boxes and upside down U. If I manually break the file into smaller files and delete the bad records I can usually get it to import just fine but that take hours of manual labor.
Any suggestions?