Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can query the data stored in Data Hub via the Selection Screen in Manage menu. This requires that your user account belongs to an access group with execute permissions on Data Hub. For further information about access groups, see Access Controller.Image Removed

...

Data Hub in Data Management

...

Click the Filter button to open the Data Hub Profile panel and click Browse to select the relevant Data Hub profile.Image Removed

...

Data Hub selection panel

...

When you have selected a database table, you can configure the following:

  • Display fields

  • Search Query

...

Data Hub Query Panel

Display Fields

This shows the database table columns that you would like to display in the Query ResultsImage Removed

...

Display Fields selection dialog box

...

This panel represents an expression based on the columns in the selected table. When you run a query, rows in the table that matches the expression will be displayed in the Query ResultsImage Removed

...

Data Hub search query

Item

Description

AND

Image Removed
Image Added

Click this button to apply AND logic on a set of rules or groups.

OR

Image Removed
Image Added

Click this button to apply OR logic on a set of rules or groups.

Field name

This drop-down list contains columns in the selected database table that you can use in your query. The query is carried out based on this selection to populate the result for the Display Field.

Image Removed
Image Added

Field names

Operator

This is a comparison operator that is applied to the values in the specified column and the value.

The available operators are listed according to the data type of the selected column.

Image Removed
Image Added

Operators drop-down

Info
title

Info!


Data typeOperator
All types
  • equal
  • not equal
  • Integer-
  • Floating-point-
  • Date types


  • less
  • less or equal
  • greater
  • greater or equal
  • between
  • not between
  • is null
  • is not null
String types
  • equal
  • not equal
  • begins with
  • doesn't begin with
  • contains
  • doesn't contain
  • ends with
  • doesn't end with
  • is empty
  • is not empty
  • is null
  • is not null
Info



Value

This field contains a value that is used for comparison with the selected column. When between and not between is the selected operator, two value fields are displayed.

When you click this field and the column is of a date type, or a column with a type hint in the selected profile, a date picker will be displayed.

Add

Image Removed
Image Added

Click this button to add a new rule to the expression.

Add Group

Image Removed
Image Added

Click this button to add a group of rules within the expression. The groups can be nested.

Delete

Image Removed
Image Added

Click this button to delete a rule or a group. When you delete a group, the rules contained within it will be deleted as well.

Reset

Image Removed
Image Added

Click this button to clear all rules and groups from the Search Query panel.

OK

Image Removed
Image Added

Click this button to run a new query based on the configured rules.

Running a Query

To run a query:

  1. If your query should contain both AND and OR logic, delete the first rule by clicking on the Delete button, then and add a new group by clicking the Add Group button. Groups are not required, if the query contains only AND or OR.

  2. If you have created a new group, click the Add rule button to add a new rule. Select a column that you want to use in a rule.

  3. Select an operator.

  4. Enter a value for comparison with the selected column. 

  5. Use the Add group and Add buttons to add more group conditions to the expression.

  6. Click the OK button. The result will be displayed in the data grid in the Query Results panel. It may take a few seconds or several minutes for the query to complete.

Query Results Panel

The Query Results panel will display all available rows including columns. The number of rows is indicated on the top right, next to the Export button.Image Removed

...

Data Hub query results

Item

Description

Displayed Columns

This is a list of columns in the selected table that are displayed in the Query Results panel. 

Export 

Image Removed
Image Added

Click this button to export the query result content to a CSV file. For further information, see the section below, Exporting Query Result.

Exporting Query Result 

To export a query result follow the steps below:

  1. Click the Export button in the Query Results Panel.

  2. In the Export search result dialog, enter the following:
    Filename - The export filename should contain alphanumeric- or dash (-) characters. Do not add a file extension or a path.
    Delimeter - You can enter a character or string that should represent the separator token, e.g. a comma or a semi-colon. 

...

  1. Image Added


    Export search result dialog
     

  2. Select the check box Include Header to add the column names to the first row in the file.
     

  3. Click the OK button. The file will be saved as <filename>.csv in your default download folder. All the columns of the table will be included in the file.