Open DingBEN opened 4 years ago
About insertion position - I agree.
About the query tab - there is DDL tab. In databases, DDL are statements responsible for schema. SQL is responsible for data.
POINT NO.1 --------- POINT NO. 2. moot, t.y. ------------- seen that... not the context, I am updating data manually(see below)
DDL is a STRUCTURE type query(cannot be changed), AND not a data one I am in data context at that point, back to the data tab not STRUCTURE. I just modified the STRUCTURE returning to the data panel. I NEED a QUERY TAB so I can adjust how the data is displayed in this particular scenario, ...many other scenarios fit this issue) If I go to an SQL Editor window, I can get the data filtered and displayed in the proper order, but I have no way to update manually, I must yet go to another SQL Editor window to execute a query to update/Insert/etc.
Think about this - I have mentioned it before in prior posts, not exactly the same way but SAME issue. THIS IS A MAJOR HINDERING in this app.
You have not yet answered the issue by giving me a process flow that would be easy to follow intuitively or even if cumbersome.
I think a query tab is all that is needed. ...and when that is in place, the SQL Editor scheme may become deprecated, or left as is for specific or generic jobs, ...I don't see that myself... I would entirely park it, forget it.
Just like I have parked the windows list toolbar ...wastes too much space and FAILS to show items clearly, and fails to draw all windows unless cycled thru to revive the partial toolbar So I use the list under VIEW, but NO right-click context menu to DELETE, etc... must bring back tool bar temporarily to do that!
You can edit data in SQL Editor. If you execute query and edit its results, unless they are results of computation, i.e. you cannot edit result data that is not directly linked to actual data cell in database. For example:
SELECT column1, column1 / 2 FROM table1;
In this example all cells in first result column will be editable, but none from the second column, because it's result of computation.
There are more cases, when results could not be computed (like if you use GROUP BY or DISTINCT statements, and more). Nevertheless, as long as you return from query data, that is directly linked to actual cells in database, you should be able to edit them, just like you do in Table Window.
t.y you for answering... I know you are busy I appreciate all you do, I hope you appreciate my input. Good attempt at providing this go-around... but short of what I see
well no! [ ...picking on only a piece of your statement ...just like you do in Table Window... ] if this was true, then why the need of a separate functionality if they are the same!? so if I try what you propose
Old database designs were 1 'rowcentric'... that approach was dumped... systems today are 'datacentric' ... 'windowcentric' is the same KLUDGE... let the query in force be directly accessed fully modifiable within the context, who cares about the window... and having to remember where I can do what vs not in separate windows. Instead, let the functionality be available readily... a query tab would do that
UPDATE: see #3653
but as I am now using it(testing)... - PROBLEM: typing SQL(partial) in a pigeon hole size box is MURDER!!! having to pan(left-right) to check for errors is ridiculous!
Details
UPDATE: 20-02-01 5:19
click on row number in STRUCTURE TAB - row does not highlight CLONK
click on any CELL - row highlights
should highlight when clicking the row num as it does other places. CLONK due to inconsistency
adding a column to table
select row so INSERT(Insert keyboard key) places new column at that location
can't select row, only a column
Press Insert Key and OK on dialog
CLONK Column lands a bottom of list, must use arrow to move it where needed Done with that...
need to see my data in a particular order with only selected columns
CLONK no query tab (forced into a physical order app query This SQL Editor side querying and the LOCKED system default query approach is a KLUDGE Free the user from a forced flow, user is smart enough to handle
Steps to reproduce - self explanatory
Operating system - WIN7 Pro
SQLiteStudio version - 3.2.1