<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged apply-structure</title>
<link>https://overflow.efficy.io/?qa=tag/apply-structure</link>
<description>Powered by Question2Answer</description>
<item>
<title>Designer 11.3: error when applying structure to add new field</title>
<link>https://overflow.efficy.io/?qa=5934/designer-11-3-error-when-applying-structure-to-add-new-field</link>
<description>&lt;p&gt;Hello.&lt;/p&gt;

&lt;p&gt;In the designer, when I click on &quot;Apply structure&quot; after I just added a field on a custom entity, I have this error:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;09:55:50.053&amp;gt; Upgrading Database &quot;ldf&quot; 09:55:50.068&amp;gt; Connection&lt;br&gt;
  09:55:50.068&amp;gt; Loading Database Structure File 09:55:50.505&amp;gt; Retrieving&lt;br&gt;
  Current Database Structure 09:55:50.505&amp;gt;   Retrieving Procedures&lt;br&gt;
  09:55:50.686&amp;gt;   Retrieving Triggers 09:55:50.833&amp;gt;   Retrieving&lt;br&gt;
  Relations 09:56:15.519&amp;gt;   Retrieving Tables Subquery returned more&lt;br&gt;
  than 1 value. This is not permitted when the subquery follows =, !=,&lt;br&gt;
  &amp;lt;, &amp;lt;= , &amp;gt;, &amp;gt;= or when the subquery is used as an expression select&lt;br&gt;
  indid, name, id from sysindexes where sysindexes.id = (select id from&lt;br&gt;
  sysobjects where name = :TableName) and name not like '&lt;em&gt;WA&lt;/em&gt;Sys&lt;em&gt;%' and&lt;br&gt;
  status &amp;lt;&amp;gt; 2050 and indid not in (0, 255) and name not in (select name&lt;br&gt;
  from SYSOBJECTS where (XTYPE = 'PK') and parent&lt;/em&gt;obj = (select id from&lt;br&gt;
  sysobjects where name = :TableName2) and UID = (select UID from&lt;br&gt;
  SYSOBJECTS where (NAME = 'SYS&lt;em&gt;DATABASE') and (XTYPE = 'U'))) and name&lt;br&gt;
  not in (select s.name from sys.stats s where s.object&lt;/em&gt;id =&lt;br&gt;
  sysindexes.id and (user&lt;em&gt;created = 1 or auto&lt;/em&gt;created = 1) ) SQL: select&lt;br&gt;
  indid, name, id from sysindexes where sysindexes.id = (select id from&lt;br&gt;
  sysobjects where name = :TableName) and name not like '&lt;em&gt;WA&lt;/em&gt;Sys&lt;em&gt;%' and&lt;br&gt;
  status &amp;lt;&amp;gt; 2050 and indid not in (0, 255) and name not in (select name&lt;br&gt;
  from SYSOBJECTS where (XTYPE = 'PK') and parent&lt;/em&gt;obj = (select id from&lt;br&gt;
  sysobjects where name = :TableName2) and UID = (select UID from&lt;br&gt;
  SYSOBJECTS where (NAME = 'SYS&lt;em&gt;DATABASE') and (XTYPE = 'U'))) and name&lt;br&gt;
  not in (select s.name from sys.stats s where s.object&lt;/em&gt;id =&lt;br&gt;
  sysindexes.id and (user&lt;em&gt;created = 1 or auto&lt;/em&gt;created = 1) ) The&lt;br&gt;
  database structure change failed. Check the log file on the server for&lt;br&gt;
  further details&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I am on an efficytest database.&lt;/p&gt;
</description>
<category>Efficy Designer (Conficy)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5934/designer-11-3-error-when-applying-structure-to-add-new-field</guid>
<pubDate>Wed, 03 Mar 2021 09:09:08 +0000</pubDate>
</item>
</channel>
</rss>