Using package ESS_RUNTIME PL/SQL for ESS (Enterprise Service Scheduler) on 12 c

Hello

Customer is Endre retail using the ESS_RUNTIME PL/SQL package to 12 c.  However, according to the manual, there are rarely detailed information (for example, the reference of all methods) use the ESS_RUNTIME PL/SQL package.

20.4 creating a procedure from PL/SQL that challenges a subquery https://docs.Oracle.com/CD/E57014_01/ESS/ESSDG/subrequests.htm#BABCEDHI

This means that only the limited way is allowed to the customer?  Or, the client must use the Java API or Web Service, instead of PL/SQL package?

Here is the related topic of information previous version (11g).

How to invoke the Web Services Oracle or PLSQL Business Planner? (Doc ID 1336517.1()

Is there an API to submit at the request of PL/SQL together? (Doc ID 1460141.1()

Kind regards

Hiro

Hi Hiro,

We are probably not the right group to answer your question, but I can't find the right group, I did some research.

What I found is:

Oracle Fusion Middleware 12 c - 12.1.3

Oracle Enterprise Scheduler

to: https://docs.oracle.com/middleware/1213/ess/index.html

Does this solve your questions?

Thank you and best regards,
-Jeff Brown
Global Customer Support, Middleware Certification Support and Community Team engineer

Tags: Fusion Middleware

Similar Questions

  • A friend's XP user and in a care home for now & about to use a "dongle" Mi-Fi for its banking services

    Hello

    How to secure my friend uses the Windows XP for its banking services while she is in a nursing home? (This could be short term or permanent, unknown still.) She has not used the Toshiba laptop to come to 6 months. I don't know if it uses Norton or MacAfee, but it is certainly one of those who, for the security of the computer or if it is still up-to-date. She madeall her banking online as she was unable to leave the House for 3 years before its passage from 4 months in the hospital. The social worker arranged so that she could 'buy' a dongle MI-fi of 3G to use to access the internet (the social worker did not know that was what she had bought) so she can pay for her care. He has not been in place, but that nobody had heard of a MI-Fi, but I received a lot of help on that my service provider forum on wide band/phone who understand a little better now. Any suggestion security would be very welcome.

    The laptop is still loaded up during his stay in the hospital and used it for about an hour when it came out in April only to be re-admitted 7 hours later due to a fall.

    Your friend probably should buy a device for 'mobile broadband' rather than a 'MiFi'-, but your description of "MiFi dongle" suggests that it is perhaps what she actually still.

    A MiFi device is a wireless router that connects to the Internet via cell phone.  See http://en.wikipedia.org/wiki/MiFi because it creates a wifi "hotspot" anyone with wifi capability can connect to it unless it is configured with a strong password WPA2.  Most of MiFi devices must support WPA2, but computer XP your friend may or may not.  If your friend's computer does not support WPA2, use WPA.  Do not use WEP and never set up an unsecured wireless connection.

    The alternative to a MiFi device is a mobile broadband that connects directly to the computer with the USB and acts as a direct connection to the Internet via the cell phone network.  See, for example, http://store.virginmedia.com/virgin-media-mobile/mobile-broadband/mobile-broadband.html

    Mobile broadband is more secure than MiFi because it does not use a wireless connection.  This may seem a little confusing, because it is, of course, wireless, but in terms of connections of the computer, "wireless" means a particular technology.  The distinction is similar to a 'wireless phone' that you can run on your home but needs to be to have a "borne" connected to your ordinary phone wire and a 'mobile' (what we call 'mobile phone' to the United States) telephone that connects wireless everywhere.

    As much as the computer itself is concerned, your friend probably evolve into a laptop with Windows 7 or Windows 8.  I understand that it is an additional expense, but Windows XP is no longer supported by Microsoft and will make it more vulnerable to attack no matter how it is connected to the Internet.

  • BlackBerry Smartphones, Facebook and Twitter for Blackberry Enterprise Service (BES) 5.0.4

    We have a restriction in our Organization in the world of the app, and we make a point of Contact for Facebook and Twitter applications. We want to allow users to download/access some applications only.

    We plan to publish this on the combined user thorugh BES. Can someone tell me where can I get the Installer (alx and COD) for Facebook and Twitter. Also, is it safe to use these files in the installation of the company, I want to say there is no problem right?

    Thank you.

    Kind regards

    Ashish

    Hi Ashish,

    Glad to hear that you have consulted with your BES administrator. Have you tried to ask the BES Admin giving you temporary credentials to get the files you need.

    If this is not possible, continue and then talk with your BES administrator to find the files for your POC on Facebook and Twitter. Please follow the steps as your Admin BES asks you to do (if given by Admin).

    Hope this helped and please tell me if you have any other questions!

    Kind regards
    Adam

  • IKM SQL for Hyperion Essbase (metadata) - problem when you dial the name of the Member

    Hello world

    I need to load the metadata to Essbase to a relational database.
    Essbase: 9.3, Oracle 9i, ODI 10.1.3.5.0
    I have a dimensional table contains the data in the Scenario dimension. The table has 3 columns: code, alias, consolidation.
    Example of 2 lines:
    Effective law-
    BDG budget-

    I created a rule file load_scn.rul to update the scenario dimension in my essbase cube and at the launch of the console of administration services it does not work. Each Member has his alias and it is sign of such consolidation as specified in the table.

    In ODI
    I created an essbase data store, a data store for my table and an interface. The interface uses the knowledge "IKM SQL for Hyperion Essbase (metadata)" module and the load_scn.rul of State of charge.
    When I run the interface, it will end successfully, but when I check the Essbase outline, the two members were loaded with the name of name of Member composed of all 3 columns in the table dimensional as a single string line!
    I have a member named ' law, real, + "and another called ' bdg, budget,-'."
    Members have no alias and peacebuilding is the default ('+') and not '-' as shown in the dimensional table.

    Has anyone of you had this problem? If so, how to solve it?

    Any help will be very appreciated!
    Daniela

    Sounds like in the rule under load in the IKM options you have to have the separator rules comma value and data > defined in the tab, replace it with commas in the rule of data source properties.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Configuration of SQL 2008 R2, Enterprise Edition for vCenter Server 5.1

    Greetings to all seasons.

    Kind of a newbie here. That's my lab environment.

    I have always used the vCenter Server install Simple option that also installs the shipped Microsoft SQL 2008 R2 Express edition.

    Now, I do an eval of vSphere 5.1 and I want to manually configure a database server using the Microsoft SQL 2008 R2 Enterprise Edition.

    I know how to install the database server and it works. But I do not know how exactly set up a database for vCenter Server.

    I looked at the guide Configuration / Installation of vSphere and I don't seem to be able to follow the preparation vCenter Server databases section, because I'm not a person to the database. Y at - it any other guide or a blog, I can follow? I searched a lot and found everything I was looking for. Thought I would ask here.

    Here are the virtual machines I have.

    Lab - DC1 (domain controller)

    Lab - DC2 (domain controller)

    Lab-SQL1 (SQL 2008 R2, Enterprise Edition)

    Lab-SQL2 (SQL 2008 R2 Enterprise - subsequently configure failover clustering)

    Lab-VC1(vCenter Server 1)

    Any help is appreciated!

    Happy holidays.  Here is a link to another site with a nice installation guide for SQL 2008 for VMware.  Version 4.x, published in lonesysadmin.net was very helpful, so I'm sure that the 5.x update (have not read through it again) must be all too packed with useful tips.

    http://lonesysadmin.NET/2011/10/06/how-to-install-Microsoft-SQL-Server-2008-R2-for-VMware-vCenter-5/

  • Can I use Sysinternals Suite free in my for-profit enterprise?

    Can I use Sysinternals Suite free in my for-profit enterprise?

    Thank you

    Richard Pietsek

    E-mail address is removed from the privacy *.

    Richard

    You're poorly understand the function of the Microsoft Answers forums.

    The forums are a facility made available by Microsoft to allow experienced users and those requesting assistance to exchange information, solutions and advice. The majority of the contributors have no connection with Microsoft, but there are a number of Microsoft support engineers. You will also encounter Microsoft Valued Professionals, who are computer professionals whose skills and expertise have been recognized by Microsoft, but they remain independent of Microsoft.

    Posted in these forums, you can understand that you don't speak most of the time directly to Microsoft or to the employees of Sysinternals. I'm not expecting a Microsoft Support Engineer to say much more than what is said in the link I provided in my previous message.

    You will find the Systernal community and the forums here:
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb469929

  • OutOfMemoryError: Limit superior GC exceeded when loading directly the source using IKM sql for sql. Growing ODI_MAX_HEAP do not solve the problem.

    OutOfMemoryError: GC overhead limit at execution a loading interface directly sql for sql with no work table.

    I get the error message: error: exception OutOfMemoryError: higher GC limit exceeded when executing an interface making a direct using IKM SQL for SQL command load Append, source a 150millions lines table.

    I have increased the ODI_MAX_HEAP and the interface run longer and failed. I'm already at: ODI_MAX_HEAP = 12560 m I tested with ODI_MAX_HEAP = 52560 m and still error.

    I am following up to the memory of the server and I still have available memory...

    Apart from the problem of memory I know that this type of load should be possible because the step of data load on LKM SQL to Oracle is able to load the work table $ CAN. Ideally, I want to emulate this behavior by using SQL for SQL IKM.

    1 - What is the right path to follow here? (change the parameters of memory or modify the IKM?)


    2 - ideas on how to solve the OutOfMemoryError: GC overhead limit exceeded error? (GC means Garbage Collector)

    Execution of the IKM interface in the Simulator generates this code:

    Load (Source) command:

    Select

    source - tbl.col1 COL1,

    source - tbl.col2 COL2,

    source-tbl. "' COL3 ' COL3

    of public.source - tbl AS source-tbl

    where

    (1 = 1)

    Default command (Destination):

    insert into the source-tbl

    (

    col1,

    col2,

    COL3

    )

    values

    (

    : COL1,.

    : COL2.

    : COL3

    )

    My experience is very limited with ODI so I don't know about changing the code to the KMs

    Thanks in advance.

    Find a work around the error of generals limit exceeded GC:

    -in my case I was running without the IDE so that changes made to the odiparams.sh were not useful.

    -This means that I need to change the JVM settings to:

    $ODI_HOME/oracledi/client/odi/bin/odi.conf

    AddVMOption - XX: MaxPermSize = NNNNM

    $$ODI_HOME/oracledi/client/ide/bin/ide.conf

    AddVMOption - XmxNNNNM

    AddVMOption - XmsNNNNM

    Where NNNN is a higher value.

  • Can I use acrobat 7.0 pro for enterprise SME?

    Hello

    We want to use acrobat 7.0 pro in our company. The link is https://www.adobe.com/cfusion/entitlement/index.cfm?pid=2026489 & e = cs2_downloads where I downloaded.

    I read the license for this term. I found no political license for small business. This product is free for anyone?

    Please answer to me.

    Thank you!

    -Matthew-

    you are welcome, but no, acrobat 7 cannot legally be used by users not allowed for awhile.

    and while there are adobe non-courants trial versions available to some versions for acrobat, version 8 is the oldest available trial version.  so you can legally download and use (for 30 days) without license acrobat versions 8, 9, X and the current version XI.

    acrobat 7 pro software that adobe makes available is legal to use by the owners of license acrobat 7.  It is not legal to use for 30 days, or any other period (limited or otherwise), to unauthorized users.

  • Deployment of SQL Server 2008 Enterprise (64-bit)

    Is it possible to deploy SQL Server 2008 Enterprise (64-bit) on the virtual machine (using vmware workstation 8) running windows server 2003 as a guest operating system?

    Since then, Miicrosoft says "SQL Server 2008 is supported in environments of VMS running on the Hyper-V role in Windows Server 2008 R2 and Windows Server 2008 Standard, Enterprise and data center."

    If necessary please refer to the following link http://TechNet.Microsoft.com/en-us/library/ms143506 (SQL.100) .aspx

    Grateful for your help!

    For the test, you can use the Windows 2008 R2 trial version. Tracks for 180 days. I don't remember that you actually have a Windows 2003 64 biit as a trial version. So I am doing all my tests with the final tests of Microsoft (Windows Server 2008 R2, Windows 7 and the application server).

  • Add a class or package in PL/SQL

    Hello

    How can I add a package or class when I used this in PL/SQL. where can I put the classpath for
    edu.sz... That is to say

    CREATE OR REPLACE AND COMPILE JAVA NAMED 'MyApplication' AS SOURCES
    Edu.sz.ie import. *;
    Edu.sz.ie.bw import. *;
    import java.util.List;
    import java.io.IOException;

    concerning
    Wael

    Hello:
    All the classes necessary to compile your code should be downloaded first using loadjava to the schema of the user or a shared schema, except the classes that are part of libraries JDK1.5 If you use database 11 g, for example the java.io package.
    Once you have downloaded your .jar files that includes your .edu code package will be prepared and resolved OK.
    Best regards. Marcelo.

  • Can not see the package body in SQL Developer version 3.1

    Hello

    Have walked the boards and google for that matter for some time now. I think I found the problem, but would like to if there is a work around.

    Problem:
    I'm unable to view packages, procs, VIEWS DOF, etc. of other users. When one of my colleagues use Toad, with the EXACT same connection ID and the parameter, they are indeed able to see all the source code...

    What I found:
    Looking around, apparently Toad and SQL Dev work in different ways. Toad a use apparently DBA_SOURCE and DBA_OBJECTS to generate everything.
    SQL Dev using package META_DATA to retrieve everything. In addition, in order to use the package meta_data, I need the catalog of grant role, or something like that.


    Is it possible to set up the SQL Developer to use the same method as the toad to get the code? It is a fact that I WILL NOT receive the catalogue by the DBA permission... I can write the
    Select the text from DBA_SOURCE where OWNER = 'OWNER' and NAME = 'OBJECT NAME';

    But I would rather just be able to use the nodes in the tree and click on the objects to generate all this. Anyone know of any setting for this?

    Hello

    No doubt Developer SQL wants to be competitive with the Toad, but in terms of raising red flags on the inconsistencies in the basic features, any difference from SQL * Plus would be more surprising than Toad.

    DBA_SOURCE and DBA_OBJECTS are synonymous publicly available in any standard Oracle installation, but you also get to PICK ANY DICTIONARY to get the maximum benefit from them. Which will display the code in the schema of another user without having a privilege explicit (such as EXECUTE) on a function/procedure/package.

    If you already have privileges (SELECT ANY DICTIONARY, or EXECUTE or DEBUG on specific executable objects), and the Code tab is empty, you will need to provide a test case, according to Vadim.

    With respect to cases where the SQL Developer uses DBMS_METADATA, my understanding is that the API relies on the SELECT_CATALOG_ROLE privilege, if a user has or otherwise have a granted privilege explicitly on an object. Developers like to use this API in the extent possible instead to write a script that could break or need maintenance to deal with future versions of the Oracle database.

    I have no idea how works the Toad, and probably I should not speculate, but here's a scenario that might explain the case you mention without that user of connection with one of the above privileges. Let's say that the client software of Toad calls a PL/SQL package that selects from DBA_SOURCE and is installed in a pattern that has the privilege to CHOOSE ANY DICTIONARY. All users of Toad are granted EXECUTE on this package and therefore inherit SELECT ANY DICTIONARY in the execution of the package. It will work, but at the cost of complicating the installation of Toad. Also, he is not giving them a precise control of metadata security administrator.

    Kind regards
    Gary
    SQL development team

  • SQL for FLEX on the Internet

    Hi all

    I'm looking for some advice on technology I should look for the SQL Server 2008 database in my Adobe Air application. I'm not a programmer by trade, but some experience in VB, c# and now Actionscript/MXML & .NET. I get really well up to now with Flex Builder but have reached the stage where I need to retrieve data from a SQL Internet box. I had limited success with WSDL, return the single variables but experience a known bug in Flex trying to generate the required classes to pull in the tables .NET data or data sets. According to the following criteria, can someone tell me areas/technologies that I should look at?

    1. back-end server - currently a single Windows Server 2008 Standard with IIS and SQL 2008 Standard. Intention is to separate and to provide the redunancy using a pair clustered SQL boxes and separated from the IIS servers to host the SOAP services.
    2. customer - running Adobe Air, must authenticate using a username that is stored locally. The authentication server should also carry out inspections on the IP address of the client.
    3. all communications between the client and the server must be secured.
    4. on the first connection to the server, the client will be forced to read in about 10 small tables, the more important that with up to about 500 lines of string variables (that is, no data of big picture / binary worry)
    5. Subsequently, the customer will have to check-in for updates as often as possible - at least once every 15 seconds. Updates would often be 0-10 lines and never more than 200.
    6. the potential to evolve up to nearly 2,000 customers.

    If you have any questions please ask away. From what I've read so far, WSDL can be slow and inappropriate. I've seen Enterprise Services mentioned but not really sure what is even. Must do more reading.

    Any help and advice, reading etc URLs greatly appreciated.

    Thanks in advance, Dustin.

    Consider the data encoding in AMF format before sending to the client. This point compares several approaches to data communication, the best performance was achieved with the AMF (Select "Flex AMF - 5000 lines" menu drop-down):
    http://www.jamesward.com/census/
    "The reference of the Flex AMF makes a RemoteObject request to the server to 5000 lines. The server serializes the data in the format of the AMF. Financial market authority are a format of binary object for ActionScript objects in the Virtual Machine Flash. The customer gets the data of the AMF over HTTP, he shoves in memory, then updates the DataGrid with the 5000 lines. The DataGrid control supports client-side sorting.

    Results:
    On all points of reference AMF is by far the fastest and smallest through the wire. There is almost no time analysis because the objects are already as objects (instead of XML or another representation of object based text). Render time is also extremely fast due to the Flash, Mozilla Tamarin JIT had VM. If you try the sort you will again see the performance of the virtual machine. Note that sorting is faster in the reference of the AMF in the E4X reference because the objects are of type objects rather than objects XML."

    This message contains the benefits of AMF and the code example:
    http://Flex.sys-con.com/node/468744

  • Help with Sql for the annual report by month

    Hi, I got the task of creating an annual report each month that shows the benefits of the enterprise by month and total in the last column to show what branch was the hightest income.
    Branch | January | February | March | April | Can | June... | Total |
    ABC | $0.00 | $0.00 | $0.00 | $0.00 | $0.00 | $0.00 | Total of the Amt |
    DEF | $18.01. $3.88. $18.01. $4.12 | $18.01. $3.97 | Total of the Amt |

    Can someone please help me give an idea of how to write sql for this report... ? I build subqueries for everymonth giving dates for Jan/Feb/March... but I think that this is not the right way to do it...
    -----------------------------------------------------------------------------------------------------------------------
    SELECT
    Sum (a.Commission) December,
    Sum (b.Commission) November
    Of
    (
    Select
    c.account_ID,
    c.Officer,
    c.account_product_class_id,
    Sum (c.dp_monthly_premium) Commission
    Of
    c contract
    Where
    c.account_ID = 109 and
    c.Status = 'APPROVED' and
    c.protection_effective between December 1, 2009 "and on December 31, 2009"
    Group by
    c.account_ID,
    c.Officer,
    c.account_product_class_id
    ),
    (
    Select
    c.account_ID,
    c.Officer,
    c.account_product_class_id,
    Sum (c.dp_monthly_premium) Commission
    Of
    c contract
    Where
    c.account_ID = 109 and
    c.Status = 'APPROVED' and
    c.protection_effective between November 1, 2009 "-November 30, 2009"
    Group by
    c.account_ID,
    c.Officer,
    c.account_product_class_id
    ) b
    -----------------------------------------------------------------------------------------------------------
    I always hight hope this forum. So please help. Thanks in advance.

    Published by: Aditi_Seth on January 26, 2010 14:29

    You may reach the columns using decode:

    Select sum (decode (to_char (c.protection_effective, 'MM'), 1, c.dp_monthly_premium, 0)) January
    , sum (decode (to_char (c.protection_effective, 'MM'), 2, c.dp_monthly_premium, 0)) February

    etc.

    At least, this will improve efficiency, because you need only make one pass.

    no guarantee that the media are quite right - I did not execute the query, but I think that you should get the idea!

  • Error [PLS-00103: encountered the symbol "CREATE"] using PACKAGE

    Hi guys!
    When I compile this package, I get this error:
    PLS-00103: encountered the symbol "CREATE".

    How can I solve this problem?
    The compiled code is below:


    CREATE OR REPLACE
    PACKAGE CAMPO_PACK AS

    TYPE T_CURSOR IS REF CURSOR;

    PROCEDURE DeleteCode (OSDP NUMBER);

    END CAMPO_PACK;
    -body-
    CREATE or REPLACE PACKAGE BODY CAMPO_PACK as

    PROCEDURE DeleteCode(pCod NUMBER) AS
    BEGIN
    DELETE FROM campo
    WHERE cod = OSDP;
    END DeleteCode;

    END CAMPO_PACK;


    Thanks for the help,
    Anderson



    Published by: user8723300 on 08/13/2009 17:03

    Published by: user8723300 on 08/13/2009 17:04

    I use Oracle SQL Developer

    I know very well of this tool.

    The packet header and body are two separate objects and must be compiled separately. I suspect that the package body is somehow have included in package header and Developer SQL tries to compile all of these at once. You must understand how to compile the header first, then the body. Your code compiles if I use sqlplus. I had to first create the table, so I have included a slash (/) after the packet header and the other after that body. The slash tells sql more to run the buffer (in this case, to compile the object).

    SQL> create table campo (cod number);
    
    Table created.
    
    SQL> CREATE OR REPLACE
      2  PACKAGE CAMPO_PACK AS
      3
      4  TYPE T_CURSOR IS REF CURSOR;
      5
      6  PROCEDURE DeleteCode(pCod NUMBER);
      7
      8  END CAMPO_PACK;
      9  /
    
    Package created.
    
    SQL> CREATE OR REPLACE PACKAGE BODY CAMPO_PACK AS
      2
      3  PROCEDURE DeleteCode(pCod NUMBER) AS
      4  BEGIN
      5  DELETE FROM campo
      6  WHERE cod = pcod;
      7  END DeleteCode;
      8
      9  END CAMPO_PACK;
     10  /
    
    Package body created.
    

    If I remove the slash after the package header, sql more trying to compile all this at once, and I get the same error you get:

    SQL> CREATE OR REPLACE
      2  PACKAGE CAMPO_PACK AS
      3
      4  TYPE T_CURSOR IS REF CURSOR;
      5
      6  PROCEDURE DeleteCode(pCod NUMBER);
      7
      8  END CAMPO_PACK;
      9
     10  CREATE OR REPLACE PACKAGE BODY CAMPO_PACK AS
     11
     12  PROCEDURE DeleteCode(pCod NUMBER) AS
     13  BEGIN
     14  DELETE FROM campo
     15  WHERE cod = pcod;
     16  END DeleteCode;
     17
     18  END CAMPO_PACK;
     19  /
    
    Warning: Package created with compilation errors.
    
    SQL> sho err
    Errors for PACKAGE CAMPO_PACK:
    
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    9/1      PLS-00103: Encountered the symbol "CREATE"
    
  • Casting table PL/SQL for the type of existing table and back ref cursor

    Hello



    I have the problem of casting a pl/sql table for the type of an existing table and turning the ref cursor to the application. Casting a ref cursor back and number of pl/sql table works well.



    Declarant

    < strong > TYPE type_table_name IS TABLE OF THE package_name.table_name%ROWTYPE; < facilities >

    within the stored procedure, fill in a table of this type temp_table_name and returning the ref cursor help

    < strong > results OPEN to SELECT * FROM TABLE (CAST (temp_table_name AS type_table_name)); < facilities >

    generates an error. type_table_name is unknown in this distribution. According to me, this happens because of the declaration of the type locally.



    Statement type_table_name inside the package specification does not work neither. Incredible, cast to the said dbms_sql.number_table to specify ref cursor back and dbms_sql package works very well!



    < strong > CREATE TYPE type_table_name IS TABLE OF THE package_name.table_name%ROWTYPE; < facilities > deals without any error but creates an invalid type complain a reference to package_name.table_name



    I don't want to declare every column in the table in type_table_name, because any change the table_name table would result in an inconsistent type_table_name.



    Thanks in advance!

    Edited by: user6014545 the 20.10.2008 01:04

    In any case you are right that there is a problem around anchorage (or maintaining) types of objects persistent to match the table structures, they may represent.

    In the case you describe, you might be better off just open the refcursor immediately the using one of the techniques described in the http://www.williamrobertson.net/documents/comma-separated.html to manage the delimited list.

    In the more general case where the line of treatment is necessary, you may make the pipeline functions.

    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    
    SQL> CREATE TABLE table_name
      2  AS
      3     SELECT ename column_name
      4     FROM   emps;
    
    Table created.
    
    SQL> CREATE OR REPLACE PACKAGE package_name
      2  AS
      3     TYPE type_name IS TABLE OF table_name%ROWTYPE;
      4
      5     FUNCTION function_name_pipelined (
      6        parameter_name IN VARCHAR2)
      7        RETURN type_name PIPELINED;
      8
      9     FUNCTION function_name_refcursor (
     10        parameter_name IN VARCHAR2)
     11        RETURN sys_refcursor;
     12  END package_name;
     13  /
    
    Package created.
    
    SQL> CREATE OR REPLACE PACKAGE BODY package_name
      2  AS
      3     FUNCTION function_name_pipelined (
      4        parameter_name IN VARCHAR2)
      5        RETURN type_name PIPELINED
      6     IS
      7     BEGIN
      8        FOR record_name IN (
      9           SELECT table_alias.*
     10           FROM   table_name table_alias
     11           WHERE  table_alias.column_name LIKE parameter_name) LOOP
     12
     13           PIPE ROW (record_name);
     14        END LOOP;
     15
     16        RETURN;
     17     END function_name_pipelined;
     18
     19     FUNCTION function_name_refcursor (
     20        parameter_name IN VARCHAR2)
     21        RETURN sys_refcursor
     22     IS
     23        variable_name sys_refcursor;
     24     BEGIN
     25        OPEN variable_name FOR
     26           SELECT table_alias.*
     27           FROM   TABLE (package_name.function_name_pipelined (
     28                     parameter_name)) table_alias;
     29
     30        RETURN variable_name;
     31     END function_name_refcursor;
     32  END package_name;
     33  /
    
    Package body created.
    
    SQL> VARIABLE variable_name REFCURSOR;
    SQL> SET AUTOPRINT ON;
    SQL> BEGIN
      2     :variable_name := package_name.function_name_refcursor ('%A%');
      3  END;
      4  /
    
    PL/SQL procedure successfully completed.
    
    COLUMN_NAME
    -----------
    ALLEN
    WARD
    MARTIN
    BLAKE
    CLARK
    ADAMS
    JAMES
    
    7 rows selected.
    
    SQL> ALTER TABLE table_name ADD (new_column_name VARCHAR2 (1) DEFAULT 'X');
    
    Table altered.
    
    SQL> BEGIN
      2     :variable_name := package_name.function_name_refcursor ('%A%');
      3  END;
      4  /
    
    PL/SQL procedure successfully completed.
    
    COLUMN_NAME NEW_COLUMN_NAME
    ----------- ---------------
    ALLEN       X
    WARD        X
    MARTIN      X
    BLAKE       X
    CLARK       X
    ADAMS       X
    JAMES       X
    
    7 rows selected.
    
    SQL>
    

Maybe you are looking for

  • How can I get Ghostery off Firefox - I'm sick of the purple box?

    I installed this, didn't like and now I can not understand how to get rid of. It does not appear on the list of the control panel.

  • Forgotten ID Apple or deleted e-mail address

    I have to give you the full story so that you can understand what happened. I broke my iPhone screen 5 a year ago. I used another phone since then, but today, I finally decided to repair it. At the time when my father it was a service guy, but it did

  • Mini 1110NR: locked HP Mini

    Gifted with a HP 1110NR Mini of my nephew, but it starts with a password only. System stops with CNU90217KY How to do after that, and how to reset or remove the password, so it's not doing this again? Thank you John

  • How to install WXP in Satellite A205-s5859?

    Hello I have a laptop Toshiba Satellite A205-s5859 new (US series), and my laptop was completely done by virus so I just want to install Windows XP instead of Windows Vista which is now experiencing in my laptop and wants to make a new partition. Whe

  • Loading the default limits for each execution

    Hello My situation is like this: I spend my sequence using the sequential model. Usually, the sequence is executed, 'in the loop', which means that when once the sequential model is launched, we can test unit after unit until we want to put an end fo