Importing metadata from relational databases
When you import metadata from a relational database, you can import all the metadata or select particular object types, such as tables, columns, views, synonyms, stored procedures, and functions. You can also import system objects from a relational source. System stored procedures are not supported. IBM® Cognos® Framework Manager supports only user-defined stored procedures.
The following table shows the database objects that are mapped to Framework Manager objects.
Database object |
Framework Manager object |
---|---|
table |
query subject |
column |
query item |
view |
query subject |
synonym |
query subject |
procedure |
query subject |
function |
project function |
All objects shown in the table above that are imported appear in the Project Viewer as metadata, except for functions. The functions appear in the Explorer tab in the middle pane, under the namespace that you imported the functions to. The functions also appear in the expression editor where you can use them to create expressions. You can import each function only once, unless you select the Import and create a unique name option to avoid duplicate name conflicts.
Named sets imported from Microsoft SQL Server and Microsoft Analysis Server are stored as read-only calculations in the Framework Manager model. The calculation has a flag that identifies it as a named set, and a property that contains the dimension name.
IBM Cognos Analytics (BI) does not support Oracle packages, which are essentially groups of procedures and functions. As a result, the synonyms for the Oracle packages do not appear in Framework Manager. Oracle stored procedures, functions, and synonyms are supported in Cognos Analytics and can be imported by using the Framework Manager Metadata Wizard as long as they do not reference an Oracle package.
Procedure
What to do next
- Relationships and cardinality. For more information, see Cardinality.
- Determinants. For more information, see Determinants.
- The Usage property for query items. For more information, see Formatting query items.
- The Regular Aggregate property for query items. For more information, see Formatting query items.