Update statement can be used depending on the result cache?
Hi all
I stumbled on an interesting question. UPDATE statement is used in the following function, even if the feature is created RESULT_CACHE. It seems illogical. I was wondering, is it possible?
If so, why RESULT_CACHE is used? Because it means "do not execute the function, look for the result of the hash table and return the results to the user ' if the UPDATE statement, so doesn't mean it should run for each call and use with RESULT_CACHE and UPDATE/DELETE/MERGE is illogical or wrong?
Thanks for your help.
FUNCTION to CREATE or REPLACE plch_get_data (FULL id_in)
RETURN VARCHAR2
RESULT_CACHE
IS
BEGIN
Dbms_output.put_line ('run');
UPDATE plch_data
SET nm = UPPER (nm)
WHERE id = id_in;
COMMIT;
RETURN "SUPERIOR."
END;
/
Yes, it's the challenge of PL/SQL quiz - and the point of the quiz is only automatic relies on parsing by Oracle only supports arrays of account that is QUESTIONED.
The tables that are affected by DML not a query as an update do not figure in automatic invalidation of a cache.
I was hoping that the explanations given in the questionnaire itself would not lead to a thread - rather it would provide a pleasant and clear answer. So feel free to let me know if you think otherwise.
As to why Oracle would let you include DML not a query inside a function of caching of result, well... I can easily accept that you shouldn't do this - in general. But I don't see that we should make it impossible. It would probably be a good candidate for an another PLW (PL/SQL warning), as in:
"Non-requetes DML in a result caching function will not affect caching and can result in unexpected results."
Tags: Database
Similar Questions
-
Windows 7 and windeos 10 can be used together on the same PC?
Windows 7 and windeos 10 can be used together on the same PC?
Yes, you can, but you must purchase the full license details and do. You cannot use the free upgrade offer for dual boot.
Will I be able to choose a different drive or partition where I installed upgrading?
No, it will take you run an earlier version of qualification and start the update of the release candidate.
I want to dual boot instead of replace my current version of Windows.
If you need to install 10 Windows on a partition or separate hard disk, you will need to purchase a full license.
Retail price of price information:
Edition Price Windows 10 home US $119 Windows Pro 10 US $199 Pro Windows 10 Pack US $99 -
Whenever I install automatic updates, I can no longer connect to the internet.
Whenever I install automatic updates, I can no longer connect to the internet. I perform repressive restore, this solves the problem, until the next update. It already has cost me over $ 300 and now I can is more updated windows if I want to keep my internet connection?
Hi Beverly,.
Welcome to the Microsoft community!
After the description looks like after installing the updates you can't access the Internet. We need additional information about this problem. Please answer these questions to help you best:
1. What antivirus do you use?
2. what happens when you try to connect to the Internet after installing updates?
3. the updates are installed on the computer?
Provide us the details of the update that you have installed.
For more information, see:
See the Windows updates are installed
Method 1:
After you install the updates, check if you are able to connect to Internet in Mode safe mode with networking.
Step 1: Networking Mode safe mode starts Windows in mode safe mode and includes the network drivers and services needed to access the Internet or other computers on your network.
Check out this link to start safe mode:
Start your computer in safe mode
More information on:
Startup options (including safe mode)
Step 2: If you are not facing the problem in safe mode, and then put your computer in a clean boot and search for the question.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: Once you are done with the boot, followstep 3in the article by putting your computer to normal startup.
In addition, visit these links and try the steps listed in the link provided and check if that helps.
Windows wireless and wired network connection problems
Why can't I connect to the Internet?
http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet
Hope this helps and provide us more information if you need more assistance.
-
How to start a job using DBMS_SCHEDULER depending on the result of other JOBS
How to start a job using DBMS_SCHEDULER depending on the result of other JOBS
For example I have two jobs A and B of EMPLOYMENT, I would like to start JOB B only when a JOB is complete, is an option like that?
Hello
Yes, you can create a channel with the Scheduler, see the documentation:
Creation and management of channels of employment
http://docs.Oracle.com/CD/E11882_01/server.112/e25494/scheduse.htm#ADMIN10021
-
I have downloaded whatsapp in iTunes on my mac laptop but can't open it or use it. I have already on my iPhone 5. How can I use it on the laptop? Thank you
You download it from iTunes or the App Store? An iTunes download works with an IOS device, not a computer.
-
AD can be used to configure the registry?
Active directory can be used to configure the registry? My understanding is that only local security settings can be configured using Group Policy in the ad. I've always written scripts of security in order to harden the registry. Please adise, thank you
This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
If you give us a link to the new thread we can point to some resources it -
is Acer Liquid Z320 smart phone really unlocked and can be used all over the world?
is Acer Liquid Z320 smart phone really unlocked and can be used all over the world?
NETWORK
Technology GSM / HSPA 2G-banding GSM 850 / 900 / 1800 / 1900 - SIM 1 and SIM 2 (model dual-SIM only) 3G bands HSDPA Speed 42.2/5.76 Mbps HSPA GPRS Yes EDGE Yes http://www.GSMArena.com/acer_liquid_z320-7531.php
These are the tapes supported Z320, if as long as it is unlocked, you mean the possibility to use different carriers in the world, that Yes it is.
at least if your don't buy it with a specific transport contract.
-
Order WMI - what command can I use to get the temperature of the GPU?
Which command can I use to get the temperature of the GPU in WMI?
Hi Daniel_99,
· Do you use some kind of scripts?
Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.
http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro
I hope this helps.
-
application of windows 8... can I use to open the ram files and how it works
I think you are talking about the files with a. Extension of RAM. If that is the case, have a read of the information at the link following, be careful, do not click on the buttons of the big 'Download Now' here, they are simply advertisements:
http://www.FileInfo.com/extension/RAM
Real Player is a program that should help you to open these files. You can search and download the Windows Real Player 8 compatible version on their site.
I hope this helps!
-
When you buy an extended image lisence adobe stock can I use it as the back ground for a mail announcing who will be on the first page of my business profitable online store?
Adobe Stock license allows you to use your assets anywhere in the world, and the license never expires. You can use the assets, in print, presentations, Web sites and even on social media sites. However, you may not distribute digital assets by posting it online or in any other way that would leave other people to use the assets without permission it is.
from there:
-
Any idea which function Essbase or a combination of function can be used to get the level zero members of a list of members. I know that @RELATIVE or @DESCENDANTS cannot be used.
If you want to fix on all level 0 members in a member set, then maybe @ILDESCENDANTS will work for you. Something like: @ILDESCENDANTS (@LIST (members), 0)
-
If I buy the first pro adobe license, can I use it on the cs4 version?
If I buy the first pro adobe license, can I use it on the cs4 version? Or how do I unstall latest version on windows 7 x 86
No, licenses are only valid for the version for which they are purchased. CS6 license will work not for a CS4 product.
-
Can I use pictures from the reserve for commercial use for my members to do with. We would not sell the photos but the use for commercial use. (the 29.99 price months?)
Thank you.
Barbara
In your case you will very likely get extended licenses for images from Fotolia.com otherwise you would have to buy a new license for each Member who has access to use the weather picture they actually use it or not...
-
I ordered and paid an annual ADOBE PDF PACKAGE that is scheduled to expire April 2016. But I can't use any more the pack, it's just contractually or is an abuse of the COMPANY ADOBE?
Hi renzov75729811,
Is there an error message?
Make sure that you use the last DC of Adobe Acrobat Reader Acrobat Reader DC Learn & Support to use Adobe PDF pack or attempt to use the service online at https://cloud.acrobat.com/
Kind regards
Nicos
-
Hello. I have Photoshop CS4. Can I use this with the latest Mac OSX version10.10.1?
Hi Sonste,
Greetings.
For many people, it worked, and for some, it didn't.
CS 4 could give you a run-time error java you can download an installation
Suggest you check the link call
http://www.Mac-forums.com/OS-x-operating-system/317803-Adobe-CS4-Yosemite-10-10-a.html
Concerning
Rohit
Maybe you are looking for
-
Can I follow a mixed network router on Mac?
I have a new router Linksys EA7500 which I use to extend (bridge mode) my Time Capsule Apple's 802.11n Airport (4th generation). When using my old Airport Express in the same way that I could easily monitor devices using Airport utility (6.3.6) list
-
ENVY 27: SMART disk error
Since yesterday my PC Envy 27 reports error Smart HD. The details of the error message are: The hard drive name: 10000LM014-1EJ164-SSHD Volume: C:\;D:\ I managed to back up my files. PC ist still restart but with repeated error note. I did the Wind
-
I'm tasting a CAN signal to 5 KHz. The signal is sent to every American (approx.) 240 (~ 4 KHz). I chose the mode of Signal waveform with ResampRate with 5000, to make me a resampling of the signal received at the rate of 5 KHz. I get a read buffer o
-
USB PORTS to shut DOWN Windows XP
After being inactive for some time, usb ports on the computer do not work properly. A USB keyboard and a USB mouse is connected. After the passage of the mouse in the remaining 4 different ports he can finally start working again. I checked all of th
-
Cannot install for photosmart d110 driver because not digitally signed
D110 Photosmart all-in-one. Cannot install driver after running recovory disc. Windows 7 64 bit Dell Inspiron 580. I had to run the recovery disk after receiving the virus/malware. It seems that all the other printer drivers are on my computer. I