Quote:
Originally posted by JuxiZoza@Mar 25 2005, 05:21 AM
Setting up an Excel worksheet that generates SQL UPDATE scripts
This project should take from 10-30 min to complete
Capture information from needed tables
Using phpMyAdmin... export,
1) 'products' table
2) 'products_description' table
3) 'the_table' you want to work with
using CSV in Excel format, with field names in first row, save to file
Open a new Excel workbook, save it as 'zenupdates'
Create a product_id lookup table in 'zenupdates'
Open 'products' csv file with Excel
Highlight col 'A' (products_id), copy to clipboard, and paste into col 'A' AND col 'D' of sheet1 of 'zenupdates'
Highlight col 'D' (products_model), copy to clipboard, and paste into col 'B' of sheet1 of 'zenupdates'
Close 'products' file
Open 'products_description' csv file with Excel
Highlight col 'C' (products_name), copy to clipboard, and paste into col 'C' of sheet1 of 'zenupdates'
Close 'products_description' file
Highlight first row of sheet1 and make bold
Put cursor in 'A2' and do 'window / freeze panes'
???
Hi -- relatively new here and trying to get it right.