Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-08-12 : 08:18:12
|
Ron Goldman writes "I have a products table with 10 fields. The first field is the SKU field. I need to update the weights of all the products. This info is stored in an excel worksheet (excel worksheet has two columns the weight and sku). What statement can I use to make sure the right SKUs correspond to the right weights ?Ron" |
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2005-08-12 : 08:25:33
|
Could you provide sample data + ddl???Theory is fine...but our brains work better with examples. |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-08-12 : 09:15:33
|
>>Theory is fine...but our brains work better with examples.Thats exactly correct and easy to answer also I think you need to copy the data from Excel to a table and write update statement based on two tablesMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|