Delete query

G

Guest

Hi, can i make a "delete query", and when i start this query window appear
and type there "start date" then in another window "end date". And all the
records from this period to be deleted?? For example i want to delete all
rows which includes dates from 01.11.2007 till 04.11.2007.
Hope you understand my question:))
 
B

Brendan Reynolds

Forza MIlan said:
Hi, can i make a "delete query", and when i start this query window appear
and type there "start date" then in another window "end date". And all the
records from this period to be deleted?? For example i want to delete all
rows which includes dates from 01.11.2007 till 04.11.2007.
Hope you understand my question:))


Here's an example using the "Orders" table from Microsoft's "Northwind"
sample database ...

DELETE Orders.*
FROM Orders
WHERE (((Orders.[Order Date]) Between [start date] And [end date]));
 
G

Guest

Thanks, it is working wneh i type in criteria onlt this
Between [start date] And [end date]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top