<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged efficy10</title>
<link>https://overflow.efficy.io/?qa=tag/efficy10</link>
<description>Powered by Question2Answer</description>
<item>
<title>Upgrade from 7.0.25 to 10.2.31 gives weird error ( due to new Standard Category that was already existing in custom )</title>
<link>https://overflow.efficy.io/?qa=2601/upgrade-gives-error-standard-category-already-existing-custom</link>
<description>&lt;p&gt;When upgrading from 7.0.25 to 10.2.31 the DbUpgrade.exe gives weird error&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6780085717490921630&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When looking the generated upgrade script, he tries to create twice the R&lt;em&gt;CONT$EMPLOYEE view, the second time with a TEAM column that doesn't even exist and that points to LK&lt;/em&gt;CONT&lt;em&gt;TEAM which doesn't exist either.&lt;br&gt;
Also no trace of these non existing table and field are found in SYS&lt;/em&gt;TABLES or SYS_FIELDS....&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;create view R_CONT$EMPLOYEE as select CONT$EMPLOYEE.*,
(select F_ENTITY_NAME from LK_PROJ_ENTITY L1 where L1.K_PROJ_ENTITY=CONT$EMPLOYEE.F_ENTITY) as R_F_ENTITY,
(select F_COST_CAT_NAME from LK_COST_CATEGORY L2 where L2.K_COST_CATEGORY=CONT$EMPLOYEE.F_COST_CATEGORY) as R_F_COST_CATEGORY,
(select F_STD_UTIL_RATE_ from LK_STD_UTIL_RATE L3 where L3.K_STD_UTIL_RATE=CONT$EMPLOYEE.F_STDUTILRATE) as R_F_STDUTILRATE from CONT$EMPLOYEE
go


create view R_CONT$EMPLOYEE as select CONT$EMPLOYEE.*,
(select TEAM from LK_CONT_TEAM L1 where L1.K_CONT_TEAM=CONT$EMPLOYEE.TEAM) as R_TEAM from CONT$EMPLOYEE
go
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Somewhere there must be something in the DB that causes this but where can I look ?&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2601/upgrade-gives-error-standard-category-already-existing-custom</guid>
<pubDate>Tue, 11 Jul 2017 13:34:19 +0000</pubDate>
</item>
</channel>
</rss>