Home Forums SQL Server 2008 T-SQL (SS2K8) Update statement: use the in clause or run simple update 500 times RE: Update statement: use the in clause or run simple update 500 times

  • Look at the query plan, and see if it is scanning the clustered index or doing keyed lookups by joining to a table of constants. If it's a scan, let us know, and we can re-work the code to force lookups instead.

    SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.