Procedure to another procedure call, how to extract values

I have couple of procedure in a package and I try to call proceedings in procedureb.
 TYPE T_CURSOR IS REF CURSOR;
 PROCEDURE ProcedureA (acct IN number, o_cur OUT T_CURSOR)
 AS
 BEGIN
      Open o_cur for
       SELECT A, B, C, D, E, F FROM DEMO;
       
 END ProcedureA
 
 PROCEDURE ProcedureB (param1 IN number, param2 IN number)
 AS
 get_cursor                 T_CURSOR;
 BEGIN
 
 ProcedureA(111, get_cursor);
 
 END;
How to extract the values of proceedings in ProcedureB? And also I want to get only columns A and B in ProcedureB.

>
How to extract the values of proceedings in ProcedureB?
>
Try something like this

TYPE rectype IS RECORD (colA  demo.a%TYPE, colB demo.b%TYPE    );
     rec1  rectype; 

LOOP
  FETCH get_cursor   INTO rec1;
  EXIT WHEN get_cursor%NOTFOUND;
        DBMS_OUTPUT.PUT_LINE(rec1.colA);
     END LOOP;
       DBMS_OUTPUT.PUT_LINE('end test'); 

Tags: Database

Similar Questions

  • Another REGEXP question: how to extract multiple values from a string

    Hi, how can I retrieve multiple values to a string with RegExp with Oracle SQL constructs?

    Have looked at the various examples, I cannot understand this.
    the following Sql code
    select
       regexp_substr(sessie."rollen", 'CN=A_role') "A_role"
       from ( 
    select '
    CN=A_role,OU=a_org_unit,OU=another_org_unit,DC=bz,DC=ad,DC=min,DC=local
    CN=Another_role,OU=some_org_unit,DC=bz,DC=ad,DC=min,DC=local
    CN=Users,OU=Dep,DC=bz,DC=ad,DC=min,DC=local
    '   "rollen" from dual
    ) sessie;
    Returns CN = A_role.
    I want him back all of the CN = concatenated values with a semicolon and stripped of the CN = bit.
    So: A_role; Another_role; Users .

    Any help would be much appreciated. Here I use database 11g 11.2.0.2.0.

    Does anyone have an idea how to do this in SQL?

    best regards Mike

    Hello
    If using Oracle 11 g

    with tst
      as (select   'CN=A_role,OU=a_org_unit,OU=another_org_unit,DC=bz,DC=ad,DC=min,DC=local,'
                 ||'CN=Another_role,OU=some_org_unit,DC=bz,DC=ad,DC=min,DC=local,'
                 ||'CN=Users,OU=Dep,DC=bz,DC=ad,DC=min,DC=local' as rollen
            from dual
          )
    select listagg(sub, ',') within group (order by rn) as res
      from (select regexp_substr(rollen, '(CN=)([[:alnum:]_]+)',1,rownum,'i',2) sub, rownum rn
              from tst
           connect by level <=length(rollen)
           )
     where sub is not null       
    
  • How to extract values of classic report column in the text element

    Hi all

    I've created a classic report (select id, name,' < input type = "button" value = "add" id = "add" name = "add" > "as" add details "details ;) with a single column as column values want link.i in the text element when I click on the link of that particular record of the report)

    (1) in the link this link column property I've specified the URL as [javascript:insert_in_table(#ID#,#NAME#)]

    (2) text two article P_ID, P_NAME

    (3) in the header of the page, I've specified as javascript

    < script type = "text/javascript" >

    function insert_in_table (id, name) {}

    var regId = ' #detail #'.substr (1);

    var req = new htmldb_Get (not null, $v ('pFlowId'), 'APPLICATION_PROCESS = add', $v('pFlowStepId'));

    Req.Add ('P_ID', ID);

    Req.Add ('P_NAME', Name);

    forced. GetAsync (function () {}

    If {(p.readyState is 4)

    $a_report (regId);

    }

    });

    }

    < /script >

    (4) created a (add) process whose point: on demand, run this process when requested by ajax

    pl/sql: insert into name_detail (id, name) values (: P_ID,: P_NAME)

    now the problem is I m not getting the values of column in the report in the text element, it only shows white.

    Kind regards

    Ketan

    Hello Ketan,

    Assuming that you want to insert the values into the table, this is why you want to set values for the element,

    If this is the case, then no need to define values for the element to insert.

    Follow the steps below, it is one of the embodiment of your condition.

    Step 1: Put the code below in your classic report query

    assuming that the id is of type number and the name is of type varchar, that's why I am attaching the name to apostrophe, see line 3

    select id
         , name
         , ''  as "Add to detail"
    from detail
    

    Edit 'Add details' column-> column attributes-> view-> column of Standard report

    Step 2: Create a process in the processing of the Page

    Name: INSERT_DATA

    Address the point: on demand, run this process when requested by ajax

    Process: putting the code below

    Declare
      P_ID number ;
      P_NAME varchar2(50);
      Begin
          P_ID   := apex_application.g_x01;
          P_NAME := apex_application.g_x02;
          insert into name_detail(id,name) values (P_ID,P_NAME);
    End;
    

    Step 3: Create a java script function to call your insert ajax process.

    Change the Page-> the function and the global variable declaration-> put the code below

    function insert_in_table(id,name) {
      apex.server.process ( "INSERT_DATA", {
          x01: id,x02: name
      }, { success: function( pData ) { }
      });
    }
    

    Hope this helps you,

    Kind regards

    Jitendra

  • How to extract data from the APEX report with stored procedure?

    Hi all

    I am doing a report at the APEX. the user selects two dates and click on the GO button - I have a stored procedure linked to this region of outcome for the stored procedure is called.

    my stored procedure does the following-

    using dates specified (IN) I do question and put data in a table (this painting was created only for this report).

    I want to show all the data that I entered in the table on my APEX report the same procedure call. can I use Ref cursor return? How to do this?

    Currently, I use another button in the APEX that basically retrieves all the data from table. Basically, the user clicks a button to generate the report and then another button for the report. which is not desirable at all :(


    I m using APEX 3.1.2.00.02 and Oracle 10 database.

    pls let me know if you need more clarification of the problem. Thanks in advance.

    Kind regards

    Probashi

    Published by: porobashi on May 19, 2009 14:53

    APEX to base a report out of a function that returns the sql code... Your current code goes against a Ref cursor returns the values...

    See this thread regarding taking a ref cursor and wrapping it in a function to channel out as a 'table' (use a cast to cast tabular function vale)...

    (VERY COOL STUFF HERE!)

    Re: Tyring to dynamically create the SQL statement for a calendar of SQL

    Thank you

    Tony Miller
    Webster, TX

  • Remote procedure call (RPC) - how can I determine if a person has been access to my system remotely? I think someone is.

    I think that my computer is accessed remotely, files and emails being read. I disabled remote access in the Services section and have also disabled Mobile Sync; I did not use one of these services.

    When I took the remote procedure call (RPC) service and open the properties, the logon tab has the section "This account" clicked, "Network Services" typed in the box and a password. I can't change anything on this tab properties. I can't disable the service or disable the 'unattached profile '. How access to this service to make changes and more importantly, how can I confirm that someone logging into my system to remote and checking e-mails, files, etc.. This isn't a networked system, it's my computer in my home office. I am running Vista Ultimate.

    Thanks in advance for your help anticiapted.

    Hello

    Ultimate also has group policies that you can set to lock the machine - GPedit.

    Management of Windows Vista Group Policy (part 1) - see links to part 2 and 3
    http://www.windowsecurity.com/articles/managing-Windows-Vista-Group-Policy-part1.html

    Don't forget someone might access your email on the server, so do not forget to set a new password.
    As someone else has physical access to the computer?

    System Services stop isn't really the best/correct method to ensure safety.

    1. make sure that the system is free malware:

    Do a thorough check of the malware as no program detects and removes everything. Easy to find addition
    Malware is often accompanied by more difficult to discover and remove the payloads. Better to be cautious
    now that suffer the consequences later.

    It can be made repeatedly in Mode safe - F8 tap that you start, however you must also run them
    the Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    =======================================
    =======================================

    2 configure security - get a router with a built-in hardware firewall to add to your safety.

    Check with your router manufacturer and their forums because they usually have great information.

    Better to use WPA/WPA2 security if they are available and you can hide the SSID that will help
    help others to see the network (note on some routers more hide the SSID)
    causes of connection problems and if they find out the name he is more useful).

    Wireless network general recommendations of security for individuals
    http://theillustratednetwork.MVPs.org/LAN/SoHoWirelessSecurity.html

    Introduction to wireless network security
    http://netsecurity.about.com/od/Hackertools/a/aa072004b.htm

    10 tips for Wireless Home Network Security
    http://compnetworking.about.com/od/wirelesssecurity/TP/wifisecurity.htm

    Securing your wireless network
    http://www.practicallynetworked.com/support/wireless_secure.htm

    How to secure your router Linksys Wireless - similar can be used for other routers
    http://www.pctipguys.com/index.php?option=com_content&task=view&ID=57&Itemid=36

    What are the different wireless network security methods?
    http://windowshelp.Microsoft.com/Windows/en-us/help/b385cc8a-AF25-489e-a82e-decf6df26b681033.mspx#EZB

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • The remote procedure call failed and did not run + user problem?

    Good so I have a Sony VAIO with Windows 7 Home Premium 64-bit, 4 GB RAM and 640 GB hard drive. During his first installation, VAIO asks you to name your computer so I called him "CARINA" and everything worked perfectly.

    However, we wanted to change the main username in the 'OSCAR', so I went to the control panel > users and this has changed. I thought that everything was great, because when I open the Start Menu, top-right, he says "OSCAR". After more research in the area of research, two things appears under the name 'CARINA': a 'user profile', I think, who had a small square color sky-blueish. and a folder with a lock on it. I tried clicking on the user 'CARINA' first profile, and it just opened what, in my view, is a Properties window 'CARINA '.

    But when I clicked on the folder "CARINA" with a lock, it opened my libraries. But get this: at the top, he said not "CARINA", but "OSCAR". I thought it was odd he did that so I told the computer to delete the folder with the lock named 'CARINA '. As soon as I realized it was a huge file and a gazillion files were there (real libraries), I canceled it, he wants to immediately restore the Recycle bin. But nothing appears on the trash, or I can't enter either because an error saying "the remote procedure call failed and did not execute".

    But the mistake has been made and now it does not work. The Start Menu appears, but I can't click on anything or use the search box. When I click on my library of records, the same message appears ("the remote procedure call failed and did not execute") or when I enter 'Open action center', he said ': {266EE0668-A00A-44D7-9371-BEB064C98683}\5\::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB...» The remote procedure call failed and did not execute. " Programs on my toolbar work, such as Chrome or Windows Media, or I can change the volume with the icon in the lower right, but I can not enter in 'Computer', my libraries, or anything else. When I open the the TASK Manager, under processes, they are all under the name CARINA. If I stand on the top of the "explorer.exe" process, and I do a right-click on top of CARINA > properties > Security > there are 4 listed users:

    • SYSTEM
    • Administrators (CARINA-VAIO\Administrators)
    • Users (CARINA-VAIO\Users)
    • TrustedInstaller

    The computer has a backup (if I have a backup of an another VAIO Windows 7 Home Premium 64 - bit if necessary) and I'm afraid to stop in case it does not start again. :(

    Any help? What can I do?

    Hello

    Method 1:

    Follow the steps mentioned below.

    (a) type services in the start menu search box.

    (b) in Services, scroll down to "Remote Procedure Call", and make sure the status 'Started' and set to automatic.

    (c) the second "RPC Locator' must be set to"manual ".

    Method 2:

    I suggest you to scan SFC. Scan SFC will be scans all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Note:
    I suggest you check manage user accounts to check how many user accounts are present.

    a. Click Start.
    b. go to the control panel.
    c. click user accounts and family safety, and click on user accounts.

    Check how many accounts user is present.

    Method 3:
    I suggest you to create the new user account and check if the problem persists.

    Create a user account
    http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account

    If everything works well in the new user account, then I suggest you to transfer data and settings to the fixed aid corrupt profile.

    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-in/Windows7/fix-a-corrupted-user-profile

  • With the system monitor position load raised by deferred procedure calls (DPC)

    After starting my E540 Thinkpad with an external monitor connected, a core is busy with (DPC) 50% deferred procedure calls and it works continuously to the clock speed of 100% (2.2 GHz). See the image below.
    After disconnect / reconnect the cable HDMI system load down close to 0% and the clock at about 40%, as it should.

    It looks like a driver problem.

    How to reproduce it:
    (1) the monitor is connected via HDMI, then turn on the Thinkpad opening shortly the Thinkpad.
    (2) after identifying, Manager tasks shows the 50% load to the base, the resource monitor shows that any load is consumed by deferred procedure calls and that the clock is always at 100%.
    (3) open the Thinkpad and unplug the HDMI cable. The load goes down to almost zero and the clock less than 50%, as it should.
    (4) plug the HDMI cable and the load remains at near zero.

    A few details:
    ThinkPad E540, i7-4702MQ, 8 GB, screen resolution 1920 x 1080
    Monitor HP LP2275w, resolution 1680 x 1050
    Win7 64-bit SP1, update Windows and ThinkVantage systemupdate

    The intel IGP is active (not Geforce 740 M).
    He dealt friezer if except the external screen is activated or the internal and externale are developed or duplicate in the Windows display settings.

    Someone else has the same problem?

    Any ideas what I can do?

    Here you can see:

    Link to photo

    Note of the moderator; image (s) converted into programming on display images in Forums

    Problem solved, with the help (here and here).

    Basically, the solution is the installation of a new graphics driver intel HD 4600 directly from intel.

  • Receive "remote procedure call failed and did not execute" on several files or folders

    I get this error message when you try to open all folders ".  That is to say - 'profile by default', default, computer, administrator and three records under my name.  Also when I try to open the Control Panel, I get...: {26EE0668-A00A-44D7-9371-BEB064C98683} \0 "remote procedure call failed and did not run".

    This leaves me no way to even check the status of all.  Does anyone know why I get this message? And more important still, how can I solve this problem?

    I guess maybe I should say that I have not tried to restart my PC.  I will try that next. But, even if the issues go away, I would really like to hear what caused it.

    Thank you

    Barb Morris

    For memory than usually Service error RPC does not work, but it should always be running and takes an extra effort to stop it if something went haywire somewhere.

    If the Service or the system is not afflicted in other cases restart is a good first move.

    Your mistake could have resembled these examples from my notes:

  • "search query: = services the remote procedure call failed and did not run".

    My computer crashed two days ago and I'm finally home, but whenever I try to open a window of any folder I keep refusing. In particular the main computer folder. One of the error messages I got is the following:

    search query: = services the remote procedure call failed and did not run

    Followed by this one:

    The remote procedure call failed and did not execute.

    I opened the Task Manager and tried to access the services from there, but whenever I do, the Task Manager window freezes.

    How can I fix it, my computer is so slow running and does hardly anything and guard with all freezing orders that I try.

    Hello

    This error generally, if the system is infected with Virus and malware or system files are corrupt.

    Please, try the methods below and check if the problem persists.

    SFC scanner.

    You can read the following Microsoft article to repair corrupted using SFC tool files. Use the System File Checker tool to repair missing or corrupted system files

    Reference: http://support.Microsoft.com/kb/929833/en-us

    If the problem persists, try a run Microsoft Safety Scanner.

    http://definitionupdates.Microsoft.com/download/definitionupdates/safetyscanner/amd64/msert.exe

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Do try the suggestions above and let us know the results.

  • Message: The remote procedure call failed and did not execute.

    Every once in a while when I use the computer, it will completely disconnect from the internet and when I try to open Windows Explorer, I get this message (see image). He cannot do anything with the computer except save if I have a file open. A few minutes after that I get this message, the computer restarts by itself, without warning or anything, it just restarts. I found another thread here who said to do the following:

    Type services in the start menu search box.

    In Services, scroll down to "Remote Procedure Call", and make sure that the status is "started."

    and set to automatic.

    The second 'RPC Locator' must be set to "manual".

    I checked, and the settings seem to be exactly as described above, then it may be that. My computer doesn't seem to have any virus, but I had this problem for some time.

    I appreciate any help with this issue, as I am a student of architecture and use my computer at all times.

    Hello

    I imagine the inconvenience that you are experiencing right now. The steps you did to solve the problem is appreciated. Don't worry, I will help you on that.

    This problem may occur because of corrupted system files.

    I suggest you to follow the steps mentioned below and check the issue.

    Method 1
    Run the System File Checker as is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files. You can see the steps mentioned in the link below to run that.

    Method 2

    Temporarily try to disable the antivirus on the computer program and check if the problem persists. If no problem occurs, you may need to check for updates and firewall settings in the security software.
     
    Note: check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

    I hope this helps. Please write to us if you need further assistance, we would be pleased to help you.

  • "The remote procedure call failed and did not execute." Tried many things, still does not work

    Hello, whenever I try to open a file, the message "the remote procedure call failed and did not execute" appears. I checked that "Remote Procedure Call" began and is on automatic, as well as the RPC Locator is the manual value. I also ran a full system scan of my Norton Antivirus, which picked up nothing.  Can someone please?

    Hello

    You can try to change RPC Locator auto and see if that fixes the problem?

    I recommend that you only perform a scan with the auditor of the filesystem, which will scan your system for missing/corrupted or damaged files and will try to correct them.

    How to run the System File Checker

    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Also, you can run the check disk to find bad sectors that may be present on your system.

    Check your hard drive for errors

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Thank you

    Legaede

  • Not able to connect to Windows 7-"the remote procedure call failed."

    Hello

    Windows never lets an opportunity to prevent the user. I have problems on my lappy staff & problem appeared all of a sudden.

    When I got the system starts, it of not connection & throws the error message "the remote procedure call failed." What ever I do it is not the same error.

    I tried logging in safe mode but is not connect in SafeMode survey the same error.

    Tried to restore to the last successful boot. Same mistake.

    Really frustrating.

    Looks like only option I have is to format the lappy however I have a lot of data in C:\ which are not saved.

    Any help will be much appreciated.

    Kind regards

    Vigni

    I have a lot of data in C:\ which are not saved.

    Unfortunately, it seems that you belong to the large class of PC users who choose not to back up important data, until disaster strikes. Your data is not lost, but the recovery is much more painful than to use an external backup drive. Here are a few options:

    • If it is a desktop PC: connect the hard drive to some other desktop PC, then recover your data.
    • If it is a laptop: remove the hard drive, then put it in a box for disk 2.5 "USB. You can now connect this case for some other PC and recover your data.
    • Start the computer with a bootable Ubuntu CD and its graphic interface allows you to save your files on an external storage device.

    When you are finished, you get a HDD 2.5 "USB and use it for your regular backups (e.g. weekly). You can also store an image of your new installation, you save the trouble of the reconstruction of Windows where you have another accident.

  • When you try to log on, get error - "the system event notification service has no logon. the remote procedure call failed and did not execute. »

    My netbook will not open a session because it can not find a certain file. She won't tell me the file. and when I try to go to safe mode it freezes... is there anyway I can just read another account another point? the message I get is "the system event notification service does not log. the remote procedure call failed and did not execute. "tips anyone? I care is no longer the files it contains. If I could wipe it off somehow to factory settings then would be too cool. his windows 7 starter edition


    Original title: hp netbook to log issue

    You have two options:

    • Perform a factory restore. Check the homepage of the manufacturer for instructions.
    • Start the computer with your Windows XP installation CD, and then follow the prompts. You will have to find the different drivers to match your hardware, for example a driver for SATA hard drive.
  • The procedure call?

    Hello
    That's what I try to do, if you have some context to my problem.

    1. I'm putting some details for a command in a rowtype variable.
    2. I then tries to call a procedure that inserts data in providing this rowtype as a parameter variable.


    My code:

    DECLARE
    order_info mytable % rowtype;
    BEGIN
    order_info.ID: = '1';
    order_info. Name: = "lollipops".
    END;
    /

    create or replace procedure orderinsert (order_info in mytable % rowtype)
    AS
    BEGIN
    INSERT INTO mytable
    values order_info;
    END;
    /





    How do I get this to actually change the fact table? I'm on track for what I'm doing?

    Thank you

    >
    OK sorry I didn't know that he could compile and still be wrong.
    >
    What are you talking about? There's NOTHING wrong with the code of procedure you have posted.

    And there is nothing of syntactically wrong with the code of the anonymous block that you posted. The only thing missing, it's that you NEVER called the procedure.
    >
    Especially because the way that I am asked to do is... I guess that weird because there are easier ways to accomplish the task.
    >
    Yet, what are you talking about? What, exactly, is asked to do?
    >
    So in PL/SQL, you can use SQL, but you cannot combine elements of SQL and PL/SQL in the same statement, they stay separate?
    >
    What do you mean by any of this? Please explain.
    >
    I'm at least correct in declaring the rowtype first, then by assigning values to the columns, then by calling the procedure that the data will be transmitted via the parameter 'in '? Or is there a better way / okay to do that?
    >
    Never I demonstrated just to you when I added the procedure call to the anonymous block that you created?
    >
    If that is correct then I need to just find a way to put these data in the table of my database
    >
    Please explain. The procedure will be "put this data in the table" in your database.

    Almost nothing of what you say in this last answer makes no sense. What, exactly, you try to do?

  • Invalid procedure call

    Answer the question below guys and indicate what the correct option

    Assuming that the procedure exists that one is a valid procedure call?

    (a) RUN check_empname (false);
    (b) check_empname;
    (c) EXEC check_empname();
    (d) check_empname(v_test,100);

    Thanks in advance
    Uraja

    Uvaraja wrote:
    Answer the question below guys and indicate what the correct option

    Assuming that the procedure exists that one is a valid procedure call?

    (a) RUN check_empname (false);

    Valid. For example

    SQL> create or replace procedure FooProc( b boolean ) is begin null; end;
      2  /
    
    Procedure created.
    
    SQL> execute FooProc(false)
    
    PL/SQL procedure successfully completed.
    

    (b) check_empname;

    Valid - if performed from another function or PL/SQL procedure. (it must be wrapped in an anonymous block for the customer call)

    (c) EXEC check_empname();

    Valid. Assuming that the procedure has no signature parameter. For example

    SQL> create or replace procedure FooProc is begin null; end;
      2  /
    
    Procedure created.
    
    SQL> exec FooProc();
    
    PL/SQL procedure successfully completed.
    

    (d) check_empname(v_test,100);

    Valid if the call is made from an other PL/SQL stored procedure or function - assuming that the parameter signature is correct and the variable local v_test passed to the procedure has a data type invalid (or implicit data type conversion is successful).

Maybe you are looking for

  • Home page does not change!

    My home page has changed to http://search.findwide.com/v/10?guid={C764CB4C-DADB-47E9-83F6-A1585921345D} & noredirect = 1.I restored it by default, but the home page does not change.I uninstalled Firefox so that twice but the homepage does not change!

  • I can't find a way to turn off Microsoft Narrator. I do not need/want it. It is so boring.

    Somehow the system Microsoft Narrator has had on my computer, and even if I do have a knowledge of computers, I find anywhere the method to disable this add.

  • Error code 8E5E0147, impossible to get Windows Update to work

    When I try to download windows updates I get the following error code: "8e5e0147" and none of the updates will be installed. I now like 15 important updates. I already searched this forum and other forums of solutions, but none of those I've tried se

  • TrackMania will not work on my Hp Pavilion dv9700

    Hi guys. I have problem with Trackmania Nations on my computer. My computer can not run the game. When I'm in the game it is ultra slow to run what. And when im trying to join a server that's just run anything. I don't understand. I played games like

  • printer Deskjet 920C driver

    I have a Deskjet 920C I need to download a driver.My OS is Vista Home Premium Service Pack 2. This computer is never put on line Internet, and I don't want to do it now. I searched online, but the only drivers I found require a scan, a separate drive