update sql database using excel spreadsheet records
Joined: Jun 13, 2010
i have recently recieved an updated spreadsheet for students data. is the anyhow i can update my database table using records from excel. updating them manually will take a long time as they are many records. your help will be appreciated. Thanks
Joined: Mar 20, 2007
Off the top of my head, you can probably concatenate the columns into a separate column in the spreadsheet to be something like
update <tablename> set A=$A1, B=$B1...... where Z=$Z1
using excel formulas and then copy the whole column onto your SQL Editor and run it once.