Topics Map > Technology > Denodo
Denodo - Creating/Editing Base Views
This article provides step-by-step instructions on how to Base Views in Denodo.
To retrieve data from a repository of data (a database, a SOAP web service, an XML file, etc.), you first need to create a data source in Denodo. A data source represents one repository of data. Then, you need to create one or more base views over each data source. The base views represent the entities in the source.
For example, each base view from an Excel data source is associated with a single sheet from the workbook; each base view of a JDBC data source is associated with a table or view of the database; each base view of a SOAP data source represents an operation of the web service, etc.
Creating a Base View
- Once a data source has been created in Denodo, click Create Base View.
- Base views can be created using different methods.
- Select tables/views method:
- If the data source contains a single table/view, the base view will automatically be created.
- If the data source contains multiple tables/views, you will be asked to select a table/view to create the base view from.
- Click Create Selected.
- Create from Query method:
- Click Create from Query.
- Enter a View name with no spaces.
NOTE: Names will automatically be converted to lowercase. - Enter a SQL query representing the base view you want created.
- Click OK.
- Select tables/views method:
Editing a Base View
- Double-click the base view name to open it, and select Edit.
- From here you can:
- Rename the view.
- Rename the fields.
- Change the field types.
- Define a Primary Key.
- Manually add descriptions to to fields.
NOTE: see the article on Ingesting Table/Column Comments into Base Views for steps to automate this process.
The Execution Panel
- Double-click the base view name to open it, and select Execution panel.
- By default, the Execute button will return the first 150 rows of data. Users can adjust this limit manually or choose to Retrieve all rows.
- To export the results to a .csv file, click Execute and download instead, and turn on the Export results to a CSV file option.