<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/</link><description>Recent content in SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/index.xml" rel="self" type="application/rss+xml"/><item><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions - How to find the DataFunction ID of a merged item without a merge root or when its merge root is not a Data Function</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-datafunction-id-of-a-merged-item-without-a-merge-root-or-when-its-merge-root-is-not-a-data-function/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-datafunction-id-of-a-merged-item-without-a-merge-root-or-when-its-merge-root-is-not-a-data-function/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose of Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL query in this page lists the Data Function id being a merge child without a merge mother or its merge mother is not a Data Function&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Data Function being a merge root is the data function that has been merged with others, and it is the root of the merge, so it appears on the dashboard and TCC&lt;/li&gt;
&lt;li&gt;The Data Function being a merged item is the data function that has been merged as a item of another one, so it does not appear in the dashboard and TCC&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Applicable CAST Version&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions - How to find the Datafunction ID which belong to a Tree of merged items</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-datafunction-id-which-belong-to-a-tree-of-merged-items/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-datafunction-id-which-belong-to-a-tree-of-merged-items/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose of Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL query in this page lists the Datafunctions id that are part of a nested merge.&lt;/p&gt;
&lt;p&gt;For example a datafunction being both a merge root for one merged item and merged item for another merge root is part of a nested merge.   &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Datafunction being a merge root is the data function that has been merged with others, and it is the root of the merge, so it appears on the dashboard and TCC)&lt;/li&gt;
&lt;li&gt;The Datafunction being a merged item is the data function that has been merged as a child of another one, so it does not appear in the dashboard and TCC&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Applicable CAST Version&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions - How to find the objects id of Datafunction which is merged with itself</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-objects-id-of-datafunction-which-is-merged-with-itself/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-find-the-objects-id-of-datafunction-which-is-merged-with-itself/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose of Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL query in this page lists the objects id of data functions that present a self merge.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applicable CAST Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;8.3.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Applicable RDBMS&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;RDBMS&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CSS&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Query for CSS&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;object_id&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;dss_datafunction&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;WHERE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;object_id&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;cal_mergeroot_id&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;ORDER&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;BY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;object_id&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Query result example&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;7397329&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Query result interpretation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The above result return the ID of the data function that present a self merge&lt;/p&gt;</description></item><item><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions - How to list the Datafunction ID being a merge root of a DF but it doesn't have the flag stating it is a merge root</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-list-the-datafunction-id-being-a-merge-root-of-a-df-but-it-doesnt-have-the-flag-stating-it-is-a-merge-root/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-list-the-datafunction-id-being-a-merge-root-of-a-df-but-it-doesnt-have-the-flag-stating-it-is-a-merge-root/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose of Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL query in this page lists the Datafunctions id being a merge mother of a DF but it doesn&amp;rsquo;t have the flag stating it is a merge mother. Note that this corruption is fixed in 8.3.0.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Datafunction being a merge root is the data function that has been merged with others, and it is the root of the merge, so it appears on the dashboard and TCC)&lt;/li&gt;
&lt;li&gt;The Datafunction being a merged item is the data function that has been merged as a child of another one, so it does not appear in the dashboard and TCC.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Applicable CAST Version&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>SQL Queries - CAST Knowledge Base - Corruptions - Corruptions on datafunctions - How to list the merged item having more than one merge root</title><link>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-list-the-merged-item-having-more-than-one-merge-root/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-knowledge-base/sql-queries-cast-knowledge-base-corruptions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions/sql-queries-cast-knowledge-base-corruptions-corruptions-on-datafunctions-how-to-list-the-merged-item-having-more-than-one-merge-root/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose of Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL query in this page lists the merge child having more then one mother&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Datafunction being a merge root is the data function that has been merged with others, and it is the root of the merge, so it appears on the dashboard and TCC.&lt;/li&gt;
&lt;li&gt;The Datafunction being a merged item is the data function that has been merged as a child of another one, so it does not appear in the dashboard and TCC&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Applicable CAST Version&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>