WelshyWizard
IS-IT--Management
Hi all,
I am looking at importing a csv file into a table in SQL Server. I would like to do this via a VB.NET windows application.
Either before or after my import, I need to manipulate the csv file so that certain information is split out (creating new fields) and other information is concatenated into one item (again creating a new field). I also need to create a unique id based upon several pieces of data held within the csv file. This id would not exist if I imported the file into SQL Server before manipulation.
Because I have a history of using Excel VBA, I was thinking of opening the csv file in excel (via VB.NET), carrying out the manipulations (automatically through VBA) and then importing the new format csv file into a pre-defined SQL Server table, again via VB.NET.
What do people think about this? Is this poor practice? Should I be doing all of the data manipulation in VB.NET after importing into a SQL Server table?
If anyone needs any further info, please don't hesitate to ask.
Cheers
Today is the tomorrow you worried about yesterday - and all is well.....
I am looking at importing a csv file into a table in SQL Server. I would like to do this via a VB.NET windows application.
Either before or after my import, I need to manipulate the csv file so that certain information is split out (creating new fields) and other information is concatenated into one item (again creating a new field). I also need to create a unique id based upon several pieces of data held within the csv file. This id would not exist if I imported the file into SQL Server before manipulation.
Because I have a history of using Excel VBA, I was thinking of opening the csv file in excel (via VB.NET), carrying out the manipulations (automatically through VBA) and then importing the new format csv file into a pre-defined SQL Server table, again via VB.NET.
What do people think about this? Is this poor practice? Should I be doing all of the data manipulation in VB.NET after importing into a SQL Server table?
If anyone needs any further info, please don't hesitate to ask.
Cheers
Today is the tomorrow you worried about yesterday - and all is well.....