- Prepare the desired SQL statement and inject it in the source code.
- Position the cursor at the desired SQL injection, press Alt+EnterAlt+Enter, and choose Run Query in Console on the context menu.
-
Specify the data source to run the statement against. Do one of the following:
- If no instances of the Database Console tool window are running, select the target data source in the Choose Data Source pop-up window.
-
If one or more instances of the Database Console are already running, the Choose Console pop-up window opens.
In this pop-up window, specify whether you want to run the statement in one of them or open a new instance.
- To have the statement executed in an already running console, choose the console with the name of the target data source from the Running list.
- To have a new instance of console opened, choose Open New, then choose the target data source.
- View and analyze the query execution result in the Result and Output panes.
- Prepare the desired SQL statement with parameters enclosed in #, $, or ? characters. Inject the statement in the source code.
- Position the cursor at the desired SQL injection and press Alt+EnterAlt+Enter and choose Run Query in Console on the context menu.
- Choose the target data source.
- In the Please Provide Missing Values dialog box that opens, specify the values to substitute for the parameters and click OK.
- View and analyze the query execution result in the Result and Output panes.

