rfazendeiro
Well-known member
- Joined
- Mar 8, 2004
- Messages
- 110
Hi to all,
im currently making an application that has to read data from a file (csv) and insert / update that information to a database (sql server)
The file that i need to read has at least 20000 and the data that existes in the database is equally large so i guess reading all that information to memory is not a good idea.
I have a thought but im a little lost in this so some help would be apreciated.
My ideia is to execute an dts that would copy all the information to a table and then i would execute some store procedures that would insert / update the information.
is this the best method? and if i do it this way how could I retrieve errors so that i could produce a log of some sort.
thx
im currently making an application that has to read data from a file (csv) and insert / update that information to a database (sql server)
The file that i need to read has at least 20000 and the data that existes in the database is equally large so i guess reading all that information to memory is not a good idea.
I have a thought but im a little lost in this so some help would be apreciated.
My ideia is to execute an dts that would copy all the information to a table and then i would execute some store procedures that would insert / update the information.
is this the best method? and if i do it this way how could I retrieve errors so that i could produce a log of some sort.
thx