Skip to Content
author's profile photo Former Member
Former Member

User-defined scalar function is not working with CE Script

Hello All,

I have created a user defined scalar function "addition()" at the CATALOG level and am intending to use it in a stored procedure.

When I am using the function "addition()" along with SQLScript inside the procedure, it is working as expected. But, when I make use of the function "addition()" along with CE functions, inside CE_CALC, it is throwing up an error message.

From the error log, it seems that the editor is treating the "addition()" function as an attribute in the table(blurred), which is in fact a schema.

Is it that user defined functions are not compatible with CE functions or is there some other method to make use of it?

Best Regards,

Ram

func.png (12.0 kB)
proc.png (23.9 kB)
error.png (9.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2013 at 04:58 PM

    UDFs are not accessible from CE functions.

    For a list of available expressions functions that can be used within CE_CALC(), look at the SQLScript guide under "CE_CALC".

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.