# Session Window: VQL, MDL

Once logged in, you can work in the Session Window in any of the following editors/views:

<img src="/files/l57nJvIabLAr0Ffftp8v" alt="Session Window View Options" width="116">

* **VQL**: edit & run VQL queries
* **MDL**: edit & run MDL statements and scripts

You can switch anytime between these views using the above toolbar buttons or the **View** menu. Changing the view does not delete any existing commands or results in other views; moreover, during script debugging, you can execute commands in other views without stopping the debug process.

You can use the below toolbar buttons to execute your VQL queries/MDL commands/scripts. It is possible to run/step into/pause/stop VQL queries/MDL scripts.

<figure><img src="/files/Zfl3njj0489R921ma5qo" alt=""><figcaption><p>Toolbar buttons for running and controlling execution of VQL and MDL code</p></figcaption></figure>

{% hint style="info" %}
Note that some of the above commands may not be available depending on the type of code being executed and/or if execution times are too short for the user to interact with the buttons during runtime.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dqman.com/veeva-vault-edition-24.3/session-window-vql-mdl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
