delete range value something like where ID = 140 to 2800

can i del where ID=100 to 2800  to remove 2700 rows?

Tia
LVL 7
5thcavAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bobbit31Commented:
Hello 5thcav,

not sure i understand you but can't you just do:

delete from your_table where id >= 100 AND id <= 2800

Regards,

bobbit31
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
5thcavAuthor Commented:
that maybe it.. i'll c having a brain phart
0
toddbehnkeCommented:
delete from table where id BETWEEN 100 and 2800
0
vs1784Commented:
DELETE FROM your_table WHERE ID BETWEEN 100 AND 2800
0
5thcavAuthor Commented:
Thanks...
first 1 wins... btw would between remove 100 and 2800 and only del 101 to 1799 i'll try someday... thanks... i only needed this one time.. like i said was having a brain fart...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.