How to find Clarity PPM Database Columns within NSQL
book
Article ID: 191126
calendar_today
Updated On:
Products
Clarity PPM On Premise
Issue/Introduction
How do I find all occurrences where a database column is used within an NSQL query and elsewhere within PPM without having to look at each and every Object, Query, Portlet, etc. (i.e., I want to find everywhere within PPM that the database column with specific text is used).
Environment
Clarity PPM Application
Resolution
Here are some tips and tables from the PPM database schema that should help in getting the NSQL query data.
CMN_NSQL_QUERIES Table contains the NSQL query.
CMN_GG_NSQL_QUERIES Table contains the base information for the NSQL query (Administration -> Queries).
CMN_LISTOF_VALUES has dynamic lookup ID's and corresponding NSQL query can be found in cmn_nsql_queries using the column sql_text_id.