SQL Queries - CAST Management Base - How to update C++ AU Settings from BackEnd

Purpose of Query

This query will let you change the CPP analysis unit settings for “IDE used for this Analysis Unit” to “Not Specified and “STL Support” as “Cast emulation

Applicable CAST Version

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x

Applicable RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2

Query for CSS

To update the settings -

update CMS_CPP_Analysis
 set DevEnv_Usage = 'DevEnvDefault',
 Stl_Usage = 'StlUsageCastEmulation';

Query result example

Query result interpretation

The below values will be updated.

Notes/comments

If you would like to reset the values, you can run the below query on the MNGT schema-

update CMS_CPP_Analysis  
set DevEnv_Usage = null  
Stl_Usage = null;

Related Pages