dbeaver / dbeaver/dbeaver

Set input variable value and let user to choose from select box of possibile values

Open
#11,584 6 comments 0 reactions 0 assignees View on GitHub
xf:sql execution
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 9h
Merged PRs (30d)
189

Description

It could be interesting to let define a variable and possible values.

The possible values have to be shown in a select box.

Example
:messageTypeId can be one of these values:

- 'type1'
- 'type2'
- 'type3'

```
SELECT * FROM mytable
WHERE type_id == :messageTypeId;
```

![screenshot2](https://user-images.githubusercontent.com/5565267/109795695-89079680-7c17-11eb-8a96-82e4c7ec7fa4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.