Using Selectable Criteria in a SQL query

Joined
Apr 14, 2007
Messages
1
Reaction score
0
Does anyone know how to code a query so it prompts for user input, in SQL?

Code is straigt forward in ACCESS -

SELECT *
FROM GL_PeriodBudgetDetail
WHERE (((GL_PeriodBudgetDetail.FiscalYear)=[Enter Year:]))
ORDER BY GL_PeriodBudgetDetail.DateUpdated DESC;

Is there a way to make this work in SQL?

Thanks.
 

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