Settings

Theme

I would like to be able to do LIMIT 60 SECONDS in SQL

github.com

3 points by davibu 3 years ago · 6 comments

Reader

msla 3 years ago

It might be even better for the user interface (REPL, GUI, web frontend) to have a nice way to send the command "stop and show current results" like ^C or ^G or a button that sends a signal to the backend. I assume this is only going to be useful in an interactive context, after all.

  • davibuOP 3 years ago

    Yes, that's true. After all, it's the functionality that is important, regardless of the means to achieve it. On the other hand, the fact that it is part of the syntax has other advantages: - it makes the functionality independent of the querying tool used - it is immediately understandable, and easy to use - it can be offered by automatic completion and therefore have a higher discoverability power than a function that would be hidden in the editor

neximo64 3 years ago

Not that great since its nondeterministic. Maybe a better solution is to use a columnar database.

  • davibuOP 3 years ago

    Certainly, but the use case mentioned here is not related to a performance issue. It's more about syntactic sugar when a user writes SQL in interactive mode to explore data.

  • Idiot_in_Vain 3 years ago

    How would a columnar DB help?

    BTW I believe all the big RDBMs now support columnar tables.

Idiot_in_Vain 3 years ago

It is a nice feature to have and probably not too hard to implement.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection