- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Add a Custom Table
By adding a custom table, you can manually fill in an SQL query statement to generate a custom table. The custom table editor allows you to directly fill in the name of a stored procedure defined on the data source to call it. Note that the custom table option does not support cross-source operations, so you can only create custom tables based on a single data source.
In the lower-left corner of the Dataset Designer, click +Add Custom SQL Table.
In the Custom SQL Table dialog, enter the name of the newly added custom table, select the required data source, enter the SQL query command, and click OK.
In case you are using MongoDB as the database, do the following;
3. Enter the name of the custom table, select the required data source, select the query type as Text, Native Query, or Stored Procedure enter the SQL query command, and click Next.
On clicking Next, the schema editor will appear in the popup with query results where you can select one data type from 6 types of data types including Number, Text, Date, DateTime, Boolean, and Guid for a column. Click OK to finish.
Note: You cannot perform the following operations in the schema editor,
Rename the table.
Rename Column.
Add Columns.
Delete Columns
Reorganize Columns.
View the custom table under Custom Tables in the Data Sources and Datasets area of the Dataset Designer.
Limitation of Using MongoDB
The followingare a few limitations of using MongoDB when adding custom SQL tables;
The MongoDB query schema specified within the dataset primarily affects the inference of the data type for the custom SQL table. However, the complete schema acquisition for the table still relies on inference from the initial N rows of data. This process cab be illustrated by the list of data sources located in the left panel of the dataset designer.
By disregarding the current association with MongoDB in the cached model, you can start by creating a cached dataset using MongoDB. Afterwards, you can simply reference this dataset within the cached model.