dbeaver icon indicating copy to clipboard operation
dbeaver copied to clipboard

MISSING GENERATES SQL -> INSERT

Open MaddoCXX opened this issue 2 years ago • 3 comments

Description

When I select Query and after the query result when I right it doest not appear. However on my other other SQL script it is showing

On this script it is missing, does not show (ORACLE) image

However on the other script it appears (ORACLE) image

DBeaver Version

Dbeaver Community Edition 22.3.3.202301211053

Operating System

Windows 11

Database and driver

No response

Steps to reproduce

No response

Additional context

No response

MaddoCXX avatar Feb 01 '23 06:02 MaddoCXX

+1 for postgresql build on basic select statements on the same version of mac build. Coworker on windows build is not experiencing it

nmankus avatar Feb 01 '23 15:02 nmankus

Can be reproduced on sample query like SELECT 1, 2, 3 from Album a; It seems that the issue happens if the result set is readonly (marked with a golden lock in the left top corner).

E1izabeth avatar Feb 02 '23 12:02 E1izabeth

SELECT 1, 2, 3 from Album a; doesn't contain any columns from original table, it doesn't make sense to use such queries. Can we reproduce it somehow else?

serge-rider avatar Feb 06 '23 10:02 serge-rider

Hello @MaddoCXX

2023-02-23 15_54_53-MISSING GENERATES SQL -_ INSERT · Issue #18918 · dbeaver_dbeaver — Mozilla Firef

Generate SQL dialog can't appear because your result columns are read-only. Yellow lock says about it. So, the question is - does it expected behavior for you - that this result is read-only? If not, please provide your query for testing/

LonwoLonwo avatar Feb 23 '23 12:02 LonwoLonwo

Hello @MaddoCXX

2023-02-23 15_54_53-MISSING GENERATES SQL -_ INSERT · Issue #18918 · dbeaver_dbeaver — Mozilla Firef

Generate SQL dialog can't appear because your result columns are read-only. Yellow lock says about it. So, the question is - does it expected behavior for you - that this result is read-only? If not, please provide your query for testing/

@LonwoLonwo So how to disable this lock? so meaning if i disable the lock it will now show the GENERATE-> INSERT?

MaddoCXX avatar Feb 23 '23 17:02 MaddoCXX

Maybe yor database have read-only status? If not - please provide query for testing. Without a query I can't help.

LonwoLonwo avatar Feb 24 '23 17:02 LonwoLonwo

There have been no updates for a long time. If the issue is still actual - feel free to reopen it.

uslss avatar Mar 22 '23 11:03 uslss