I'm not exactly sure I'm on the right form for this but bear with me.
I'm in the process of converting an Access database to SQL Server. One of the processes runs multiple queries and then exports multiple text files from the final query. This is all working OK up to exporting the files.
The final query is in the format
CardID, Category
In Access I had some VB code that looped through the final query and created one file for each category with a list of IDs in that category - quite simple using record sets.
I can still do this but, because of the volume of data and the fact it's trying to pull it over the network, it's very slow and hammers network resources.
How can I get round this and create the files locally using the SQL Server, rather than over the network from Access?
Many Thanks
I'm in the process of converting an Access database to SQL Server. One of the processes runs multiple queries and then exports multiple text files from the final query. This is all working OK up to exporting the files.
The final query is in the format
CardID, Category
In Access I had some VB code that looped through the final query and created one file for each category with a list of IDs in that category - quite simple using record sets.
I can still do this but, because of the volume of data and the fact it's trying to pull it over the network, it's very slow and hammers network resources.
How can I get round this and create the files locally using the SQL Server, rather than over the network from Access?
Many Thanks