<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged custom-scalar-function</title>
<link>https://overflow.efficy.io/?qa=tag/custom-scalar-function</link>
<description>Powered by Question2Answer</description>
<item>
<title>CUSTOM Views And Function on CHILD DB</title>
<link>https://overflow.efficy.io/?qa=124/custom-views-and-function-on-child-db</link>
<description>&lt;p&gt;When doing standard SQL queries we use the following code to get the right user in DB which is good when using Child Database :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;#TABLE name='COMPANIES'&amp;gt; COMP
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But do we have such example when we have a call to a Custom Function ?&lt;/p&gt;

&lt;p&gt;for instance : Scalar function CUSTOM&lt;em&gt;GET&lt;/em&gt;NB&lt;em&gt;PROJECT&lt;/em&gt;PER&lt;em&gt;COMPANY(K&lt;/em&gt;COMPANY) &lt;br&gt;
should be call like this :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[databaseuser].CUSTOM_GET_NB_PROJECT_PER_COMPANY(K_COMPANY) 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Can we replace automatically in Efficy the [databaseuser]. like the table name?&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;br&gt;
Stéphane RONCIN&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=124/custom-views-and-function-on-child-db</guid>
<pubDate>Thu, 11 Dec 2014 15:22:18 +0000</pubDate>
</item>
</channel>
</rss>