don't no why my statement is ignored in the reference cursor
Hellomy code looks like this
create or replace
procedure fordefaultLan(cur out sys_refcursor)
as
cc Res_RelcountryLan.countrycode%type;
lid Res_Language.langid%type;
ab Res_Language.Abrivation%type;
begin
open cur for SELECT RCL.CountryCode, RL.LangID, RL.Abrivation from Res_RelCountryLan RCL inner join Res_Language RL ON RCL.LangId = RL.LangId;
loop
fetch cur into cc,lid,ab;
if cur%found then
dbms_out.put_line('the countrycode is:'||cc||'the language id is:'||lid||'the abbrivation is :'||ab);
else
exit;
end if;
end loop;
close cur;
commit;
end fordefaultLan;
when im running thisError(12,1): PL/SQL: Statement ignored
Error(12,1): PLS-00201: identifier 'DBMS_OUT.PUT_LINE' must be declared
can you please fix my errorsthanking you;
Prakash
It should beOUTof the DBMS_. PUT_LINE
You wrote as DBMS_OUT. PUT_LINE
And, instead of construction IF to EXIT, you can simplify like
EXIT when cur%notfound;
Replace the code below...
if cur%found then
dbms_out.put_line('the countrycode is:'||cc||'the language id is:'||lid||'the abbrivation is :'||ab);
else
exit;
end if;
Published by: JAC on May 27, 2013 13:18
Tags: Database
Similar Questions
-
To sort music between library computer and Media Player? How pay you the difference? I download music from Windows Media Player, but some files go to the library of the computer and do not show up in Media Player...?
Hi Phoenixshadows1956,
The music, videos and pictures libraries windows point to the files that store the files of real media on your computer. The Player library simply contains links to multimedia files, but gives you greater control of how you organize and use your digital media content than the Windows folders do.
http://Windows.Microsoft.com/en-us/Windows7/Windows-Media-Player-library-frequently-asked-questions
You question default save location. The default save location determines where an item is stored when it copied, moved or stored in the library. Access the link below to learn more about customizing a library.
http://Windows.Microsoft.com/en-us/Windows7/customize-a-library
You can use Windows Media Player Library to organize your entire digital media collection on your computer, including music, videos and photos. Access the link to learn more about how to manage and add items to the Windows Media Player library.
http://Windows.Microsoft.com/en-us/Windows7/add-items-to-the-Windows-Media-Player-library
To remove items from the Windows Media Player library, access the link below and follow the steps.
http://Windows.Microsoft.com/en-us/Windows7/remove-items-from-the-Windows-Media-Player-library
You can also useWindows Media Player to quickly find and play your music, video and image files on your computer.
http://Windows.Microsoft.com/en-us/Windows7/find-items-in-the-Windows-Media-Player-library
Hope this helps and let us know the result.
Thank you and best regards,
Srinivas R
Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I'm sure it's a simple solution. I'm not sure what is the fix.
Thanks in advance!
Looks like you have an effect of contour enabled in the layer styles. You should see it under the layer affected if this is the case.
-
I want to cancel my subscription.
The address E-mail registered in this Forum do not have any CC Adobe attached to it, please inbox me the order number or the Email to which you are registered, I will definitely help you in this regard. I you send a personal message, please respond.
Concerning
Baudier
-
My cd dvd drivers are no longer there and I don't know why
My cd dvd drivers ae either and I don't know why. I came back to the system restore and still does not. Why?
Hello
1. what operating system is installed on your system?
2. you remember to change the system before the problem occurred?
Try the method provided below and check if they help to resolve the issue.
Method 1:
If the CD/DVD drive is not able to read or write the data, then you can go to the link below and run the hotfix that should help resolve problems with CD/DVD player.
Your CD or DVD drive cannot read or write media
http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us
-
I don't know why it works?
Hello
I read a book on Actionscript 3 and I'm good! But I have a question:
Look at this code that I find in my book (it is in a class file):
public void setNom (pNom:String): void
{
If (pNom.length < = 30) name = pNom.
another path ("the name specified is too long");
}
I found the proper syntax for this:
public void setNom (pNom:String): void
{
If (pNom.length < = 30) {}
name = pNom;
} else {
trace ("the specified name is too long");
}
}
In the first example (of the book), the braces are missing... But it has worked so far! The application works properly!
I don't know why? I thought was if else statement requires braces around it! Also, when I press the button in the form of the syntax, Flash adds the 'missing '... braces
I thought that it was a mistake in the book and would like to get a syntax error here... But apparently, it's good... Usually, when your code is wrong, you cannot format your syntax...
Can someone help me out here?
Thanks a lot for your help!
--
Martin
It's because you only have a single statement for the fi, and for the rest, it's the kind of a shortcut, however if you try to add a second statement at the END, otherwise you will get a compiler error. It's like semicolons, they are not really necessary unless you write two statements on the same line of code.
-
a collection of uniinitialized. I don't know why
don't know why I get the compile error. collection of uninitiazlied here.declare -- Local variables here v_terminalonlooplist WENK.T_GENERAL_NUMLIST; j NUMBER :=0; i_CustomerData WENK.PkgCommon.T_CUSTOMERLOOPTYPE; begin -- Test statements here --unit test data --Loop1 i_CustomerData(1).Cable := 'TM02'; i_CustomerData(1).Pair := '0291'; i_CustomerData(1).CentralLocID := 883768; i_CustomerData(1).CentralLocName := 'TOROON45'; i_CustomerLoop(1).TerminalDeviceID := 1178050; i_CustomerData(1).CPAction := WENK.PkgCommon.c_Add; --Loop2 i_CustomerData(2).Cable := 'R26'; i_CustomerData(2).Pair := '1414'; i_CustomerData(2).CentralLocID := 1178051; i_CustomerData(2).CentralLocName := 'TOROON45'; --i_CustomerLoop(1) .TerminalDeviceID := v_iTID; i_CustomerData(2).CPAction := WENK.PkgCommon.c_Add; --Step 1 - Create a list FOR i in reverse 1..i_CustomerLoop.COUNT LOOP IF i_CustomerData(i).Termsysid IS NOT NULL THEN v_terminalonlooplist(j) := i_CustomerData(i).Termsysid; j := j+1 ; END IF; END LOOP; dbms_output.put_line(' v_terminalonlooplist(1) ' || v_terminalonlooplist(1)); -- <<<< COMPILE ERROR end;
Is this really the code you are using?
You mix up your i_CustomerLoop with your i_CustomerData?
I don't see where i_CustomerLoop is declared.I'm in reverse 1.i_CustomerLoop.COUNT LOOP
Perhaps you are looped around the wrong collection? Be it i_CustomerLoop or i_CustomerData?
Initialize your collections on the statement.
-
I can receive all messages from whatsapp on my Apple Watch, but not the Group whatsapp messages, don't know why... Help, please.
Besides, my watch is custom in Spanish, but only answer messages Whatsapp understands English... anyone know why? Thanks to you all!
Hello
To change the language for a response on your watch: Press answer > firmly press the screen > press on choose language > select Spanish.
-
When I put pictures on my Mac, I chose my Aperture library. Now there is no pictures in Photos or Aperture! They are all in the photo library, but I don't know why they are not in the pictures when I open it?
Sorry try again - your post does not calculate
They are all in the photo library, but I don't know why they are not in pictures
What version of the operating system and Photos you have? Explain what exactly you're actually seeing and what has changed since it worked
LN
-
I use 4 windows with multiple tabs, but I 'don't know why one of them (window) always close when I restar computer
Hello, by default the firefox session restore feature only allows you to save last 3 windows open. to change this, type on: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named browser.sessionstore.max_windows_undo. Double-click it and change its value to 4 (or more).
http://KB.mozillazine.org/browser.sessionstore.max_windows_undo
-
I can't download IOS 9.3.1 the download starts but then an error message appears and it stops. I have enough storage, so don't know why this is happening?
Does anyone else have this problem?
It often happens when the screen times out and goes to the lock screen, when I connect to my phone that the error message is re-appeared?
I have the same problem!
-
I don't understand why I can't login my account using mozilla but with googlechrome fb, I am able to do... Mozilla can load the fb site but cannot access my fb account... I'm uncomfortable with the use of mozilla as my browser... pls help thanks
- "Clear the Cache": Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.
- 'Delete Cookies' of sites that cause problems: Tools > Options > privacy > Cookies: "show the Cookies".
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).
- Makes no changes on the start safe mode window.
See:
-
I don't know why I had problems with FF 3.6.16 and the last update for thunderbird
I'm at the Canada and for some reason, downloads for the two FF 3.6.12 and Thunderbird was last updated was the BritishVersions is why I UK search engines, not the US versions is maybe why I'm struggling with my email and addons. The other 2 computers in my house is the American version.
But there is always something a bit screwey with 3.6.12 that some addons do not work correctly on other computers. Can you please change the software for the US version please? Thank you
I deleted the software twice already. before realizing I was downloading the British version... same problem with my Thunderbird cannot connect to the Internet service provider even if everything is done correctly! Help!
You can find the version en here:
-
I am trying to open a file in Pages 09 and am getting notice has the required index.xml file is missing. Is it possible for me to access the file? I don't know why this happened.
You open a file with Pages ' 09 Pages 5.x.
You need to right-click on the file and open it with Pages 5.x (the one with the orange document icon).
Peter
-
It keeps saying transport jam and I don't know why
Before I can even put in place I get a carriage jam and I don't know why
Hi abdellah,.
Follow the document below.
Maybe you are looking for
-
Hello friends, I was hoping that the theme I've selected would fill the full screen. Is it possible to do so. Thank you
-
My MacBook Pro battery is drained very quickly.
MacBook Pro, in early 2011. Battery is almost discharged quickly 100% - 10% within two hours. Not did something differently. Do I need a new battery. 2.7 Intel core 17 CHz / 4 GB. 10.8.5 OX.
-
Photos and videos are blurry loading
For about a month, whenever I chaque fois que je vais'm going to online photos load blurry, as are videos. At the beginning it was just to do it on YouTube and so I thought it was manually loading funny, but it wasn't and then shortly after any kind
-
How to stop the menu bar disappearing
I HAD THE PROBLEM WITH THE MENU BAR DISAPPEARS FROM MY SCREEN. WORKING IN EL CAPITAN 10.11.3 Have been where I was told to go through other sites - unable to bring back the menu bar and lock it to the top of the screen. Please help/tips Thanking you
-
HP Probook G3 450: Start slowly after bios update
Hello everyone, I am a new user of laptop Hp so I need your help, I want to thank you for your time to read and help me with this problem. Yesterday, I updated the bios Hp SoftPaq Download Manager recommendation. Progress to succeed and the result of