hi i am having more than 50k records in my table.
I am having 100 values in an Excel sheet.
I wants to update a column in my database table,
with the values in excel.
Eg:
StudName --> column in SQL Table
Name--> Column in excel sheet.
1) Create a temp table in the SQL DB with the contents of the Excel sheet
2) Execute a stored proc to perform the necessary updates.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!) 2008, 2009 In theory, there is no difference between theory and paractice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
1) Create an XML transform to turn excel XML into dataset XML
1.1) read the resulting xml straight into a dataset
2) Use a correctly configured tableadapter to send the rows to the database
Bookmarks