Y at - it hurt with that my code? When I run it I get the message
Mr President.
I run the following script and I get the following message. Why the message of creation of procedure come before the message of table design and why I get warnings.
Y at - it hurt with my code in the script.
Help, please.
BEGIN -- drop tables EXECUTE IMMEDIATE 'DROP TABLE logger'; EXECUTE IMMEDIATE 'DROP PROCEDURE insert_into_logger'; EXECUTE IMMEDIATE 'DROP FUNCTION get_emp_fullname'; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE(''); END; / -- ***** CREATE TABLES ***** create table logger (log_time timestamp) tablespace users; -- ***** CREATE PROCEDURE ***** create or replace procedure insert_into_logger DECLARE pragma autonomous_transaction; begin insert into logger values(systimestamp); commit; end insert_into_logger; COMMIT; END; / -- ***** CREATE PROCEDURE ***** create or replace function get_emp_fullname (empid in number) return varchar2 DECLARE v_full_name varchar2(120); begin select first_name||' '||last_name into v_full_name from employees where employee_id = empid; return v_full_name; exception when no_data_found then return null; end get_emp_fullname; COMMIT; END; / -- ***** End of Creation ***** SET DEFINE OFF; COMMIT;
Concerning
Tender,
What is the complete code?
An example in the following procedure:
create or replace procedure insert_into_logger DECLARE pragma autonomous_transaction; begin insert into logger values(systimestamp); commit; end insert_into_logger; COMMIT; END; /
Replace 'DECLARE' with 'IS' or 'AS'
Your definition of the procedure ends with "end insert_into_logger". So, that is the VALIDATION and the END for?
The code above should be as below:
create or replace procedure insert_into_logger is pragma autonomous_transaction; begin insert into logger values(systimestamp); commit; end insert_into_logger; /
Ditto for any other procedure also. It will be useful.
Reference:
http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14251/adfns_packages.htm#i1006224
http://docs.Oracle.com/CD/B19306_01/server.102/b14200/statements_6009.htm
See you soon
AJ
Tags: Database
Similar Questions
-
When I run CC2015 I get a message that ON Core Foundation9.dll is missing. How can I fix this and what is it?
It's a third party plugin file. Check your plugins. You may have to reinstall, or contact the manufacture to see if they have an update for 2015.
-
Original title: error code 88982F04
Received this error code when trying to install win 10. the message was ' ' has no 1 update "and"windows update has encountered an unknown error." I have win 7 Home premium SP1 running on a desktop HP Pavilion p7-1210 PC. Can someone please help with an answer.
Thank you
Delete C:\$WINDOWS.~BT
Open the C:\ drive, and then delete the folder: C:\$WINDOWS.~BT and then restart your computer, and then try to upgrade again.
If the upgrade of Windows 10 Assistant becomes blocked or unresponsive to different percentages: 0%, 32%, 62%, 87%, 99%, please wait at least 4 to 7 hours. If the installation program does not progress, close the wizard and restart your computer. Follow the instructions to upgrade manually by using the tool of creation of media or file ISO for Windows 10.
If you find it difficult to do some of the steps below, please see instructions how do their:
If you encounter an error about enough space to perform the upgrade, see the instructions:
How to install Windows 10 on devices with limited space
Task of pre-required
When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1
- How to: 10 tips before installing Windows 10
- How to: 10 things to do if the Windows 10 install fails.
Retry the upgrade manually:
Option 1: Using the media creation tool
Download the media creation tool
Click with the right button on the MediaCreationTool.exe file and then click on run as administrator.
Note: How to check if you are downloaded or installed the update Windows 10 November
Select upgrade this PC now and then click Next
Option 2: upgrade using the file ISO for Windows 10.
Task of pre-required
When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1
- How to back up and restore your files manually
- How to free up disk space in Windows
- How to: 10 tips before installing Windows 10
then
- How to download official Windows 10 ISO files
- How to: upgrade previous versions of Windows using the file ISO for Windows 10
then
- Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
- Reboot several times, and then try again.
- Disable the general USB peripherals (for example - smart card reader). You can do so from the Device Manager.
- If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
- Support your default BIOS reset BIOS.
- Check if there BIOS updates available for your system, and then to apply them.
- If you are using a SCSI drive, make sure you have the drivers available for your storage on a USB device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
- Perform a clean boot, restart, and then try again.
- If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both, then try to install.
- If you are updated through Windows Update, when download reaches 100% disconnect from the LAN (Ethernet) Internet or Wi - Fi, then proceed with the installation.
- If this does not work, try using the. ISO file to upgrade if possible.
- If you are connected to a domain, go to a local account.
-
When I launch Firefox normally it goes right to my Google page, but recently when I run Firefox I get a message indicating that Google.com is a unreliable site. I get this message for all engines of search, Google, Bing, Yahoo, etc. How can I solve this problem?
You run Kaspersky, correct? If you use the SSL scanning feature, Firefox must be put in place to approve the present Kaspersky false certificate to decrypt your secure connections. If you used the discount during the last update function - for example, Firefox says it's a bad performance and offers to restore some default settings - you have to do it again the installer of Kaspersky/Firefox.
-
The operation cannot be performed because one or more required items be found.
(Error code - 43)
I have several items in my trash that will not delete. I get the message that precedes, when I try to do. I deleted successfully other files using "delete immediately", but these just won't. I also can not move out of the trash to another folder.
I'm using an iMac with OS X El Capitan 10.11.6 operating system
Have you tried the instructions in the order that they are arranged in you may not empty the trash or move a file to the Trash - Apple Support?
-
I stopped to receive mail after December 31. It indicates that the computer cannot connect to my account but when I log in with my password I get the message "this account already exists." How can I get my email account to work again?
MacBook Air, OS X El Capitan
First of all, make sure that you don't have two accounts with the same address. What happens if one of them is an iCloud account.
From the Mail menu bar, you select
▹ Connection Doctor window
In the window that opens, look for an SMTP (outgoing mail) account with a name that corresponds to the account that you are trying to add. Double-click it. Another window opens, displaying the list of all outgoing mail accounts. Click the sign button less to remove the corresponding one, and then click OK.
Try to add the email account again. If you still can not, log off or restart the computer, and then open the preferences window accounts Internet and check if the account is displayed.
-
Original title: microsoft difficulty 50747
I can't uninstall microsoft silverlight. I get the message that I need to check with the installer of the hotfix package. Pls help!
Hello
Because the problem is related to Silverlight, I suggest you post this question in the Microsoft Silverlight forum.
-
I can't sign into windows live messenger, I get the message that windows live messnger is unavailable currently try again later and also I get the error code 80048820, can someone help me solve this problem.
Hello jabeena, welcome.
This section would apply in fact to the Windows Live programs, but we'll see what we can do to help out you.
I recommend to try this first:
1. disable any antivirus software or security, you have running on your computer. Looking for software to disable that contains a firewall.
2. click on START
3. Type "cmd" (without the quotes). Right-click on the result at the top of the menu START and select 'run as administrator '.
4 type the following and press enterRegsvr32 softpub.dll wintrust.dll initpki.dll
netsh winsock reset
Thank you! Ryan Thieman
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
cartridge problem with photosmart c5550 75; get the message that it is the wrong cartridge
I get the message that the cartridge 75XL isn't the correct cartridge for my C5550 all-in-one printer. We have inserted THREE new 75XL cartridges and the same message.
Hello jjsl,
Welcome to the HP Forums.
I see you have a problem with the printer displays an error of bad ink cartridge.
"Please click on the following link that deals of a ' cartridge Incompatible ' or an 'Impossible cartridge' message on the computer.
If troubleshooting doesn't help not solve your problem, then I would say call the HP Technical Support to see all the other possibilities for you. If you call in North America, the number is 1-800-474-6836 and for all other regions, please click here: click here.
Thanks for your time.
See you soon,.
-
I can't open the RAW files from my Nikon D800 (i.e. NEF files). I use a Mac with Photoshop CS5 and El Capitan 10.11.2 version running. I get a message that "could not complete your request because the file appears to be a model of camera that is not supported by the installed version of Camera Raw. Please visit the Camera Raw help documentation for more information. "Yet the Nikon D800 is on the list of supported devices. Can anyone help?
And temporarily disable the Gatekeeper by allowing downloads from anywhere, or your installer will be marked as 'damaged' because that CS5 is out before Gatekeeper and is not "signed" that is not approved.
-
What kind of image is in a document. INDD so when the file is opened you get the message 'document contains 6 links to sources that are missing' and when you click OK to recreate a link to missing files, the document opens with the images? Missing images are not on my computer, but when the document opens the images are there. I can copy and paste the INDD images in Illustrator. Y files/images/I am able to copy and paste the images that have been incorporated into the INDD file in AI of the INDD file? If this is not what type of image am I copy and paste? Can I take the images that I stuck in there and place them in a new INDD document and have the images to reproduce without problems?
The images could be anything - check the links Panel.
What you see (and copy) is just the screen preview, not the actual image data.
-
I can't reactivate my e-reader with my existing Adobe ID and password which are both correct. I alwayss get the message "the server activation Code error: E_AUTH_NOT_READY" what kind of problem is this and what is more important, how can I resolve it quickly. I'm on vacation and you want to read. Thanks for the quick response.
Yes, actually I talk about digital editions. Do you know how to solve the problem, as stated in my first mail of Digital Editions? Thank you for your kind cooperation.
-
I received an email with 3 accessories, 2 images and 1 PDF. I am trying to open larger photos and I get the message, "we are unable to open this file. You want to save and try to open with another application? »
Why can't click a picture in the mail app and have it launch a photo viewing application. ?What you need to do is to go to control panel > programs > by default of the programs > set your default programs. Or search for programs by default, which must raise I have right as well (just start typing on the splash screen or slide from left to right and click on the search button). Go to the photos and select set this program as default. This fixed it for me.
-
I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)? Fact is need to update itunes?
Hi sonalnj,
I understand that you cannot synchronize your iPhone as iTunes is requested it must be updated. I can help you with that.
According to the technical specifications for a 6 s iPhone, you need a Mac running OS X v10.8.5 or later version with iTunes 12.3 or later. Because you are on OS X 10.6.8 your version of iTunes is up to date with this OS.
iPhone 6 s Tech Specs
http://www.Apple.com/iPhone-6s/specs/Now to fix that, you need to update your Mac OS X 10.8.5 Mountain Lion or OS X 10.11 El Capitan. If you want to go to the Mountain Lion, you can do it with the first link below. The cost will be $19.99 and a code will be delivered to you if you can download it via the Mac App Store. Once you have upgraded, be sure to make all software updates to go with him to get the latest version of iTunes.
OS X Lion mountain
http://www.Apple.com/shop/product/D6377Z/A/OS-x-mountain-lionNow the other option is to move to OS X 10.11 El Capitan, and is a free update that you can do right in the Mac App Store, if you meet the system requirements. Take a look at the following article for more details on how to do it.
Update of OS X El Capitan
https://support.Apple.com/en-us/HT201475Nice day!
-
Whenever I try to update, I get the message "windows Explorer has stopped working". It then seeks a solution, restarts, and immediately stops again. No error, just a constant circle of shutdown and startup code. This has happened for days. I am running windows 7.
I think that norton or mcafee may have been preinstalled as trial versions, but I've never actually used them. Unfortunately I can't use the windows Explorer, so I can't check if they are still there.
We will cover all the possibilities.
1. download each of the tools for deletion below, save it to your desktop:
Norton Removal Tool: ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe
McAfee removal tool: http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe
2. close all open applications (that is, anything with an icon on the taskbar).
3. After completing some you have a copy of your handy product key, uninstall all software (including LiveUpdate and Add-ons of Norton) Norton through Control Panel | Programs | Uninstall a program (or Control Panel |) Programs and features, if you are using the classic view)
IMPORTANT! => Activate the Windows Firewall immediately after the restart.
IMPORTANT! => Now you're "working without a net": no to ANYTHING else online (e.g., navigation, reading e-mail, chat) until you have completed the steps #4, #5 and #6 below!
4. right click on one of the files that you saved in #1 above and select run as administrator to run the utility. DO TAP not your keyboard until the race ends, then restart.
5. Repeat step #4 for another removal tool.
Tips:
-Online use another computer to download the removal tool, if necessary, then transfer it to the computer via CD, DVD, or a USB brand new, never been used (flash drive), or a summer freshly updated in shape.
-Online start the problem in Mode safe computer, if necessary, proceed as above.
-Online after completing all of the above, uninstall AVG Free & reboot. Now do a new installation of AVG Free 9.0, this time select the CUSTOM installation option and do NOT install (uncheck) Linkscanner Search-Shield, Active Surf-Shield, security or the email of crawl components toolbar.
Why you don't need your anti-virus to scan your email
http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm-Online download/run system update before running Windows Update again: http://support.microsoft.com/kb/947821
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
Maybe you are looking for
-
How can I me Thunderbird e-mail sent from a computer that is dead?
I can see something on my last computer and no longer need to access certain emails sent to. I downloaded Thunderbird on my new computer and get email online from my supplier that I can download the program from Thunderbird. Is it possible that I can
-
Using the pencil and iPad to editing text
I'm a writer. When a piece of writing seems to 'fact', I print out and go top with a red pen for the final polishing. I carefully then enter the changes in the document (not my favorite part!). How much of this workflow can I replace via Apple pencil
-
Disable the double click the home button
IPhone 6 - How can I disable double click on the button for the command to NOT come home? Boring... = thanks IOS 9.3.1
-
HP 1b79dx g6: replacement motherboard
Hello I am currently using a 15 inch hp g6 1b79dx wanted andi cpuy and replacemy motherboard and was able to locate the two pieces When finally receive the motherboard and trying to install it does not fit in the bottom of the case. There is no repol
-
HP LaserJet 200 color MFP M276nw trouble after faxing
My operating system is Mac OS 10 10.6.8 product # is CF a 145. When I send a fax, it goes through, but then I get a 'call' short message and then I get a message 'connection' that don't die out. If I hit Cancel, and then 'Cancel' message comes on b