Skip to main content

Defining a Query Parameter

generated description: showtimesquery2 20111

Next, we are going to do something new: create a query parameter. As its name suggests, a parameter enables us to provide some input data to the query at runtime. In this case, because we want to retrieve show time information for a single film, we will use a parameter to identify which film we want.

To create this parameter, we

  1. Click on the generated description: newparameterbutton.gif button generated description: little1.gif

  2. Give the parameter a name, P1generated description: little2.gif

  3. Give the parameter a data type, %StringOpens in a new tabgenerated description: little3.gif

FeedbackOpens in a new tab