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

View all result rows immediately when executing script #1708

Closed
ghost opened this issue May 28, 2017 · 14 comments
Closed

View all result rows immediately when executing script #1708

ghost opened this issue May 28, 2017 · 14 comments
Milestone

Comments

@ghost
Copy link

ghost commented May 28, 2017

Currently when I execute a query I see the first 200 result rows. Many times I would like to see all rows immediately. I then have to execute the query twice, once for the first 200 rows and then for all rows using a separate button.

I don't want to change the default number of rows, just being able to select to retreive 200 from case to case without multiple button presses or time loss.

@serge-rider
Copy link
Member

I don't see how can be solved in UI.
Some tables have too many rows so it can't be done as default behavior. Now You need to click just one extra button (fetch all rows) - how can this be done easier?

@ghost
Copy link
Author

ghost commented May 29, 2017

It does not need to be easier, it is just that some queries (especially nested queries that take a long time to retreive any result at all) will take twice the time in the end allthough I wanted all rows from beginning. The ability to choose 200 or all rows directly would cut time in half for thoose when needed to retreive all rows. If pushing all rows from the beginnning may casue a crash then I am willing to take the risk (after all the current warning when pressing the current button is good enough guard against this).

@serge-rider
Copy link
Member

Ok. But how do you see this in UI?
Extra execute action?

@ghost
Copy link
Author

ghost commented May 31, 2017

It could be a separate execute button or a switch setting like the commit button in the toolbar.

@serge-rider serge-rider added this to the 4.1.0 milestone May 31, 2017
@serge-rider
Copy link
Member

Select All Rows command will be added in the next version.

@gavenkoa
Copy link

Ctrl+Alt+Shift+A or right click menu: Execute => Select all rows.

@popovserhii
Copy link

I accidentally click "No" in "Do you want to fetch all rows" popup and now don't know how to change this behaviour. Does anybody know where these default settings persist or how to restore the default behaviour of this popup?

@ks-2097
Copy link

ks-2097 commented Dec 16, 2021

@popovserhii I have exactly the same issue. Can't get the original behaviour back. Now the button jsut doesn't do anything.
Did you solv it?

@uslss
Copy link
Member

uslss commented Dec 16, 2021

it could be changed in Preferences
image

@ks-2097
Copy link

ks-2097 commented Dec 16, 2021

Awesome thanks so much!

@popovserhii
Copy link

@uslss Great! Exactly what I was looking for.

@bricsi22
Copy link

Thanks for adding the feature it's really useful :)

@stevleibelt
Copy link

Finally the solution from @uslss answered my search question "show total row count of sql statement like in pgAdmin".
Thank you very much, I hope my written down search term will help someone in the future, at least my future me :-).

@Git-happiness
Copy link

I want to be able to see only the rows updated/inserted after an SQL script run. I can't figure out if this is the same issue. Only thing I get after running a script is the "rows affected" count. I want to see the actual rows.

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

8 participants