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

scripting features #21

Open
adamfoneil opened this issue Jul 25, 2020 · 0 comments
Open

scripting features #21

adamfoneil opened this issue Jul 25, 2020 · 0 comments

Comments

@adamfoneil
Copy link
Owner

adamfoneil commented Jul 25, 2020

To make the schema browser feature really useful, and achieve more parity with SSMS, there should be a number of SQL scripting features available from the schema browser context menu. I'd started on this with a "select columns" command that toggles checkboxes, but currently it doesn't do anything. Here's what I'm looking for in such a feature, but I don't have any particular UI in mind.

  • create INSERT statement for required, all, or select columns in a table
  • create SELECT statement with all or select columns, optionally prefixed with a table alias
  • create JOIN statement when clicked on FK node
  • all script options may toggle use of square brackets around names
  • probably want some kind of wrapping so that a long list of columns doesn't go on one very long line

In my original conception of scripting features, I imagined that when you click "select columns", a panel in the lower portion of control would become visible, and show the result of your selections with various copy/insert controls. This is how you'd be able to have a deeper interaction with your selections before inserting them as SQL -- for example setting the table alias, the square bracket option, and so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant