<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged native-sql</title>
<link>https://overflow.efficy.io/?qa=tag/native-sql</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to create a directory on the Efficy Server by workflow ?</title>
<link>https://overflow.efficy.io/?qa=6596/how-to-create-a-directory-on-the-efficy-server-by-workflow</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Actually, I can create a batch file launched by a Windows service each minute.&lt;br&gt;
The content of this batch file is modified by workflow.&lt;br&gt;
I would like to create this directory from the workflow without using the bacth file because I must be sure that the directory has been created before saving pdf files in it.&lt;br&gt;
With the previous solution I must use a timeout before saving the files in the directory.&lt;br&gt;
Any solution ?&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6596/how-to-create-a-directory-on-the-efficy-server-by-workflow</guid>
<pubDate>Tue, 14 Jun 2022 13:27:30 +0000</pubDate>
</item>
<item>
<title>Sql query on acc_accounts - Field 'Name' not found</title>
<link>https://overflow.efficy.io/?qa=6489/sql-query-on-accaccounts-field-name-not-found</link>
<description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;Since Efficy 2021, if I create this simple sql query 'select * from acc_accounts' in Efficy, I get this weird error : &lt;/p&gt;

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

&lt;p&gt;Where does this error come from, there is not even a 'Name' field in this table... ??&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6489/sql-query-on-accaccounts-field-name-not-found</guid>
<pubDate>Fri, 18 Mar 2022 16:30:11 +0000</pubDate>
</item>
<item>
<title>How can I use &quot;Chart options&quot; / &quot;Series configuration&quot; in a Chart Widget?</title>
<link>https://overflow.efficy.io/?qa=6225/how-can-use-chart-options-series-configuration-chart-widget</link>
<description>&lt;p&gt;How can I use &quot;Chart options&quot; / &quot;Series configuration&quot; in a Chart Widget?&lt;br&gt;
I would like to change the order of the analyses fields.&lt;br&gt;
Instead of Alphabetic sorting. And instead of using prefix numbers.&lt;/p&gt;

&lt;p&gt;Is there a guide?&lt;br&gt;
Do you have an example for me?&lt;/p&gt;
</description>
<category>Efficy design guidelines</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6225/how-can-use-chart-options-series-configuration-chart-widget</guid>
<pubDate>Fri, 09 Jul 2021 14:48:27 +0000</pubDate>
</item>
<item>
<title>Why the user is linked to himself in ACC_GROUPS table ?</title>
<link>https://overflow.efficy.io/?qa=6096/why-the-user-is-linked-to-himself-in-accgroups-table</link>
<description>&lt;p&gt;For one of our customer, we have a synchronization of the users with an LDAP.&lt;/p&gt;

&lt;p&gt;SQL queries where used to create the user, the user where correctly created and he could connect to Efficy. But sometimes he could not access records.&lt;/p&gt;

&lt;p&gt;After an analysis we remarked that the difference between creating the user from Efficy Designer and the creation through our SQL statement was that the user is linked to himself in the ACC_GROUPS table.&lt;/p&gt;

&lt;p&gt;I would like to know/ to understand why such rule exist and what it is used for.&lt;/p&gt;
</description>
<category>Efficy Designer (Conficy)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6096/why-the-user-is-linked-to-himself-in-accgroups-table</guid>
<pubDate>Mon, 17 May 2021 08:43:09 +0000</pubDate>
</item>
<item>
<title>How to have a Bar Widget in Efficy 11.3 displaying all month even if there is no data ?</title>
<link>https://overflow.efficy.io/?qa=5885/how-have-widget-efficy-displaying-all-month-even-there-data</link>
<description>&lt;p&gt;A customer wanted to have a Bar Widget that display 12 months from the current date and then display the number of opportunity per Nature.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=16745718196784928250&quot; alt=&quot;Nb Opportunities per Nature on 12 months&quot;&gt;&lt;/p&gt;

&lt;p&gt;This is not easy to do it with standard Efficy Query and Widget, because standard Efficy Query and Widget will only display the month where there is data.&lt;/p&gt;

&lt;p&gt;Check solution below&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5885/how-have-widget-efficy-displaying-all-month-even-there-data</guid>
<pubDate>Wed, 10 Feb 2021 14:56:49 +0000</pubDate>
</item>
<item>
<title>The EXECUTE permission was denied on the EFFICYTEST server when i want to execute sql query as a user</title>
<link>https://overflow.efficy.io/?qa=5511/execute-permission-denied-efficytest-server-execute-query</link>
<description>&lt;p&gt;I made a query to execute a sql native query when logged in as a normal user with native-sql execution rights. &lt;br&gt;
With user admin no problem whatsoever.&lt;/p&gt;

&lt;p&gt;The EXECUTE permission was denied on the object &lt;code&gt;CUSTOM_KBVIP_CFO&lt;/code&gt;, database 'customerdatabase', schema 'ADMINXXXXXXXX'&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Declare @KEY as INT = :companykey
SELECT IIF(ADMINXXXXXXXX.CUSTOM_KBVIP_CFO (@KEY) &amp;gt; '', 1, 0) AS RESULT.
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;On my localhost I had no problem executing native sql queries when logged in as the same user.&lt;/p&gt;

&lt;p&gt;Anyone a clue?&lt;/p&gt;

&lt;p&gt;P.S. I try to execute an SQL function.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5511/execute-permission-denied-efficytest-server-execute-query</guid>
<pubDate>Mon, 13 Jul 2020 15:05:42 +0000</pubDate>
</item>
</channel>
</rss>