<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Application - Config - Update Application schema - KB Update SQL Tool on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/</link><description>Recent content in Application - Config - Update Application schema - KB Update SQL Tool on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/index.xml" rel="self" type="application/rss+xml"/><item><title>KB Update SQL Tool - CI entry tables</title><link>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-ci-entry-tables/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-ci-entry-tables/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;As explained in the previous section, in order to modify and update the Analysis schema, a set of &lt;strong&gt;entry tables&lt;/strong&gt; are injected with data that defines how the Analysis schema will be altered.&lt;/p&gt;
&lt;h2 id="entry-tables"&gt;Entry tables&lt;/h2&gt;
&lt;p&gt;The following is an exhaustive list of entry tables ordered by function. Each table and its function is described in more detail below.&lt;/p&gt;
&lt;table class="wrapped confluenceTable"&gt;&lt;colgroup&gt;&lt;col/&gt;&lt;col/&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th class="confluenceTh"&gt;Error management&lt;/th&gt;&lt;td class="confluenceTd"&gt;&lt;ul&gt;&lt;li&gt;CI_ERRORS&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th class="confluenceTh"&gt;Object modification&lt;/th&gt;&lt;td class="confluenceTd"&gt;&lt;ul&gt;&lt;li&gt;GUID_OBJECTS&lt;/li&gt;&lt;li&gt;CI_OBJECTS&lt;/li&gt;&lt;li&gt;CI_NO_OBJECTS&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th class="confluenceTh"&gt;&lt;strong&gt;Parent type link modification&lt;/strong&gt;&lt;/th&gt;&lt;td class="confluenceTd"&gt;&lt;ul&gt;&lt;li&gt;CI_PARENTS&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th class="confluenceTh"&gt;&lt;strong&gt;Object property modification&lt;/strong&gt;&lt;/th&gt;&lt;td class="confluenceTd"&gt;&lt;ul&gt;&lt;li&gt;CI_STR_PROPERTIES&lt;/li&gt;&lt;li&gt;CI_INT_PROPERTIES&lt;/li&gt;&lt;li&gt;CI_NO_PROPERTIES&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th class="confluenceTh" colspan="1"&gt;&lt;strong&gt;Link modification&lt;/strong&gt;&lt;/th&gt;&lt;td class="confluenceTd" colspan="1"&gt;&lt;ul&gt;&lt;li&gt;CI_NO_LINKS&lt;/li&gt;&lt;li&gt;CI_LINKS&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th class="confluenceTh" colspan="1"&gt;&lt;strong&gt;Link property modification (available in &lt;span style="color: rgb(32,33,36);"&gt;≥ 8.3.45)&lt;/span&gt;&lt;/strong&gt;&lt;/th&gt;&lt;td class="confluenceTd" colspan="1"&gt;&lt;ul&gt;&lt;li&gt;CI_INT_LINK_PROPERTIES&lt;/li&gt;&lt;li&gt;CI_STR_LINK_PROPERTIES&lt;/li&gt;&lt;li&gt;CI_NO_LINK_PROPERTIES&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id="ci_errors"&gt;CI_ERRORS&lt;/h3&gt;
&lt;p&gt;This table will be injected with data if any errors or data inconsistencies are found during the data check process (this takes place when the job is executed).&lt;/p&gt;</description></item><item><title>KB Update SQL Tool - Creating OBJECT_GUIDs</title><link>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-creating-object-guids/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-creating-object-guids/</guid><description>&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;Note that in AIP Core &lt;strong&gt;≥&lt;/strong&gt; 8.3.45, the table &lt;strong&gt;GUID_OBJECTS&lt;/strong&gt; can no longer be used . Attempting to use it will generate and &lt;strong&gt;ERROR_ID = 5&lt;/strong&gt; on each returned row. If you have scripts using this table to generate custom OBJECT_GUIDs, for legacy technologies such as VisualBasic and PowerBuilder, you should update those scripts to use the OBJECT_ID (which is always available) instead of generating a custom OBJECT_GUID using this table. In this situation, the information below is obsolete and should not be used.&lt;/p&gt;</description></item><item><title>KB Update SQL Tool - Error handling</title><link>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-error-handling/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-error-handling/</guid><description>&lt;p&gt;The &lt;strong&gt;KB Update SQL Tool&lt;/strong&gt; has a built in &lt;strong&gt;error handling system&lt;/strong&gt;: when a job is launched, a series of data consistency checks are carried out to check that the proposed query will execute correctly. If any problems are detected (for example attempting to insert duplicate OBJECT_GUIDs or attempting to modify a numeric property using the wrong entry table) the job execution will stop. An error ID is then inserted into the ERROR_ID column of the entry table you are updating. You can then query the CI_ERRORS entry table to extract the error information message that will help you debug the problem.&lt;/p&gt;</description></item><item><title>KB Update SQL Tool - Using the KB Update SQL Tool via CAST Management Studio</title><link>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-using-the-kb-update-sql-tool-via-cast-management-studio/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/application-config-update-application-schema-kb-update-sql-tool/kb-update-sql-tool-using-the-kb-update-sql-tool-via-cast-management-studio/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;This documentation is for using the tool in the legacy &lt;strong&gt;CAST Management Studio&lt;/strong&gt;. You should, wherever possible, use Console to run your analyses and the KB Update SQL Tool - see &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-advanced/application-config-update-application-schema/"&gt;Application - Config - Update Application schema&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="configuring-the-tool"&gt;Configuring the tool&lt;/h2&gt;
&lt;p&gt;To configure the tool:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Launch&lt;/strong&gt; the CAST Management Studio&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Connect&lt;/strong&gt; to the Management Service which governs the Analysis schema you want to modify&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open&lt;/strong&gt; an existing &lt;strong&gt;Application&lt;/strong&gt; (or create a new one) - note that the Application must use the Analysis Service you want to update - you can check this in the &lt;strong&gt;Execute tab&lt;/strong&gt; of the &lt;strong&gt;Application editor&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/AIPCONSOLE/attachments/580223192/580223194.jpg" alt=""&gt;&lt;/p&gt;</description></item></channel></rss>