Some procedure can not run,Please help

--Please Help me where is wrong
--The Procedure can be compiler,but can not run
--Maybe there has some wrong with Ref Cursor or dynamic SQL
--Please,Thanks ver much
--Follow is my full code
Create or Replace package ref_types
AS
TYPE ref_cursor is REF CURSOR;
End;
Create or Replace package userinfo as
procedure Get_usermenu (baduser out boolean,
menu out ref_types.ref_cursor
End;
Create or Replace package body userinfo as
procedure Get_usermenu (baduser out boolean,
menu out ref_types.ref_cursor
) is
v_sqltext varchar2(100);
v_sql varchar2(300);
begin
baduser:=FALSE;
v_sqltext:='''A001'',''A002'',''A003''';
v_sql:='select MENUID,P_NAME from MENU_LIST
where MENUID in (';
v_sql:=v_sql||v_sqltext||) order by MENUID asc';
--explain:Get v_sqktext values overpass some process
open menu FOR v_sql;
end;
end;
/

thanks,
error number is : Ora-01001
I use it In Form:
declare
v_baduser boolean;
v_menu ref_types.ref_cursor;
v_menuid number;
v_menuname varchar2(50);
v_menucount number;
begin
v_menucount:=1;
userinfo.Get_usermenu(v_baduser,v_menu);
loop
fetch v_menu into v_menuid,v_menuname;
exit when v_menu%NOTFOUND;
show_alert_info(v_menuid||';'||v_menucount||'、'||v_menuname);
--show_alert_info,like Developer's Function "message",
--It can show some text
v_menucount:=v_menucount+1;
end loop;
Close v_menu;
end;

Similar Messages

  • I forgot my security question you can not buy please help thank you

    I forgot my security question you can not buy please help thank you

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • HT5312 I want to know the questions and protection for my account because my account is locked I can not buy please help

    I want to know the questions and protection for my account because my account is locked I can not buy please help

    The page that you posted from tells you how to reset them i.e. if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 half-way down that page should let you reset them.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • My iPhone4 docks correctly with some devices but not others, please help!

    Hi,
    Firstly spologies if this is old news but sometimes its easier to 're-ask' than trawl thousands of pages!.....
    I have a 3-year old iPhone 4 that has developed a problem which i'm trying hard to solve;
    *Phone used to dock fine with anything and everything - this was about 1 year ago.
    *for no apparent reason it ceased docking with my Bose Soundock and a Logic3 accessory dock (connected to a hi-fi) at home
    *symptoms were; it would charge and operate as normal whilst docked but would not play music through either (the Logic3 dock did not acknowledge it was docked). Otherwise it would sync and connect normally with iTunes, etc. and connected fine when plugged into my car.
    *I reset it, restored it from back-up, updated/reinstalled iOS (this has since updated at least twice) with no other effects. Also checked and reset all settings.
    *I subsequently bought a Pure Contour dock as I was able to try it in the shop and my phone worked with it, plus it has Airplay anyway. I have since, in an attempt to find a bedside DAB radio/alarm dock that works with it, found that it works fine with some devices but not others with no rhyme or reason as to which.
    *2 days ago I changed out the docking port myself using a cheap replacement bought from Amazon, to see if it would cure.
    * now the problem is reversed! The Bose and Logic3 docks I have, that it wouldn't work on before, it now DOES....and the Pure dock and my car, which it DID work with before now fail to connect with it!
    *just to reiterate this, my wife's gen3 and gen5 iPods dock and work faultlessly with all devices mentioned....and mine had done previously.
    to my knowledge it is NOT;
    - a compatibility issue. The phone used to work fine on everything I had. Then it stopped. How's that?!
    - a connector issue. The male connectors on all docks haven't changed.......and the female connector in my phone has changed from liking selected devices to then liking the others!! (it is female after all ;-) !)
    -a software issue. iOS has been updated and the phone wiped and restored and all sorts so many times I can;t see how it can be!
    could it be a problem with the data exchange between phone and device when it is docked??
    or do I really need to try changing the port for an 'official' one??
    or is it just broken and that's that?!

    It's either a problem with the connector on your phone (dirt, lint, bent pin, corrosion) or with its connection to the motherboard inside. Cleaning the connector is a good place to start; either a dry toothbrush, air blast can or wood toothpick. Next inspect it carefully with a good magnifying glass or jeweler's loupe. If nothing turns up it is probably damage inside, which will be difficult to fix. Aren't you due for an upgrade about now? Your iPhone 4 is 3 generations out of date!

  • Hello Apple iPhone restore've made the phone directly and can not activate please help

    Help me

    shpetimtoshi wrote:
    I'ts no jailbroken do you understand?
    No.
    You wrote, "1. There was jailbreak"
    See this -> Get help activating your iPhone - Apple Support

  • "iTunes can not run because some of the required fields are missing.  Please reinstall iTunes."  What the ****?!

    "iTunes can not run because some of the required fields are missing.  Please reinstall iTunes."  What the ****?  Please help me figure this out.  I already removed quicktime (as another thread suggested).  I can't get in!

    i get same error.
    I have uninstalled and reinstalled more times than i care to count. but still i get
    itunes cannot run because some of its required files are missing.

  • I do not remember my password of filevault and i can not install some softwares on my mac please help me

    i do not remember my password of filevault and i can not install some softwares on my mac please help me

    Are you sure FileVault is active? You could not have started up without entering the password.
    If you are sure, see below.
    If you forget the password and FileVault is on

  • I can not run the account Administrator show me this letter Please help :

    I can not run the account Administrator show me this letter Please help
    http://im40.gulfup.com/4AXHK.png

    Hi,
    You need the administrator permission to enable the built-in administrator account.
     For secure concern, there is no other way to do this.
    Alex Zhao
    TechNet Community Support

  • ITunes can not run because some of it's required files are missing...

    'iTunes can not run because some of it's required files are missing. Please reinstall iTunes.' I get this message when i try to start iTunes, I have reinstalled iTunes for two times know and it still doesn't work. Can anyone please help me with this,
    Joris

    nagrax4s wrote:
    .....I had to run programs to completly errase iTunes and then rewrite parts of the registry.
    too bad I didn't get to you sooner
    Follow these instructions to completely remove Apple software
    http://support.apple.com/kb/HT1923
    Then use free Ccleaner to repeatly repair your registry until it's fixed.
    http://www.piriform.com/ccleaner/download/standard
    download iTunes again from Apple.
    http://www.apple.com/itunes/
    If you have 64bit Vista or Windows 7, look for the seperate download of iTunes for that further down the page.
    Once installed, use the Apple Software Update under your Start Menu to fully update all Apple components.
    Your content will remain on the drive in the Music > iTunes Folder, nothing is deleted.
    You should be making backups of your content regularly, either through iTunes or via copying the iTunesFolder in your Music folder to a external drive.
    Windows is notorious for having "other" issues that make it unstable, we as volunteers helping others can't always resolve those issues.

  • PP Procedure is Missing, Can not Run the Preprocessor

    hi experts,
    while executing some module program through TCODE. I got this error  PP Procedure is Missing, Can not Run the Preprocessor
    can any one help me ?
    thanks,
    nag.

    Hello,
    What I thought you meant when you said "Port" was that you were using a Distribution project to move it to other machines.  Therefore you have two options to proceed.
    1)  Copy the nicppaiu.dll from the system folder on your machine to the system folder on another machine you are "Porting" to.
    2)  Add a project to your solution that is a Setup project.  Then add the output of your application to this project and add the MSM discussed earlier.  This will create a MSI that can be used to install your application on multiple machines (it still requires a NI-DAQmx install).
    There is a good topic in our help named "Deploying Measurement Studio Applications" that tells you everything you need to know.
    Regards,
    Jeff

  • I installed windows 7 on my macbook pro. all is working but lan adaptor and sound od laptop is not working. please help me or send the link where i can download the these drivers.

    I installed windows 7 on my macbook pro. all is working but lan adaptor and sound od laptop is not working. please help me or send the link where i can download the these drivers.I have lost my resource cd .

    If you are running Lion or Mountain Lion, the drivers are downloaded from within Bootcamp Assistant. If you are running Snow Leopard the drivers are on your Snow Leopard install disk.
    Read the Bootcamp Install Guide for your version of OSx. http://www.apple.com/support/bootcamp/
    Bootcamp questions should be asked in the Bootcamp forum where the Bootcamp gurus hang out https://discussions.apple.com/community/windows_software/boot_camp

  • ITunes can not run because some required files are missing.

    I got a message that said something like "iTunes can not run because some required files are missing. reinstall itunes." I tried to reinstall iTunes but I kept getting that message. So, i uninstalled it, and tried to install it again. this did not work. I think that Quicktime is actually what is broken, because iTunes installs fine, but the Quicktime installation failed. When the installation failed, i got a message that said, "Installation failed: error code: -3"
    I then tried installing Quicktime with the standalone installer. The installation got further, but it then failed as well, giving the error code -1603.
    What can I do to get this reinstalled, and if you can't answer that, how can I contact Apple from Iraq? Thank you.

    hmmm...that happened to me at one point to, and I'm trying to think back, I believe I was able to uninstall it by using the standalone installer.....
    Try these steps and see if anything helps, and then in the troubleshooting section, look up the specific error number you are receiving...
    http://docs.info.apple.com/article.html?artnum=93976

  • I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll but a transparent album screen is over it and I cannot click on the photos to see it... can any one please help ???

    I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???

    Known bug.  Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.

  • HT1918 I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.

  • HT204230 this device is not longer eligible for creating a free i cloud accounting on my Iphone 5s , my old not working now cannot opened again just when i try make a free email this Message showed up  how i can fix it please help me  iPhone 5s, iOS 8.3

    this device is not longer eligible for creating a free i cloud accounting on my Iphone 5s , my old not working now cannot opened again just when i try make a free email this Message showed up  how i can fix it
    please help me
    iPhone 5s, iOS 8.3

    Create a new AppleID on a different iOS device or on a computer. You will
    then be able to use that newly created AppleID on your iPhone.

Maybe you are looking for

  • SAP CRM 7.0 WebUI: change history is not working

    Hi specialists Our change history is working - but only in SAPGUI. I found no way to activate / customize it for the WebUI. The corresponding Assignment Block is simply blank. On the other hand - in the SAPGUI its working like it is mentioned to do.

  • Problem writing file ANSI to UTF-8. OPEN DATASET FOR OUTPUT IN TEXT MODE

    Hello everybody, My report needs  to create a file in ANSI so I am using this sentence: * "OPEN DATASET p_dir_a FOR OUTPUT IN TEXT MODE ENCODING DEFAULT."*  almost all charters in the file are well generating excepting for this two: ( Á ) & ( Í ) bec

  • Inserting numbers in strings

    Back in the good old days of C programming we could use printf to insert a number into a printed string at run time. Just stick "%i" or "%f" in the string where you want the number to appear. Is there any way to do something similar with Java interna

  • Connecting c5 to sony car unit!

    Hi all, when I used to connect my old nokia 6300 to my car radio/cd unit (sony 6000 cd) via bluetooth I used to have the call list (as stored in the phone by name displayed in, out, missed etc on the car head unit screen when the phone button was pre

  • Can't see Macintosh HD when trying to reinstall

    In short: Trying to reinstall Yosemite after erasing disk, can't see Macintosh HD when asked to select install disk, can I lay see recovery (which is locked). Can see disk under disk utility but no Erase tab visible, only First Aid and Partition tabs