Here is my problem. I have a HUGE text file that holds 6 months worth of line level invoice data. I need to pull recent records out of this file, based on a record type and date, and them combine that it with tables that contain customer and item data, and then append them into my master invoice table.
In Access I would create a link to the text file and then write the delete and append statements to use just the records I needed. I do not think that the Linked Server option in SQL Server 7.0 will let me link to a flat file. The help files I read kept talking about "OLE DB Provider", and it didn't seem a flat file was one. If it can I link to a flat file I would love to learn how.
My next thought was I had to import the flat file into SQL Server. I used the wizard to create the DTS package to import the flat file. I changed the delete statement to truncate table, in an attempt to speed up the process. This process takes to long currently. I read about Bulk Import, but I am confused on how to use it and if it will speed up this process. Is there a way to import records from a flat file based on a certain criteria? It would be really wow-e-wiz-bang to take the data from the flat file, combine it with the customer and the item data, and append it into my master invoice in one step, like I currently do in Access.
As you can tell I am learning how to use SQL Sever and I would be thankful for any help you can provide.
sabloomer
In Access I would create a link to the text file and then write the delete and append statements to use just the records I needed. I do not think that the Linked Server option in SQL Server 7.0 will let me link to a flat file. The help files I read kept talking about "OLE DB Provider", and it didn't seem a flat file was one. If it can I link to a flat file I would love to learn how.
My next thought was I had to import the flat file into SQL Server. I used the wizard to create the DTS package to import the flat file. I changed the delete statement to truncate table, in an attempt to speed up the process. This process takes to long currently. I read about Bulk Import, but I am confused on how to use it and if it will speed up this process. Is there a way to import records from a flat file based on a certain criteria? It would be really wow-e-wiz-bang to take the data from the flat file, combine it with the customer and the item data, and append it into my master invoice in one step, like I currently do in Access.
As you can tell I am learning how to use SQL Sever and I would be thankful for any help you can provide.
sabloomer