Invoke Operation On Table Page

Select the database tables. To use the bulk extract feature, you must choose the SELECT operation from the Perform an Operation On a Table list on the Basic Info page.

Operations on Table Page

Element Description
Schema Select the database schema that includes the tables to process.
Table Name Enter a filter with which to search the schema (for example, %TAB to search for tables with TAB in the name).
Table Type

Specify the table type filter to get a subset of the appropriate database objects, then click Search.

  • ALL
  • SYNONYM
  • TABLE
  • VIEW
Filter By Enter the initial letters to filter the display of table names.
Available Lists the tables that meet the selection criteria.
Selected Lists your table selection.
Import Tables Click to import the tables. The page is refreshed for you to select the parent database table.
Primary Keys

Appears when you select tables without a primary key defined. Select the virtual primary key for the table.

Note: Having the primary key at the database level is the best practice.

Select the parent database table Select the parent (root) table from the list. If using multiple related tables, this is the top-level parent table in the relationship. After making your selection, the page is refreshed for you to view and edit the table relationships.
Add || Remove Tables Click to add more tables or remove tables no longer in use.
Review and manage parent database table relationships Click Edit to view and edit the table relationships. The relationships automatically identified by the adapter are displayed. See Review and manage parent database table relationships Option.
Review and filter columns from selected database tables Click Edit to view and edit the table attributes. You can deselect any attributes to exclude from the database queries. Primary key attributes cannot be excluded. See Review and filter columns from selected database tables Option.
Review and edit SQL query

(Displayed only if the Select operation is selected on the Basic Info page.)

Click Edit to view and edit the default SQL query. See Review and edit SQL query Option.

Review and manage parent database table relationships Option

Specify values for the Review and manage parent database table relationships option.

Element Description
Create New Click to create a new relationship.
Parent Table Select the parent table.
Child Table Select the child table.
Relationship

Select the relation type (one-to-many, one-to-one, or one-to-one with the foreign key on the child table). For example, if you selected ORDERS as the parent table and ORDERS as the child table, the following options are displayed:

  • ORDERS has a 1:1 Relationship with ORDERS
  • ORDERS has a 1:1 Relationship with ORDERS (Foreign key on Child table)
  • ORDERS has a 1:M Relationship with ORDERS
Attribute Name Applies attributes to the table relationship.
Mapping Displays the mapping for the table relationship.

Review and filter columns from selected database tables Option

Specify values for the Review and filter columns from selected database tables option.

Element Description
Select the Columns View and deselect attributes automatically created by the adapter. Deselect any attributes to exclude from the database query.

Review and edit SQL query Option

Specify values for the Review and edit SQL query option.

Note:

This is only applicable for a Select operation on a table.
Element Description
SQL Edit Click to manually edit the query in the SQL Query field.
Parameter Click to specify a bind parameter.
Add New Click to add new criteria to the SQL query.
Remove Click to remove the SQL criteria you specified.
Maximum Number of Records to be fetched Select the number of records to fetch with this SQL query.
Pagination Select the check box. When you must fetch a large number of results/records, you can implement the Netezza Adapter's pagination feature and receive sorted results/records in chunks. Offset and Limit fields are displayed in the mapper. You can specify the number of results per page by providing the offset and limit values according to your requirement. Enter a starting value in the Offset field and an ending value in the Limit field to receive sorted results. A use case is provided for the pagination feature. See Use Pagination in an Integration.