× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
dscotese reported 2011-11-29T01:35:35Z  · last modified 2012-04-27T21:18:32Z

"Paste to Query" function: The value in a cell should have a context-menu item that pastes it into the Query window at the caret.


Priority Major
Complexity Complex
Component Q Analyzer - Grid Results
Version 11.0

I often copy the value of a cell in order to use it in a query I'm building.  It would be handy if this "Paste to Query" function were a context menu item.

On a similar note, the column names should also be available for pasting into the query window.  If you want to get fancy, the selected cells of the results grid could have a context menu item called "Paste to Query" which would format them thus:

  • For a horizontal or vertical selection, make a list by concatenating with a comma - (and I think quoting the numbers would be ok, but maybe that would be a new setting somewhere)
  • For a two-dimensional selection, make an "INSERT" list depending on the underlying database - MySQL gets a comma-separated list of parenthesized (possibly quoted) and comma-separated values, but TSQL gets a SELECT ... UNION ALL list of comma-separated values.

Building Queries from existing results could become a new AquaFold signature art form.

Issue #6187

Closed
Fixed
Resolved 2012-01-11T18:39:13Z
 
 
Completion
No due date
Fixed Build 11.0.0-rc-81
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017