Question : SQL 2005 Update Multiple Records

I want to move data from 'userfield1' to '[desc]' in a table called 'files' for a select number of records.  It's a total of 211 rows which need to be updated.  Each row has a field 'tempid' which is the box # the files are in.  There are 15 boxes containing these 211 files.  I was going to run the query below, but I don't think it looks correct:

update files, set [desc] = userfield1
where tempid in ('0028903',


Answer : SQL 2005 Update Multiple Records

hi Tim

should be ok if what you want to do is make the desc field = userfield1 for those specific tempid entries.
Random Solutions  
programming4us programming4us