-1

I have a table in which I have 2000 records. I update the top 1000 records using

Update top(1000) from table set field1=1

Now I want to update from 1000-2000 how can I update that I search it but didn't find any solution.

Any help will be appreciated !!!

amitesh
  • 766
  • 5
  • 17
  • 39

1 Answers1

0

I got the solution it will be like this

Update table set field=1 where Columns_name between 1001 and 2000

Thanks guys

amitesh
  • 766
  • 5
  • 17
  • 39