How do I View and Modify a SQL statement associated with a Query?
book
Article ID: 26102
calendar_today
Updated On:
Products
CA Client Automation - IT Client Manager
CA Client Automation
Issue/Introduction
I would like to modify the SQL statement of a query to create custom reports. How do I modify the SQL statement associated with the query?
Environment
Client Automation - All version
Resolution
- Right-click Queries in the DSM Explorer and select New from the context menu.

- In the 'Select Target' window select the object on which you want to create a query and click OK. Ex: Computers.

- In the 'Query Designer' window insert the arguments required to create the new query and click OK.


- The Save Query dialog box will displayed. Enter the unique name for the query.

- The query is created with the given name and displayed under the Queries folder in DSM Explorer. Right-click the query and select Properties.
In the 'Query Designer' window right-click the argument and select Edit SQL.

- Edit the SQL statement as desired and click OK.
Feedback
thumb_up
Yes
thumb_down
No