This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
versago3:dataview_setup [2022/09/07 12:39] dlee |
versago3:dataview_setup [2023/07/14 12:38] (current) dlee [Stored Procedure] |
||
|---|---|---|---|
| Line 61: | Line 61: | ||
| In some rare instances it may be necessary to use an SQL Stored Procedure as the data source. This approach is not recommended if any other option is available. | In some rare instances it may be necessary to use an SQL Stored Procedure as the data source. This approach is not recommended if any other option is available. | ||
| + | |||
| + | Store procedure parameters must be configured in the **// | ||
| + | |||
| + | |||
| + | <WRAP center round important 100% > | ||
| + | **Stored Procedure Limitations** | ||
| + | </ | ||
| + | Versago uses the view sys.dm_exec_describe_first_result_set_for_object to determine the store procedure' | ||
| + | However, there are limitations with the system view that restricts the use of some store procedures in Versago. | ||
| + | The limitations include the use of temp tables and dynamic sql in the store procedure. | ||
| + | |||
| + | Use the following query to determine if your store procedure will be suitable to be used as a Versago data source: | ||
| + | |||
| + | < | ||
| + | SELECT name, system_type_name | ||
| + | FROM sys.dm_exec_describe_first_result_set_for_object(OBJECT_ID(@StoredProcedureName), | ||
| + | </ | ||
| + | |||
| ====View==== | ====View==== | ||
| Line 69: | Line 87: | ||
| A Data View can be configured to display a Crystal Report. When this option is selected, the Crystal Report definition file is uploaded to the Versago site and used as the presentation method. | A Data View can be configured to display a Crystal Report. When this option is selected, the Crystal Report definition file is uploaded to the Versago site and used as the presentation method. | ||
| + | |||
| + | <WRAP center round important 80% > | ||
| + | The data source used in the Crystal Report definition **must** be the same as that of the Versago Data View connection. | ||
| + | </ | ||
| * Select Crystal Report as the data source type. | * Select Crystal Report as the data source type. | ||
| Line 75: | Line 97: | ||
| The Crystal Report source file is copied from the original location to the folder “C: | The Crystal Report source file is copied from the original location to the folder “C: | ||
| - | ======Configuring Crystal Reports for Versago and Bizweaver====== | + | --- |
| + | =====**Need to review**===== | ||
| - | =====SQL Server===== | + | ===SQL Server=== |
| When designing a Crystal Report that will use a __SQL Server__ database as its data source, the report connection type must be **OLE DB (ADO)**. This connection type has three options for the data provider: **SQL Native Client**, **Microsoft OLE DB Driver for SQL Server**, and **Microsoft OLE DB Provider for SQL Server**. | When designing a Crystal Report that will use a __SQL Server__ database as its data source, the report connection type must be **OLE DB (ADO)**. This connection type has three options for the data provider: **SQL Native Client**, **Microsoft OLE DB Driver for SQL Server**, and **Microsoft OLE DB Provider for SQL Server**. | ||
| - | <WRAP center round tip 80%> | + | ===HANA=== |
| - | If you have problems with one provider (e.g. being requested for login information at runtime), try one of the others to see if that resolves the issue. | + | |
| - | </ | + | |
| - | + | ||
| - | =====HANA===== | + | |
| When designing a Crystal Report that will us a __HANA__ database as its data source, the report connection type be **ODBC (RDO)**. | When designing a Crystal Report that will us a __HANA__ database as its data source, the report connection type be **ODBC (RDO)**. | ||
| Line 94: | Line 112: | ||
| Replace < | Replace < | ||
| - | <WRAP center round important 80%> | + | |
| - | Information about installing the needed HANA driver is found **// | + | |
| - | </ | + | |
| ---- | ---- | ||
| + | **[[versago3: | ||
| **[[versago3: | **[[versago3: | ||
| | | ||