Overview

dbForge Studio for SQL Server provides a visual interface Data Editor designed for viewing and manipulating data in SQL Server databases.

Key features of Data Editor:

  • Opening tables and views data, or query results in a grid-based interface.
  • Browsing large datasets with fast performance and customizable pagination.
  • Using filters, sorting, and search to quickly locate specific rows.
  • Editing data directly in the grid without writing SQL.
  • Inserting, updating, and deleting records.
  • Navigating to related records using foreign keys.
  • Using lookup editors for columns with constraints or relationships.
  • Using the Read-Only mode to prevent accidental changes.
  • Tracking unsaved changes easily with visual markers in the grid.

Open Data Editor

You can open Data Editor using Database Explorer, Object Editor, or Object Viewer, or when executing a query.

Open Data Editor from Database Explorer

1. In Database Explorer, expand the target database.

2. Right-click a table or view and select Select All Rows.

Data Editor overview

Open Data Editor from Object Editor

1. In Database Explorer, expand the target database.

2. Right-click a table or view, then select Open Data in Editor or Open Editor and switch to the Data tab.

Open Data Editor from Object Viewer

1. On the Database Explorer toolbar, click Show Object Viewer to open Object Viewer.

2. Switch to the Data tab.

Open Data Editor after query execution

1. In the SQL Editor, enter a SELECT query.

2. On the standard toolbar, click Execute, or press F5 to run the query.

Data Editor toolbars

Data Editor includes top and bottom toolbars.

Top toolbar

The top toolbar is located above the Data Editor grid.

Data Editor top toolbar

The table describes the options of the top toolbar.

Icon Name Description
Data Editor toolbar - Refresh Refresh Refreshes the list of database objects, for example, tables, views, procedures, and more, to reflect any changes made.
Data Editor toolbar - Stop Refresh Stop Refresh Cancels an ongoing refresh operation.
Data Editor toolbar - Cached Updates Mode Cached Updates Mode Enables you to apply data changes in a single batch, simulating a separate transaction. When this mode is active, all modifications are temporarily stored on the client side and are not immediately applied to the database.
To save the changes, select Data Editor toolbar - Apply Changes Apply Changes.
To discard them, select Data Editor toolbar - Cancel Changes Cancel Changes.
If you close the document while Cached Updates Mode is active, any changes made since the latest Apply Changes command will be automatically discarded.
Data Editor toolbar - Paginal Mode Paginal Mode Turns on or off the paged mode.
Data Editor toolbar - First Page First Page Switches to the first page in the grid.
Data Editor toolbar - Previous Page Previous Page Switches to the previous page in the grid.
Data Editor toolbar - Next Page Next Page Switches to the next page in the grid.
Data Editor toolbar - Last Page Last Page Switches to the last page in the grid.
Data Editor toolbar - Grid View Grid View Switches to the Grid View mode.
Data Editor toolbar - Card View Card View Switches to the Card View mode.
Data Editor toolbar - Group by Box Group by Box Opens the Group by Box pane to group data by column.
Data Editor toolbar - Auto-search mode Auto-search mode Turns on the auto-search mode.
You can also press Ctrl+I to turn on the option.
Data Editor toolbar - Export Data Export Data Opens the Data Export dialog to export data to the preferred file format.
Data Editor toolbar - Table Table Selects the table you want to edit from the list. The
default mode is read-only, which does not allow you to modify the table data.

Note

Computed columns are always read-only and cannot be edited.

Bottom toolbar

The bottom toolbar is located below the Data Editor grid.

Data Editor bottom toolbar

The table describes the options of the bottom toolbar.

Icon Name Description
Records First, Previous, Next, and Last Navigates the grid one record at a time or moves directly to the first or last record.
Append Append Adds a new record to the grid.
Delete Delete Deletes the selected record from the grid.
End Edit End Edit Applies the changes made to the current record during editing.
Cancel Edit Cancel Edit Cancels the changes made to the current record during editing.

Note

When the paged mode is enabled

  • To navigate to the last record in the current range, click Last on the bottom toolbar.
  • To navigate to the last records and return the total number of records in the table, click Go to Last Page on the top toolbar.

When the paged mode is disabled

  • To navigate to the last record and view the total record count in the table or selection, click Last on the bottom toolbar, or press Ctrl+End (when the grid is active).

Shortcut menu commands

You can access the shortcut menu in Data Editor by right-clicking a row.

Data Editor shortcut menu commands