Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No column was specified for column 22 of 'dbvrcnt' #32343

Open
manztihagi opened this issue May 13, 2024 · 3 comments
Open

No column was specified for column 22 of 'dbvrcnt' #32343

manztihagi opened this issue May 13, 2024 · 3 comments

Comments

@manztihagi
Copy link

manztihagi commented May 13, 2024

Description

When changing the result count on red circle then click the blue circle (* see on picture), the error showing.

Detail error on picture.

dbeaver-error

DBeaver Version

Community Edition Version 24.0.4.202405051837

Operating System

Windows 10 - 22H2

Database and driver

Database name: EBWEB2
Database server: SQL Server 14

Steps to reproduce

  1. Connect to database => success
  2. Querying data => success
  3. Change Result-set fetch size (box *see on picture above) to 2500
  4. Click Calculate total row count button ==> error shown

Additional context

No response

@manztihagi
Copy link
Author

Additional information
@MashaKorax .. even I typing directly on Result-set fetch size box and tap enter, the message shown same error.
But, if I change the Result-set fetch size box then click Execute SQL query, the error are gone and result was shown as per query result.

@MashaKorax
Copy link
Contributor

Hello @manztihagi . It is working fine for me. What am I doing wrong?

REC-20240514093557.mp4

@manztihagi
Copy link
Author

@MashaKorax .. I found the error that generated.

On my query statement that having one return field calculation doesn't have any alias name at column 22.

My Query:
select .... , ISNULL(TotalGR, 0), ISNULL(TotalRemaining, 0) As TotalRemaining
From table_name

At another tools that this statement was able to return without any error even re-generate or setting the result-set.
Hopeful the dbeaver also having this feature.

@E1izabeth E1izabeth assigned MashaKorax and E1izabeth and unassigned MashaKorax May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants