Skip to main content

Get Table Names

Description:

Get table names is a step in the Input Plugin for Process Studio Workflows. The Get Table Names step retrieves only table names when the 'Include Tables' option is checked. Secondly, when both 'Include Tables' and 'Include Views' are checked, both types of names are retrieved. Thirdly however, when only 'Include views' is checked, nothing is returned. In order to handle the third scenario when you need on View names you may 'Include Tables' and 'Include Views' and add a filter rows step to get rid of the unwanted table names.

Configurations:

No.Field NameDescription
Files Tab:The files tab is where you define the location of the XML files from which you want to read.
1Step NameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2ConnectionThis defined the connection to the database.
3Schema NameThe name of the Schema to retrieve tables.
4Get Schema from fieldEnable checkbox to get schema name from field.
5Schema Name FieldEnter the fieldname to get schema name.
Settings:
6 Include catalogsEnable checkbox to see catalogs.
7Include schemasEnable checkbox to see schemas.
8Include tablesEnable checkbox to see tables.
9Include viewsEnable checkbox to see views.
10Include proceduresEnable checkbox to see procedures.
11Include synonymsEnable checkbox to see synonyms.
12Add schema in objectEnable checkbox to prefix schema name to ‘Tablename Fieldname’.
Output Fields:
13Table name FieldnameSpecify an output fieldname to contain Table/Object name.
14Object type fieldnameSpecify an output fieldname to contain Database Object Type.
15Is system object fieldnameSpecify an output fieldname to contain a Boolean value: Is it a system object(Y/N).
16Creation SQL fieldnameSpecify an output fieldname to contain the SQL script for the object creation.