CAST Engineering Dashboard - Information - Setting objects as external
Purpose
This page describes step by step approach to setting an object(s) as external
Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS | ✅ |
Details
Objects can be set as external by adding an SQL tool job in CMS by following the below steps :
In CMS Double click on the application
Goto “Modules” tab
Add SQL Tool under “Tools after module generation”
add the below query. You can replace <Knowledge_base>,
with the name of your Knowledge base and desired path respectively in the below query. With CAST AIP < 8.3.37:
update <Knowledge_base>.CTT_OBJECT_APPLICATIONS
set PROPERTIES = 1
where OBJECT_ID in (select OBJECT_ID
from <Knowledge_base>.CSV_FILE_OBJECTS
where lower(FILE_PATH) like ‘
2. With CAST AIP >=8.3.37:
```sql
update <Knowledge_base>.CTT_OBJECT_APPLICATIONS
set PROPERTIES = PROPERTIES | 256
where OBJECT_ID in (select OBJECT_ID
from <Knowledge_base>.CSV_FILE_OBJECTS
where lower(FILE_PATH) like '<path>');
- Run analysis and Generate snapshot (skip analysis if already analyzed )