Date variable in a query ?

R

Rebecca

How do I put a date variable (to be entered by the user)
in a query (a SQL query)?

e.g.

SELECT .......
Where table_date >= from-date and
table_date <= to_date;
 
L

Lynn Trapp

SELECT ...........
FROM YourTable
WHERE Table_Date >= [Enter Beginning Date] AND Table_Date <= [Enter Ending
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