Query Parameters Dialog Box (Visual Database Tools)
This dialog allows you to enter values for the parameters defined in the query. This dialog box appears when you execute a query that contains parameters that require end-user input at run time.
Options
Name
Lists the parameters defined for the query being executed. If the query contains named parameters, the names appear in the list. If the query contains unnamed parameters, system-defined parameter names are listed for each parameter in the query.Value
Enter the value for each parameter listed under Name. The value used most recently appears as the default parameter value.
Example
The following query in the SQL Pane, opens the Query Parameters dialog box when executed in the AdventureWorks2012 database.
SELECT FirstName, LastName
FROM Person.Person AS Lastname
WHERE (LastName = @Param1);