V
V
vbuban2021-03-22 11:24:40
SQL Server
vbuban, 2021-03-22 11:24:40

How to make a request to delete the required values?

Table HES, column itemno, in itemnonumbers from 1 to 600000. How to delete rows containing from 40000 to 40500 in itemno?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Smirnov, 2021-03-22
@vbuban

"I need a query that will delete all cells ..."
If you meant delete records (not cells), then here:

DELETE FROM HES WHERE (itemno >=40000) AND (itemno <= 40500);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question