The Data Editor allows you to view and quickly edit data right in the grid.
To retrieve data, do the following:
Note
If you want to retrieve all the data from a table with a large number of records, a message warning you about the possibility of the Out of memory exception is shown, and you can choose either of the following actions - continue retrieving data, cancel retrieving data, or turn on the paginal mode. By default, a paginal mode is activated in data view with 1000 records per page so that only 1000 records are displayed at once. For more information, see Paginal Mode.
To change the column order and width and group them by order, drag column headers to the required place. In addition, you can use a rich set of data management options from the shortcut menu.
Right-click the column header and select the required option:
Data rows can be viewed, edited and printed as cards. For more information, see Viewing and editing data in the Card View mode.
To refresh data, use one of the following options:
To abort an overly long refresh operation, select Stop Refresh on the Data menu or on the toolbar.
If you’ve edited the query text and applied changes, run the Execute command anew instead of refreshing the grid to get updated data.
You can view and edit data in the built-in Data Viewer. To open it, use one of the following options:
In the Data Viewer, you can save data to a file, copy/paste or cut data, view data in multiple formats, as well as make white spaces visible.
The Data Viewer toolbar has the following controls:
Save Data (Ctrl+S) allows saving data to a file.
Copy (Ctrl+C) allows copying data to the clipboard.
The following controls allow viewing data in multiple formats:
Hexadecimal View (Ctrl+1)
Text View (Ctrl+2)
XML View (Ctrl+3)
HTML View (Ctrl+4)
Web View (Ctrl+5)
Rich Text View (Ctrl+6)
PDF View (Ctrl+7)
JSON View (Ctrl+8)
Image View (Ctrl+9)
Fit Image (Ctrl+B)
Spatial View - Geometry (Ctrl+Alt+0)
View White Space makes white spaces visible.
Word Wrap adjusts the display of long text within cells or columns. When it is activated, the text automatically wraps onto the next line, making all the content visible within the cell’s width.
When dbForge Schema Compare executes a statement returning a result set, the retrieved data is displayed in the same SQL document in Data Editor.
The Data Editor toolbar has the following controls:
Refresh and Stop Refresh let you refresh and stop refreshing data in the grid, repectively.
Cached Updates Mode allows you to apply data updates in a single batch, thus emulating a separate transaction. If this mode is activated, your data changes will be stored locally on the client side until you click Apply Changes. If there is no need for the changes to be applied, click Cancel Changes. If you close a document with Cached Updates Mode activated, all the changes made since the latest Apply Changes command will be canceled.
Paginal Mode allows switching to the paginal mode.
Go to First Page / Go to Previous Page /Go to Next Page/ Go to Last Page allow switching between pages and specify the number of records per page.
Switch to Grid View and Switch to Card View allow switching between the result grid views.
Show Group by Box displays the data grouped by column.
Auto-search mode turns on the auto-search mode.
This menu allows switching from the read-only mode to editing.
The bottom panel of the grid has the following controls:
let you navigate down the grid one record at a time, or instantly get to the first or the last record in the grid.
allow you to append or delete records from the grid.
let you apply or cancel changes made during editing.
To select data, use one of the following ways:
Using the CTRL key can help you include/exclude cells from selection. Any number of rows may be copied and pasted to another application (for example, a spreadsheet). However, when you paste data in the data grid, only the first row will be pasted.
Note
Some queries return read-only data, for example, queries with aggregate functions (count, avg etc.), or data, retrieved from non-updatable views. Such data cannot be edited. It is also impossible to edit the result of executing of the script with several select statements.
To copy the selected data, right-click it and do the following:
To paste data, select Paste or Paste As New Records on the shortcut menu or press CTRL+V.
You can use the shortcut menu or the corresponding controls under the grid. For example, you can do the following:
Note
Use the Set Value To menu to quickly set an empty string, zero, or the current date.
To add a new record, select Append on the shortcut menu or click + under the grid.
To delete a record from the grid, select Delete on the shortcut menu or click - under the grid. You can also press CTRL+DEL.
When working with the grid, you can see special indicators next to the focused cell. These indicators reflect the current editing state.
The row is focused.
The row is being edited.
The row has been edited.
An invalid value has been entered into a cell. You must either enter a valid value or press ESCAPE to cancel changes.