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.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 update field

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.
Go to Top of Page

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 tables

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -