Murray Brown
asked on
VB.net Excel Add-in SQL Data Cleansing tool
Hi
I have been asked to build an Excel Add-in where users can clean up data that resides in a SQL database using Excel.
I need some advice on the best way to go around this. I have already looked at ways to pull a limited set of records through. Now I want to develop ways to use Excel and SQL to alter data effectively
I have been asked to build an Excel Add-in where users can clean up data that resides in a SQL database using Excel.
I need some advice on the best way to go around this. I have already looked at ways to pull a limited set of records through. Now I want to develop ways to use Excel and SQL to alter data effectively
Not a great way of editing data but you can load the data in a sheet including the primary key column (ID). Make the ID column read only and let the user make other changes. Then you can loop through rows, if ID exists, update the record, if ID is empty, insert the row, if ID is missing, delete the row.
ASKER
I forgot to mention that the table sizes are several million at a time
My answer still stands.
ASKER
Thanks but I am specifically looking to build this myself
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks very much Jim
Have a look at http://msdn.microsoft.com/en-us/library/hh231024.aspx for more information.
Alternatively, full information is also available in the official Microsoft 70-463 exam guide, chapters 14-17 and 20.