Convert hard coded query criteria to Parameter Query

M

Melanie

I have a query created via Microsoft SQL Server Management Studio that has
hard coded criteria (see below). I would like to convert this query to a
parameter query. Because the query was not created initially as a parameter
query, the “Query Parameters†icon is not available.

Is it possible to modify the syntax so that the criteria below can be
entered in 4 separate cells in Excel?

WHERE T2.[GroupMask] >='6' and T2.[GroupMask] <= '6' and T0.[RefDate] >=
'01/01/03' AND T0.[RefDate] <= '06/20/08'
 

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