Next Topic

Previous Topic

Book Contents

Well Known Parameters

When creating name value parts, you can include Well Known parameters in your queries. You insert these in SQL queries using the format @<wellknownname>. You must also add them to the parameters table. The following are some of the well known values you can use:

ReportSessionID

If you are using a context, then include a @ReportSessionId parameter as the value for one of the parameters.

Examples

Here are some examples of how to make name value parts using well known parameters.

  1. This name value part uses @CompanyName to return the company name.

    Word 80% / HTML 80%

  2. This name value part uses @PartitionID to return the machine with the lowest disk space in the partition ID.

    Word 80% / HTML 80%

  3. This name value part uses the @ReportSessionID parameter to return a count of the number of agent procedures run. The MachineFilter context enables you to choose filters when the report is run. The parameters @StartDateTime and @EndDateTime let you pick a date range at run time.

    Word 80% / HTML 80%