01-24-2005 01:42 PM - edited 03-13-2019 10:39 PM
Does anyone know what the <ReportSQLCommand> Exec sp_ReportDisplayName refers to? I have created a new report format and have followed the directions of the Creating Custom Historical Reports for CRS Applications, but it does not explain what this command references and it fails with a SQL error.
01-24-2005 08:18 PM
Hi,
Following is extracted from "Creating Custom Reports for Cisco CRA"
ReportSQLCommand - SQL command (query or stored procedure) upon which the report is based. You can follow this name with any number of parameters. When this report is generated, the Cisco CRA Historical Report client will replace each parameter with its value.
Each parameter must follow these conventions:
A parameter must begin with a dollar sign ($)
A parameter may contain only alphabetic characters and underscores (_)
At a minimum, the SQL command requires the following parameters:
$StartDateFirst date of the date range for which to generate information in the report, as specified by a user
$EndDateLast date of the date range for which to generate information in the report, as specified by a user
$SortBySort method that a user specifies for the report
If the command includes characters that the XML processor might interpret as markup characters, use the standard XML entity references for the characters or use hexadecimal character references. Refer to your XML documentation for more information.
You may find the following links useful for IPCC Express Historical Reporting(HR):
Understanding HR
Cisco CRA HR User Guide
Cisco CRA Database Schema
Hope it helps.
Regards
Venkat
01-25-2005 11:32 AM
What I'm looking for is the name right after the Exec statement in the ReportSQLCommand. Is this just a variable name? If not, where do I define it?
01-25-2005 12:19 PM
I understand why this is failing, but not sure how to fix the problem. I finally found the log file that displays my error. The file name after the EXEC statement in the ReportSQLCommand is a stored procedure. How can I create a stroed procedure in IPCC when it doesn't come with Enterprise Manager? Can someone help answer this problem?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide