No idea what I'm missing?
No idea what I'm missing?{case}
DECLARE
CURSOR c_deductions (VARCHAR, cp_payno NUMBER cp_year) IS
SELECT pay_period,
pay_group,
check_date,
Sum (soc_sec_gross) as SOC_SEC_GROSS,
Sum (medicare_gross) as MEDICARE_GROSS,
Sum (Gross) as GROSS
OF baninst1.pzvdedn
WHERE pay_year = cp_year
AND pay_period = cp_payno
Pay_period GROUP, pay_group, check_date
ORDER BY pay_period, pay_group, check_date;
v_Data c_deductions % ROWTYPE;
BEGIN
DBMS_OUTPUT. Put_line ('pay_period, pay_group, check_date, soc_sec_gross, medicare_gross,' |)
"brute");
OPEN c_deductions.
SEEK c_deductions INTO v_Data;
C_deductions % FOUND LOOP
DBMS_OUTPUT. Put_line (v_Data.pay_period | ',' | v_Data.pay_group | ',' | v_Data.check_date | ',' | v_Data.soc_sec_gross | ',' |)
v_Data.medicare_gross | ',' | v_Data.gross | «, ») ;
SEEK c_deductions INTO v_Data;
END LOOP;
CLOSE C_deductions;
END;
/
OPEN c_deductions.
*
ERROR on line 18:
ORA-06550: line 18, column 2:
PLS-00306: wrong number or types of arguments in the call to 'C_DEDUCTIONS '.
ORA-06550: line 18, column 2:
PL/SQL: SQL statement ignored
{case}
Published by: user5737516 on December 7, 2009 12:55
Opsss I see it now! Thank you
Hello
If you declare the cursor with 2 parameters, like you did,
CURSOR c_deductions(cp_year VARCHAR, cp_payno NUMBER) IS
you will need to open with 2 parameters.
You try to open it with 0:
OPEN c_deductions;
Remove the statement parameters, or add them to the OPEN statement, for example:
OPEN c_deductions (this_year, this_payno);
You're also missing formatting, that keeps me from looking at the code again. Indent the statements to show the extent of BEGIN = END, LOOP-END LOOP, multiline statements and so forth.
When publishing text formatted on this site, type the 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Tags: Database
Similar Questions
-
I don't know what I'm missing or do differently
I don't know what I'm missing or differently to create this questions. Sometimes when I do a motion tween I don't get the dotted line and other times that I do. I use a MAC El Capitan. My first step is to be; eat the first image and then I put another keyframe at the end. After this I select the black arrow and select, and then select the image I want to use. Once I have selected the motion tween I drag the image around. Sometimes, I have sometimes, after the fact, the line, not necessarily as I lured him, will appear. What I mean by this is that this is an opportunity, in this way be straight instead of the curve that I drew.
Another thing that happens is that it will suddenly be in editing mode saying layer instead of the mode that contains all my images work.
You have any ideas?
Looks like you place objects in a Tween after creating the Tween. Normally I would firstly plant objects on the timeline in the two keyframes (beginning and end), then apply the interpolation. You say that you select 'image'... unless things have changed with the host, you must select the movieclip symbol, graphic or button... the images are none of the above.
-
Woman updated its iPAD Pro 10.0.2 and is now locked screen display "Enter Access Code, contact ID requires your access code when you restart the iPad." She has no idea what is an "access code". Any help is appreciated.
If she don't remember: If you have forgotten the password for your iPad, iPhone or iPod touch, or your device is disabled - Apple supports
-
What is this file? -osxupdcombo10.10.5.dmg - he started to automatically download on my mac and I stopped it... This is a copy of the name of the file and I have no idea what it is? osxupdcombo10.10.5.dmg
This is the last update to Yosemite.
If you do not run 10.10.5 then you run to certain security risks.
-
All sites worked fine before v8.0 and 9.0. But now many sites (for example, newegg.com & baltimoresun.com) won't load. I hit the button reload several times before that something appears on the screen at all. I tried safe mode - no help. I disabled javascript, which helped some, but does not cure the problem, since even with him off a few sites still never finish loading. I've also disabled IPv6 and DNS Prefetching and emptied the cache, all to nothing does not. He seems to graphics that are not loading. Someone has an idea what is the question? I swear that I'm ready to switch to Chrome or Solaris, if I can't solve this problem. It's incredibly frustrating.
Well, the problem was caused by the upgrade to v8.0 corrupt something in my profile. Create a new profile loading problem disappear, this is the fix for this particular problem. Significant pain for sure, since the creation of a profile "duplicate" isn't a very elegant process in FF.
WARNING: If you try this fix, be sure to first make a backup of your current profile. (When I deleted my original profile in the Profile Manager, it also - incredibly - deleted the files that I had copied to my new profile.) Any thoughts on that, dev team?)
-
When I e-mail my friend that my messages arrive much later I sent them any ideas what I need to do
When I e-mail my friend that my messages arrive much later I sent them any ideas what I need to do
Are they sent as messages (green) (blue) iMessages or text? This happens with other people as well? -AJ
-
Replace old hard drive with an SSD. Now some of the keys on the keyboard stopped working. Ex 'e' and 'b' keys no longer work? Any idea what could take place in the disc replacement?
Probably nothing, it's probably a fluke. Try resetting the SMC and the PRAM by iMac Intel SCM and reset the PRAM. If this does not work, try a USB keyboard to test, if it works then your original keyboard has failed and must be replaced.
-
Can merge is more events in pictures. any ideas what may be wrong?
Can merge is more events in pictures. any ideas what may be wrong?
Of course - Photos has no events, so there are no everts to merge
You can combine the albums (which your iPhoto events have been converted to) easily (not command fusion but easy to do) - display the sidebar (menu display ==> see the sidebar) and open the source album, then drag the photos into the destination album and if wanted to remove from the source album
LN
-
iCloud often ask a security code 4 digits. I have no idea what it is, my code is six digits. What is the 4 digit version and where I put or find it?
Have you implemented 2-step audit on your Apple ID? If you do this, then whenever you connect to icloud.com you are likely to be asked for the security code, which will be sent by SMS to your device of 'trust' - mainly the mobile phone you have registered with Apple.
The six-digit code that you think is probably the password in your iOS device, which is quite distinct.
-
MY entire song will not play, just section A or B. No idea what I am doing wrong?
The first thing to check is if you have "all sections" selected. Push it + top button on the right, which should show you the section menu. Above that, it should say "all sections". Make sure that who is selected. I know not obvious, but sometimes it's the simple answer that works... Don't know what you need to do, if it is not there.
-
what I'm missing here...
What I'm missing here in this break timer? I calculate how long the timer has been suspended and add it to the 'start time' to be subtracted from the current time. If he was interrupted at 10 seconds, the current time should be greater than when he was suspended 10 seconds, but the 'start time' should also be increased to 10 seconds. This should translate into my timer stopping when subtraction is done, but it counts down when I hit the break... what I'm missing here? Also, this VI is intended to be placed in a while loop.
Yes I looked at examples, but I want to do it MY WAY! haha. Actually, it's more of a thing of ego that I can't understand it on my own...
The problem is the way in which you add the pause time at the timer start time. Each loop, you add an offset at start_time timer that was for the most part already recognized by previous loops.
Break time/timer start time
0/0
1/1
2/3
3/6
4/10...
See how this happens out-of-hand real quick?
What I would do is keep 'time timer' on an SR and adjust 'timer start time' based on 'time' each loop. No need to keep "suspended time".
Randy
-
the windows XP from my laptop IBM + enter in standby mode without anything in the regular workplace? any idea what can cause this problem? virus? installation program?
Hello
· Were there any changes made on the computer before the show?
You can check the link: how to solve the problems of hibernation and standby in Windows XP: http://support.microsoft.com/kb/907477
-
using google chrome 12.0.742.112 keeps restarting when dedicated to Farmville also produces on youtube and other games of ideas what it could be?
Hello
1 how long have you been faced with this problem?
2. don't you make changes on the computer before this problem?
3. This only happens with online games?
4. this dose also occur with internet explorer?In response to the questions above could help us help you better. Look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.
Reference:
Using the event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=trueUnderstanding of event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=trueProcedure to view and manage event logs in Event Viewer in Windows XP
http://support.Microsoft.com/kb/308427 -
Have CD Key but no idea what its for windows version.
Had a guy call me that's hard drive crashed on his laptop computer. HP laptop and came without OS disks. He could not remember which version of windows that he was using and he has rubbed off the label. The key is always visible, but I have no idea what version of windows to download. Is there a way I can find this license #?
Contact the Customer Service HP for assistance.
Carey Frisch
-
When you use Excel or my Peachtree Accounting program, entered digital as "$152(32 in the accounting package or the same number with a square symbol as the decimal point in Excel.)". No idea what I should check first?
Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to Office Excel and would be better suited to the office community. Please visit the link below to find a community that will support what ask you
http://www.Microsoft.com/Office/Community/en-us/default.mspx?d=1
Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
I bought the MacBook Air 13 "last night and this morning I get an email from Best Buy telling me its on sale for $200 less. Apple will refund me the difference?
-
Firefox won't let me add some addons
I am trying to add some addons and it wont let me add any of them it keeps telling me that they are corrupt please help me with this problem
-
Can't hear the music from the radio station of my fav, WDIA on heartradio?
Can someone call me on my phone?
-
LabVIEW 2013 executable only works on the development machine?
Hi all I created an executable to distribute my test software, but it only works on the development computer. With success, I gave my front executables with labview 2012 on the target computers by simply creating the .exe in the project and then Expl
-
the closed Itunes data execution prevention
Quad core Dell Vostro 400 Windows XP pro started having problems soon as the update on I tunes about two weeks ago. Also noticed flashing lights and error 0x887df78e on my HP Office Jet 7310 code at the same time. I went through all the trouble, no s