Please someone help me with this procedure
create or replace procedure do_withdrawal
(
p_cust_id in varchar2,
p_acc_id number,
p_amount number
)
as
unathurozied exception;
Start
If get_authority (p_cust_id, p_acc_id) = 0 then
raise unathurozied;
on the other
Insert indent
(
wit_id,
cust_id,
acc_id,
amount,
Date_Time
)
values
(
pk_seq.nextval,
p_cust_id,
p_acc_id,
p_amount,
SYSDATE
);
commit;
dbms_output.put_line (' Dear customer: your balance is ' (p_acc_id) get_balance | p_amount);
end if;
exception
When unathurozied then
raise_application_error (-20010, "Unathorized user");
......................................................................................................
I get the following error when you try to insert into the table of withdrawal
..................................................................................................
Start
exec do_withdrawal ('650707-1111', ' 123 ', ' 0.0');
end;
Error from the 74 in the command line:
exec do_withdrawal ('650707-1111', ' 123 ', ' 0.0')
Error report:
ORA-06502: PL/SQL: digital or value error: character of number conversion error
ORA-06512: at "SYSTEM. DO_WITHDRAWAL', line 19
ORA-06512: at line 1
06502 00000 - "PL/SQL: digital error or the value of %s.
* Cause:
* Action:
out of this get_authority (p_cust_id, p_acc_id) is not a digital .output get_authority this varchar2 which is always a string.
You can't compare if get_authority (p_cust_id, p_acc_id) = 0 then in the do_withdrawal procedure.
If you want you want changed in the do_withdrawal procedure.
Of
If get_authority (p_cust_id, p_acc_id) = 0 then
TO
If get_authority (p_cust_id, p_acc_id) = '0' then
Now, it will work
Tags: Database
Similar Questions
-
I have a logo on a white background. I need the bottom either transparent. Not for the life of me I remember how to do this. Could someone help me with this, please?
Elimination of the background is transparent can be done with precision using the mixture control if the Style layer.
1. open the file and if the layer is locked, trash the lock.
2 Cmd + click on the new icon layer in the layers panel to apply a layer of vacuum below the object.
3. return to the upper layer and double-click it in the layers panel to bring up the layer Style.
4 in section mixture if at the bottom of layer Style, move the high gray-scale slider to the right page to the left until it disappears from the background of the illustration. For extra precision, to the point where the White is about to disappear, you can click Option on the half left of the cursor to divide and move it gently to the left when you look white in the picture disappear.
5. layer > merge down and then file > save
-
WindowsUpdate_80246007 - cannot install Service Pack 2 for Vista. Can someone help me with this error message? What di I do to solve it?
WindowsUpdate_80246007 - cannot install Service Pack 2 for Vista. Can someone help me with this error message? What di I do to solve it?
2 forums: you can go:
1 Windows Vista IT Pro forum, section of Windows Vista service packs:
Section of Windows Vista service packs:2. Windows Update section:
http://social.answers.Microsoft.com/forums/en-us/vistawu/threadsFor the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.
-
original title: windows dates
on my computer windows vista home basic, is Drive - D were all my windows updates are stored. I do not stor photos or other long-term files on my computer.
I ' am up to 22 gigabytes of 69.5 gigabits on drive D. Can someone help me with this problem so I don't run out of space.
Also all update my windows go back as far as the year 2008. Note-windows update are the only element which appear on the D drive and also when I backup windows is were I notice less space on this drive. Is there something I can do so I don't run out of space on this drive?
could someone help me with this problem.I have found, do not delete the old windows updates.
they could corrupt your entire system. -
I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?
The only safe option is to perform a factory restore. If you do not, then you are likely to be confronted with a machine that is seriously infected or was hacked. Have a look here for instructions:
http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=us&l=en&s=Gen&docid=DSN_336966&isLegacy=true -
I am trying to download adobe 10 but my computer says that it is blocked and dangerous to download. Can someone help me with this problem
Temporarily disable your Antivirus utility and try again.
-
I am trying to build a DVD menu, but whenever I click on the button "Toggle the display of the menu" options I get no picture and I am unable to create a menu. Can someone help me with this?
You need to install the library separately:
http://helpx.Adobe.com/Encore/using/download-library-content.html
-
I tried to install LR 6 of the CD. After some problems with my Adobe ID, I typed in my serial number, then he told me... OS is not fullfill is the requirements.my OS Win 7 64 bit system. can someone help me with this?
See the link below:
-
When I install CC15 it does not install Acrobat, can someone help me with this (the installation routine)
Check that your current account (and only the adobe, used in the next step id is good) by logging in here and check the status of your subscription, https://www.adobe.com/account.html
then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-
Try to get the slide show gadget extend in the background as a banner or a footer, can someone help me with this?
You can use the full width slide show on master so it would show in the background of the page.
Thank you
Sanjit
-
Account Hotmail has been hacked. Can someone help me with this, please?
I tried logging into my facebook today and he told me that someone had changed my password at 04:18 .hich is certainly not me.
then when I tried to have facebook send me an email to reset my password... my hotmail was hacked too.
So I had to create a new email and block my facebook account. I would really like to make my od emil back however. is there someone who can help me with this? I can verify who I am and everything. Please contact me at my new email. its * address email is removed from the privacy *.Thank you!
-Ashley Groff
Hello
You should also check with Facebook help and Support and their Forums.
Facebook - help and Support
http://www.Facebook.com/help.phpFacebook - Facebook Contact and support of Facebook
http://www.Facebook.com/help/?page=835Facebook - Forums
http://getsatisfaction.com/Facebook---------------------------------------------------------------------------------------------------------------
Answers is a peer group supported and unfortunately has no real influence on Hotmail.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usError message "your account has been locked" when trying to connect
http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2Compromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
Can someone help me with this .bat program?
I created a .bat program in Notepad. I was wondering how to do, because it's something new I learn and I started yesterday only. So today, I thought I'd do a. But unfortunately, I couldn't get through it, can someone tell me if this is the correct syntax.BTW, the problem was, once the menu main departure happens and when I press 1, 2, 3, or 4, nothing happens and it closes abruptly. The PROGRAM GOES LIKE THIS:- off @echo
- color 1F
- title age identifier
- : menu
- CLS
- Welcome to the identifier of the age of echo
- ECHO, what is your age?
- Echo 1) under 18
- Echo 2) equal to or less than 18 years old but less than 60 greator
- ECHO 3) 60 greator
- the echo 4) output
- define opta / p =
- If opta % = 1 then goto minor
- If opta % = 2 then goto adult
- If opta % = 3 then goto Senior
- If opta = 4% then goto bye
- : Minor
- CLS
- You are a miner of the echo
- echo return? (y/n)
- Set /p backa =
- If menu = % backa can goto
- Backa % = n If then goto bye
- : Adult
- CLS
- You are an adult of the echo
- echo Go Back? (y/n)
- Set /p backb =
- If backb % = menu there then goto
- If backb % = n then goto bye
- : Senior
- CLS
- You are a senior echo
- echo Go Back? (y/n)
- Set /p backc =
- Backc = menu % if there then goto
- Backc % = n If then goto bye
- : bye
- echo BYE!
PLEASE HELP ME AND THANK YOU IN ADVANCE!To use variables created in .cmd script, you must add the command "SETLOCAL" before.
Also you do not use good operator "==" in the construction of the IF command to compare strings and there is also no "then" keyword in the construction of this command.
E.g.
::
off @echo
setlocal
echo what is your favorite food?
Set /p food =
If food % == fried echo Wow! I also love food %!
ENDLOCAL
pause
::Output:
What is your favorite food?
Fries
Wow! I love the fries too!
cmd /?
Or
Help
-
Earlier, I was able to move a message in my Inbox to a folder, but has not been able to implement the records to look at a message that I had already moved. Now, I'm not able to move the message to a folder either. If anyone can help with this?
Windows Live Hotmail is supported in this forum
http://answers.Microsoft.com/en-us/windowslive/Forum/Hotmail?tab=all -
I'm trying to uninstall a printer, but only part of it was uninstalled, there are 2 parts more than the necessary printer uninstalled and I get the message setup.exe has stopped working
Hello
· Faced with this problem specific to uninstalling the application with the printer, or with another application?
· What is the brand and model of the printer?
You can follow the method below and check if it helps.
Method 1:
I would say as you put your computer in a clean boot state and check if it works.
How to troubleshoot a problem by performing a clean boot in Windows
http://support.Microsoft.com/kb/929135
Note: Don't forget to reset the computer to start as usual, once the problem is resolved. Follow step 7 on top of the kb article.
Method 2:
I suggest to install the application printer again and then try to uninstall it, if only the problem is specific to the printer.
http://Windows.Microsoft.com/en-in/Windows-Vista/uninstall-or-change-a-program
Hope this helps,
-
I accidentally bought the wrong design and had it unlicense. Can someone help me?
Kevin
Hi Kevin
We do not have the possibility of unlicense one image, but have added a picture of credit to your account. Please let us know the ID of the incorrect image for our records.
Thank you
Bev
Maybe you are looking for
-
Install the link Dropbox with Terminal mpkg file
Hello I'm looking at the best way to install a mpkg on multiple Macs in our society. With our MDM solution limited, it will be via a script/Terminal command. I wonder if someone would be able to help the best way to do it. I placed the file in a l
-
Lower FCPX using third file .psd
I try to create a lower third to be used for FCPX, using a locked .psd file provided by a customer. I can't make it work - can anyone help me? Thank you.
-
I have a MacBook Pro 15 "2112. I'm doing a presentation of Powerpoint tomorrow. I need to connect to a TV that has an HDMI port. I also need a remote clicker. All are adaptable for Mac or I have to buy a special? Is there a resource on how to impleme
-
I backed up my PC - all my photos and Skype chat history appear?
Hello According to the title? I read earlier that the photos and the cat were stored in program files that they would not be saved? Is this true? Kind regards Taylor
-
Hello I'm looking for suggestions on what to do in this case: Have a wireless controller: WLC2112 and points of access 8, but im having problems with disconnections of ap´s, sometimes I can see the 8 ap´s and sometimes only 5 ap´s. I ran the command