This function have an input and an output parameter. But he won't return
It's function. Pls check in Scott & Tiger database.CREATE OR REPLACE Function SamFunc
(EmpNo IN Varchar2)
Return of tank is
Val Varchar (500);
Begin
Start
Select Ename Into Val From Emp
Where EmpNo = EmpNo; -: 7369.
And DeptNo = '20'; : Deptno
Return Val;
Exception
When No_Data_Found then
Val: = NULL;
While others then
Val: = NULL;
end;
Return Val;
End;
Someone help me
Where EmpNo = EmpNo;
Oracle will assume you want that each line, because empno will always be equal to empno.
Do not use a parameter with the same name as a column or use a namespace
Where emp.EmpNo = SamFunc.EmpNo;
And you hide the TOO_MANY_ROWS error with your
When Others Then
Val := NULL;
You will never see an error.
If you want to hide a NO_DATA_FOUND then you can write
When No_Data_Found Then
RETURN NULL;
But never use a WHEN OTHERS THEN NULL;
Concerning
Marcus
Edited by: Marwim the 04.10.2010 13:38
Tags: Database
Similar Questions
-
I HAVE WINDOWS XP AND INSTALLED IE 8, BUT HE WON'T. NOW WHAT?
I HAVE WINDOWS XP, HE ASKED TO INSTALL, I HAVE E-8. WHAT I DID. NOW WHEN I GO ON DIFFERENT SITES, I GET A MESSAGE INDICATING THAT I AM STILL USING IE - 7, CLICK HERE TO DOWNLOAD. WHY SHOULD WE NOT HOLD?
Go using internet explore and click on about Internet Explore.
It will tell you which version of ie you have.
When I installed IE 8 kept msg pop up to install ie8, but it is to install additional items.
You click it and check?
-
I have photoshop CS5 and CS6 for PC, but now I bought a Mac Book Pro. Can I change the key license or do I have to buy the MAC version?
Please click on this link http://helpx.adobe.com/contact.html?product=creative-suite&topic=orders-refunds-and-exchan GHG and click on I still need help > Chat now.
Make a cat and provide the file number, they will help you more.
Kind regards
Aurélie hamadi
-
Hello! I have download CC and paid $69.99 but I want to use the programs that I pay for, why, if I pay $69.99, I have to use the test programs? you want to know what I pay and how I can get the services of programs I want to use.
Miguelo28272279 for more information on how to solve the connection error preventing your membership to authorize please see sign, activation or connection errors. CS5.5 and later, Acrobat DC. We invite you to update this discussion if you have any questions about the steps listed in the document.
-
I have windows mail and can receive messages but not send, but I can't send when I go on my statement but not my e-mail account window, won't accept my password... was I get hacked or or why?
It seems to work now, so if my emails get screwed up again, I'll take your advice... don't understand why he sends now and am not asking my password as it does... but I don't want to do something that I don't know if it's working now... What do you think?
-
I need to install Adobe acrobat 8.1 standard on another computer that my old crashed and is no longer useabel. I have the disc and the serial number, but it will not activate. ?
Hello
If you are using windows, you might see the following link for download Acrobat 8 and then see if you are able to activate it.
Download Adobe Acrobat products. 9, 8
Concerning
Sukrit diallo
-
I have 3 licensees and only 1 active but when installing the creative cloud in a different mac do not work, I need help!
Check your subscription payment has been processed and your adobe id is correct, https://www.adobe.com/account.html
then, on the problem, disconnect and then back to your office to cc using the same adobe id allowing you to check your subscription is current, https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html
-
I would like to remove Adobe Creative cloud of the bar menu on my Macbook and my computer altogther, but it won't uninstall and I get a message saying "unable to désinstaller the creative cloud to desktop. You still have Creative Cloud applications installed on your computer in need. "As far as I know, I have all the apps creative Cloud on my computer!
Hello
Please see below for the required details.
https://helpx.Adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html
Thank you
CharAt()
-
I bought the first 13 items, I have the CD and the number series, but after installation it always tells me, it wasn't an original Adobe software. However, it is! I have not bought a second hand version or whatever it is, it's new and I haveen can't installed the software on any other PC. What can I do?
Warning: "Adobe software real failure of Validation...". » | Windows
-
I disabled Adobe on my old computer so that I could download in my new. I have the disc and the serial number, but then a window came during deactivation to change my proxy settings, which I do not know how. However, the version on was on my old computer is deleted but I can't load to my other because it gives me a message that I have exceeded my limit. My limit is 3 computers and now I have 2 and want to download to my new. HELP I can send you the serial number
You are allowed to have two active facilities. You need to contact Adobe support via chat and ask them to reset your activations.
Chat support - the link below click the still need help? the option in the blue box below and choose the option to chat...
Serial number and activation support (non - CC) chat
http://helpx.Adobe.com/x-productkb/global/Service1.html ( http://adobe.ly/1aYjbSC ) -
I have DW CS4 and want to update but don't want a monthly fee for CC. What are my options?
There is no way to upgrade to CS4 versions.
If you do not want to join the Cloud then your only remaining option is to buy a new version full DW cs6.
Just remember that CS6 is replaced software 3 year that isn't old is no longer being updated.
-
How to synchronize the analog input and the output of two different USB data acquisition boards
Hi all
I have two tips very different USB NI USB 6008 case, which I use to acquire the data (analog input) and a USB of NI 9263 is a output analog only site I use to route a signal (in this case a square pulse). The reason why I use the outputs analog 6008 is because I need to deliver negative tension and need the full +/-10 v range.
Looking at similar positions, I'm pretty sure that I can't use an external trigger or a common clock, I also tried to use the timed synchronization of the structures but no cigar.
I'm including a quick vi I whipped showing how the jitters because of the lack of synchronization signal. The OD of the 9263 connects to AI in the 6008 in this example.
I talked to a specialist in the phone and tols me that's not possible.
-
create a VI that will acquire temp and pressure for 10 seconds every 500ms. The thermal strain developed and output quantity is given then:
stress = 100 * temp + 6 * pressure;
output = 500 + temp * 0.1 + pressure * 10;
draw the stress and output temperature Vs. also highlight and Vs output pressure.For the question above... I tried this method attached... Please tell me it's writing or not?
Macarius,
Because this seems to be not just a school problem, but also a review, I'm not very accurate so that I don't do your work for you.
Your program can meet the required specifications. She doesn't have a lot of understanding the power of LabVIEW. The documentation is non-existent. Style leave much to be desired.
Depending on what you are supposed to have learned, I would give it a passing beam but low grade. It could be planning a lot with relatively little effort.
Lynn
-
I have Adobe Acrobat Reader DC on my computer. I have NEVER had trouble opening a document from this location before. All of a sudden, I wonder a PASSWORD. I went and created a password, but it does NOT work when I try to open certain documents only three 3 in Player-all OTHER documents are open without asking for a password. I tried to reset the password and tried again to open these particular documents. They are still not open!
Then I "chatted" with ADOBE and they me logged onto the Forum and told me to look for an answer I was ANable to automatically find...
What is everyone out there knows what I need to do to obtain a PASSWORD THAT WILL WORK when I try to open these 3 documents?
ALSO, what is the URL of the FORUM ADOBE?
Thank you VERY MUCH to anyone who can help me. I have urgently NEED to see these documents today, 18/05/15. Thanks again!
This isn't true at all. In fact, the specific problem of this user has been resolved when they discovered that someone has added a password security policy to their files. See: How to get and use a password that works to open several documents in Adobe Acrobat Reader DC?
If you add the password to your files yourself and then forgotten, then there is nothing that can be done using Adobe software, however.
This can be done with Adobe Reader but is not able to apply (or remove) a security strategy for PDF files.
-
Why do I receive flag showing that I have a problem and insert the disc. but nothing shows
Why do I get a red flaag showing I have a problem and to insert the blank disc aa, what I do, but the flag persists?
Hello
- What disk you insert?
- What are the instructions?
- How long have you been faced with the question?
- Are there changes to the computer?
- The problem is present in Safe Mode and clean the boot?
I suggest you run the Analysis System File Checker and see if TI the problem still occurs. To do this, please see the following article.
Maybe you are looking for
-
When can I update my iPad iOS 10 mini
I am able to update my iPad mini iOS 10 yet? Any body knows please. When I check on Apple's site it says that I can, but when I try to update says its ios updated showing 9.
-
I use Linux on my Acer laptop. I want to use Mozilla Firefox version 42.0 or more recent in the 'new private window Mode"always. When I click on the Firefox icon on my desktop or the taskbar, I want Firefox to open in 'New private window' always; no
-
How you people would get 10.2.3?
People- The forum more and more, I see 10.2.3 is available. However, when I use the App Store App and try to look for updates, I get the response "no updates available". Y at - there a trick to this? Thank you!
-
Two sites of finance not only loading login pages
Before the latest updates Firefox loaded two Web sites without problems. Now site Colonial First State does not display a login page and the readings I have to update my browser. The Commonwealth Bank site lets connect me but will not open any accoun
-
Free movies available for WMC?
We've just got a new laptop Windows 7 Ultimate and have been enjoy watching episodes of the Twilight Zone and Star Trek classic free in WMC. Does anyone know if there is free movies available to watch them in WMC? I was hoping that it would be someth