Generate SQL copy paste error
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 188
Description
### Description
When trying to generate a insert, from an existing result:
This is the last thing that it copies:
And as you can see, in the Generated SQL popup, where it shows you the full generated insert for you to copy,
that is not the end of the query:
It always happens when there's values with spaces in it, like the ones we can see before the NULL values.
The actual solution is manually completing the " ' ' " that's causing the error and copy the rest of the query.
### DBeaver Version
26.0.5 and below
### Operating System
Win 11
### Database and driver
DB2 Z/OS database driver
### Steps to reproduce
1. Perform a SELECT query.
2. Select the desired result and right click and "Generate SQL -> INSERT".
3. Copy the generated SQL code
4. Check if it copies the whole code or it gets stuck in " ' ' " spaces.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.