Back to "null" in sql and pl/sql
Version of DB
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production "CORE 11.2.0.4.0 Production" TNS for Linux: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production
Created a function below
create or replace function return_null(p_string varchar2) return varchar2 as l_ret_string varchar2(32767); begin select p_string into l_ret_string from dual where 1=0; return l_ret_string; end; /
When I call this function in a SQL return nothing but didn't no_data_found exception which I expected.
SQL> select return_null(p_string=>null) from dual; RETURN_NULL(P_STRING=>NULL) --------------------------------------------------------------------------------
But when I call the same function in PL/SQL block and he throws no_data_found error.
declare l_ret_string varchar2(32767); begin l_ret_string :=return_null(p_string=>null); dbms_output.put_line(l_ret_string); end; /
Error:
declare * ERROR at line 1: ORA-01403: no data found ORA-06512: at "TESTDB1.RETURN_NULL", line 6 ORA-06512: at line 4
If I'm right get error service not in the calling pl/sql block. some body explain this behavior?
Thank you!
Here's a thread of AskTom 12 year old:
https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:10321465390114
Tags: Database
Similar Questions
-
What is the best way to back up your iTunes library and playlists
I'm looking for the best way back up my library iTunes and Playlists. I will probably support him until a spare flash drive. Is there a step by step procedure out there that I can follow to make the back upward?
Drag the iTunes folder in your folder music on the backup drive.
-
I'm going back to Valencia next week and cannot order a SE 64 GB iPhone gold to arrive on time. If I bought one in Spain, it will be
compatible to use when I return to England?
Yes
You must buy a SIM Free(Carrier Unlocke) Version and you can use it anywhere in the world. !
-
Is it possible to make the back to Pentecost iPhone 6 and Air iPad
Is it possible to make the back to Pentecost iPhone 6 and Air iPad
You cannot back up an iPhone to an iPad or vice versa, but you can save them both to a computer via iTunes or you can backup to iCloud. See: How to back up your device using iCloud or iTunes - Apple Support
You can also synchronize contacts, photos, etc. between the iPhone and the iPad. See settings > iCloud on each device for things that you can synchronize.
-
How can I back up using Windows XP and an external seagate (Dashboard) Memeo software trial was over
Hi Jeff_779,Here is an article that could be useful for: -
Windows Vista Home Edition of Preimium. I deleted by mistake the wrong USER account. I went back and he added. Still lacks most of the documents and some programs and my e-mail program is missing. I Retored back to an earlier date and is not good, but when I search in the search bar in the start menu, I find the documents but can't seem to them.
Hello
It gives you a warning before you delete an account that you will lose data from it, if you do not save it.
Try this free program to search for these files:
http://www.Piriform.com/Recuva
See you soon.
-
I did several back ups on my computer and I wonder how many of the discs that I have to hold. Can I get rid of all except the last backup?
Thank you
Scott
Hi Scott,.
You must keep all 10 backup.the disk new backups will contain only the last backups and will not have the previous backups.
-
I got this error when using my video editing software all in rendering. "Your drive indicates that a failure may be imminent. Back up all important files and replace your player. "I did a backup using Dell Datasafe backup. My warranty is still in effect. What should I do? Ring for a new?
Hi Williamz101,
Error Code 2000-0151 indicates a hard drive failure. Please back up all your important data. Hard drive needs to be replaced.
Thank you & best regards
Mustapha S
#iworkfordell -
I have a Hewlett Packard and my husband has windows 7 installed top and
I do not like. I want to go back to the original settings and I
don't know nothing about it. Please help me.New computers that come pre-installed with Windows often have what is called a recovery partition. This is used to reinstall an operating system in the case of a system failure. To access it, you need to start when you start your computer by pressing a function key. This can be either F1, F2, F9, F10, F11, F12 key DEL or tab. See the manual that came with your PC for instructions on how to reinstall Windows.
This is how the recovery partition is available for the most popular brands
For Dell, press CTRL + F11 directly after switching on the device
For HP, press F11 directly after switching on the device
For Toshiba, press and hold "0" BEFORE and during the power upward
For Acer, press and hold ALT + F10, as soon as you see the logo
For Asus, press F9, as soon as you see the Asus logo.
Advent, restart your computer. Then, press F10 repeatedly until the message "Starting system recovery"
-
Hello
My question is how can I backup the entire system including installed programs and their installation data.
I want to say clearly, backup of data of a personal nature such as my documents or my music (except records of program/data sets) is not the case.
I want just the backup of the system (including drivers, registry and other files releated) and installed programs.
I tried to back up the entire disc.
The problem with, I met is "Windows backup failed while attempting to read from the shadow copy on one of the volumes to back up.
In other words, I want to know the folders to back up and which is not (without getting that error again).
With gratitude,
Guy.
Hello
If I understand correctly you want to backup your computer completely, however you tried to run the Windows backup utility and has encountered an error, "Failed to backup Windows while trying to read from the shadow copy on one of the volumes to back up", is that correct?
To answer your question, Yes! You can perform a backup can be done which includes your data and installed programs.
System Windows Image backup
What is a system image?
Back up your programs, files and system settings
Restore your computer from a system image backup
Please follow the troubleshooting steps to fix the windows back up in question.
Method 1Perform the steps in the article to resolve the problem.
Windows backup or restore 0 x 80070001, 0 x 81000037 or 0 x 80070003 errors
http://support.Microsoft.com/kb/973455
See How to back up or transfer your data on a Windows computer
Method 2
Scan the computer for infections and then run back up please analysis the computer for infections by using the links below.Reference link:- http://www.microsoft.com/security/pc-security/default.aspx#Safety-products-and-scans
Microsoft antivirus software: -.
http://www.Microsoft.com/security/PC-security/malware.aspx
Note: data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.
Please let me know if the steps provided above resolves the problem or if you need assistance.
I hope this helps. -
I got my computer back on the first day and now I lost all my pictures how do I get those photos back
From Internet Explorer
Original title: C:\Users\%USERPROFILE%\AppData\Local\Microsoft\Windows Live Mail\Storage Folders\Deleted items
Backup, backup, backup, this is something everyone needs to do, and if you had you would have had your photos. Now that being said, you can get them at the root of your c: / in a folder named Windows.old. Good luck, but I'm afraid that this may turn out to be an expensive lesson. Hope this helps and if you need another post to help and we will be happy to help you.
The above opinion is mine and mine nothing and does not necessarily reflect that of Microsoft, it's employees, or any other Member of this forum.
"When we try to take anything by itself, we find it hitched to everything else in the universe." -John Muir
-
whenever I update indesign, the software goes back to the french version and I lose all the keyboard shortcuts...
fcontact adobe support during the time pst by clicking here and, when available, click on "still need help," http://helpx.adobe.com/x-productkb/global/service-ccm.html
-
Initially, I got a screen to manage my team. I invited 2 of my 3 members of the team. I went back to invite the 3rd and cannot find this feature most?
Please refer to this article
-
When you use the Brush tool, it always comes back to the single stroke and no fill. How can I fix it? I have already disabled the new art of a choice of the basic look.
Double-click on the Brush tool and you will see important option.
Please also read the manual on the other options.
-
Hello, I had a problem with my band. It does not really suppose he numbered scenes everything in order and he has so far in until I missed an and changed for the good order. But now when I go back to where I left and I have create a new scene number come up as * it and I need to change personally. is their any way I can change it to order normally?
Hello
You can manage this through the "Manage scene numbers" option in the menu 'Production '.
There is a setting in this dialog box to assign scene numbers automatically to the new scenes.
Maybe you are looking for
-
Whenever I have disable Synaptics ClickPad using the option 'disable the internal pointing device when external USB pointing device is attached', it works fine until I restart. When I return in the options, it is still once unchecked. I tried to turn
-
How can I delete one of my folders in Hotmail?
I can't find an option anywhere to remove the files, which I no longer use.
-
If I wanted to use Windows as a platform for a game like World of Warcraft, how could I go to get a license? How much would it cost? And where I could find the actual document? I want only know because I am doing a project for school and I need to
-
Size 50mm Macro life adapter/converter
I own the lens macro 50mm f: 2.5. This objective will focus to 1/2 size but for life-size Canon indicates that I need to buy their single adapter that cost an arm and a leg. What is the advantage of using the adapter/converter Canon instead of use
-
I am running windows XP. I downloaded the file MS File Format Converter and Office Compatibility Pack Service Pack 2 (SP2) and I still cannot open the docx files. I can open .xlsx files. I am running Outlook 2007 and Word 2003. I have 2 other compute