Sdílet prostřednictvím


Creating Report Datasets from an Oracle Database (Report Builder 2.0)

Report Builder 2.0 provides a data processing extension that supports report data retrieval from an Oracle relational data source. After you have connected to an Oracle data source, you can create a report dataset that defines the data that you want to in your report.

To create a dataset, you can either select a stored procedure from a drop-down list or create an SQL query. You can also specify properties and define report parameters and query parameters. For more information, see How to: Retrieve Data from an Oracle Data Source (Report Builder 2.0).

To build a query from an Oracle data source, you must use the text-based query designer. For more information, see Text-based Query Designer User Interface (Report Builder 2.0) and Query Designers and Data Sources (Report Builder 2.0).

Using Query Parameters

If your query contains parameters, Report Builder 2.0 automatically creates corresponding report parameters in the report definition when you type the query. When the report runs, values for the report parameters are passed to the query parameters. For more information, see Adding Parameters to Your Report (Report Builder 2.0).

Using Stored Procedures

You can use stored procedures to return data in a dataset. Report Builder 2.0 supports stored procedures that return only one set of data. Using cursor-based queries are not supported.