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

Derived Table - Stored Procedure.

Hi all,

Can any tell how you call stored procedure from Derived table.

and how manage the IN parameters ?

thnx in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2009 at 02:01 PM

    Hi Reddeppa,

    Could you please specify the database you are working on?

    Also , BO Supports Derived Tables if and only if the underlying database supports In-line Views:

    Syntax: Select tot from ( select fun(x) as tot from table) dtab ;

    Ex: Select workdays from ( select workdays('10/10/2004' , '20/4/2005') as workdays from dual ) DerivedTab ;

    Run the above SQL at the Database end, if it runs successfully then follow the below steps

    1. Create a function at the database end.

    for example :

    Create or replace function testf(no number) return number





    2. Open the universe

    3. Create a derived table using the following syntax:

    for example :

    Select TestF(10) from dual;

    4. Click on parse and Ok.

    5. Now create a report using Derived table

    Note: This is tested on Oracle database.

    Hope this will help you.



    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.