What is the purpose of USE in "run immediately".

Hi all

I just want to understand what is the purpose of USING in "EXECUTE IMMEDIATE".

Say for example, the procedure below, what is the difference? Both will end up in the same result.

DECLARE

FIXED_STAT VARCHAR2 (4000);

VAL_STAT VARCHAR2 (4): = "ijkl";

BEGIN

EXECUTE IMMEDIATE ' INSERT INTO abcd (efgh) VALUES (: text_string)' USING "ijkl";

FIXED_STAT: = "INSERT INTO abcd (efgh) VALUES ('|)" VAL_STAT |') ' ;

IMMEDIATELY RUN FIXED_STAT;

END;

/

Two major assets to HELP to run immediately, i.e. using parameters

(1) SQL statement should not hard analysed by the database every time [performance gain].

(2) more important, to avoid the "SQL injection" and ensure that the variable data will be properly includes as part of the statement

Tags: Database

Similar Questions

  • What is the purpose of VTEncoderXPCService and why should I use so much CPU?

    As you can see in the image as an attachment, it consumes about 300% of the power of my CPU:

    This causes in turn my MacBook Pro CPU to heat and speed up the rotation of the fan.

    What is the purpose of this process? Why is it so CPU intensive even if the Photos app is sitting idle in the background?

    Thank you.

    Why is it so CPU intensive even if the Photos app is sitting idle in the background?

    As you probably know, the conditioned XPCservices which can access the sandbox of a request and securely communicate with him. When you import new media or migrate a photo library, it will create thumbnails and previews of media in the library.  'S done it by background processes began to take photos. These will be run and is same photo is apparently inactive. After the importation of the new media, it is best to keep the pictures running overnight to get background processing as long as you don't need a mac for other tasks.

    VTEncoderXPCService and VTDeoderXPCService convert your videos. If one of them is hogging all processing power, this may mean that you have a lot of videos in your library requiring a conversion or one of your videos is damaged or uses a codec that cannot be treated by pictures. Have you recently to import new videos or migrate a library with videos?

    If a video cannot be treated, remove it from your photo library.  To find the culprit, try to read your videos into pictures.

  • Windows XP Pro. Svchost use 100% system resources when starting. What is the purpose of svch.exe?

    Windows XP Pro. Svchost use 100% system resources when starting. What is the purpose of svch.exe? RWM

    Hi r_miller,
     
    Follow the suggestion given in this article to resolve this problem:
  • When I try to run the program already installed files (including volume control), the system always ask what program I want to use to run it.

    I recently installed a new antivirus protection software, now at any time, I try to run a program he's asking me what program I want to use to run it, even for already installed programs. For IE, firefox, etc, it's simple, but when I try to adjust the volume of the system through Control Panel he asks me what program I want to use it to run only and I can not. Any ideas how to solve this problem?

    Look at the article on execution of .exe files.

    Article number: 950505 - when you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program
    http://support.Microsoft.com/kb/950505

    You can make the default program using set Associations.
    1. open default programs by clicking the Start button, click default programs.
    2. click on associate a type of file or Protocol with a program.
    3. click on the file type or protocol that you want the program to act as the default value. (In this case it will be for .exe files).
    4. click on the change agenda.
    5. click on the program that you want to use by default for the selected file type, or click the arrow next to other programs to show other programs.
    6. (if you don't see other programs or your program is not listed, click Browse to find the program you want to use, and then click Open. If no other programs are installed that are able to open the type of file or Protocol, your choice will be limited.)
    7. click on OK.

    You can also look at the information here: restore the .exe Windows Vista file association, after badly with another application
    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    Thank you

    Marilyn

  • 'The return key in point' - what is the purpose of the present, AND when it is used

    Hello

    There is a property called - key return point automated row Fetch & treatment of automatic line (DML).
    You want to know... What is the purpose of this field and when it can be used.

    Thank you
    Deepak

    It is used when you have a database object called a trigger providing the keys for your tables (the trigger normally gets the value of a sequence, another database object). The trigger returns the generated key, to your form in an element.

    Thank you

    Tony Miller
    Webster, TX

  • What is the purpose of the BOOTSECT. BACK file on a system dual boot?

    What is the purpose of the BOOTSECT. BACK file on a system dual boot?

    Hi Clyde,

    What is the operating system installed on your computer?

    Bootsect.DOS is the boot sector loaded by NTLDR charge BACK, or if there is no file not specified when an operating system is not NT-based loading. When your computer is configured to dual boot in Windows NT version 4.0 and another operating system, it uses a hidden file called Bootsect.dos to boot into the no Windows NT operating system. If the Bootsect.dos file is damaged or is missing from the root of the C drive, you receive this error. Bootsect.DOS is created by the installation of Windows NT. The boot sector in sector 0 of the C drive is copied in Bootsect.dos until the installation program writes the Windows NT boot sector. (Setup will not overwrite an existing Bootsect.dos.) If you choose a previous operating system, Windows NT runs Bootsect.dos, simulating the normal procedure to start the previous operating system. Because the information contained in Bootsect.dos is really created by the previous operating system, it is very difficult to re - create.

  • What is the purpose of the findstr command when the logfile to find?

    What is the purpose of the findstr command when the logfile to find?

    Hello

    Findstr is 'find the string '.

    Findstr
    http://TechNet.Microsoft.com/en-us/library/cc732459 (v = ws.10) .aspx

    How to use findstr to create a the CBS.log sfcdetails.txt.

    Start - type in the search box-> find CMD in top - click right on - RUN AS ADMIN

    put the command from below (copy and paste) in this box and her and then press ENTER.

    findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt

    who creates the sfcdetails.txt file in the folder that you are in when you run it.

    So if you're in C:\Windows\System32 > then you will need to look in that folder for the file.

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    in Windows Vista
    http://support.Microsoft.com/kb/928228

    Creating sfcdetails.txt in C:\Windows\System32

    You can read the newspaper/txt files easier if you right click on Notepad or Wordpad then RUN AS ADMIN - then
    You can navigate to sfcdetails.txt (in C:\Windows\System32) or cbs.log (in C:\Windows\Logs) as needed.
    (You may need to search sfcdetails.txt if it is not created in the default folders.)

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • What is the purpose of the feature 'Love' in music?

    In order to better manage my large collection of music, I decided to use the "beloved".  I began to select the pieces to follow using the feature, but after they are played on my iPhone6 or Nano the designation 'Likes' disappears and I'm left with nothing.  Why is this happening? What is the purpose of this feature?

    It is intended for future fuel recommendations and has nothing to do with the organization or management of a collection. For this you should use playlists or music categories in MY music (Albums, artist, etc.).

  • What is the purpose of the function Array Index in the example attached?

    Hello

    I'm fighting with the Array Index function. I found the attached VI on the OR site which was exactly what I wanted to do, but rather than simply accept that it works and use it, I wanted to understand.

    What is the purpose of the function Index of table inside the while loop? If I put a probe on part and on the other, the values are the same, but if I remove the service and connect directly to the > function, I get an error.

    I do not understand the tables but I don't understand what is happening here. Any help would be appreciated gratefully.

    Thanks in advance.

    It is just picking the first reading of the table in the waveform.  If it's good enough (I'd take at least the average of N samples), why not cela?

  • What is the purpose of ASAv and physical differences?

    Hello dear friends!

    I'm a newbie in network.  I have a task in my FIRST job for the ASAv: what is needed for installation, requirements for hardware, software and so on.  But I don't know anything about ASAv. I have red some materials already but now I have a few questions:

    1. What is the purpose of the ASAv?
    2. What is the difference between ASAv and ASA physical, except that one is virtual? (objectives, functions and so on)
    3. What is - this to implement ASAv, when/why/where is it necessary use ASAv?

      Thank you! :)

      PS sorry for my English, it's not my best skills.

    1. If you have virtual servers in wmvare and you want to protect some servers to another, so you need asa virtual wmvare

  • What is the purpose of the sale of operating system preinstalled on laptops?

    What is the purpose behind the sale of operating system preinstalled on laptops? You try to save 1 cost of DVDs?  I either have to use my recovery DVDs (which is full of junk btw) do more DVD and disk space or try to look for OEM copies or other sources of torrent which contains mostly horses virus/Trojan etc... (given that my laptop have ultimate am I looking for my own language as well) Since your price of the OS is included in the price of laptops, what is the purpose of this Act cheap marketing? Im sure even download it costs you and me in terms of bandwidth internet. I paid for it and I want to do a clean install of it whenever I want.

    Original title: A Simple Question

    Versions OEM Windows 7 that are pre-installed on new computers laptops or desktop computers is significantly cheaper than commercial versions. Because manufacturers buy Windows licenses in bulk, it offers the flexibility to offer more affordable way for consumer Windows.

    Imagine paying $300 to $ 50 on this new PC? In fact, the OEM might pay $50 for the license, but likely to be practiced only $25 for the consumer.

  • What is the purpose of Livecomm.exe and Skydrive.exe

    What is the purpose of the two of them?

    Is Livecomm required on W8 for synchronization of Skydrive?

    How can I permanently stop Livecomm?

    It sounds like a great answer but is not an answer to the question. Files exe is at the heart of the app for Live services. The suspended state may or may not be defined according to the app. If no activity is required by an application, then it will call to suspend. It can also wake up and not be suspended. Suspended has nothing to do with anything. All EXE can be suspended, but metro apps call to suspend design.

    A metro app is an executable that runs in the sandbox of Metro. Other than that, it is still an executable and still works as a. Consider a process running under the control of the session the subway, but it's still just an app with a new fancy name (aka Apple). If I look at the Task Manager will see all kinds of processes that are suspended. Many have nothing to do with the subway.  What I'll see intermittently, is the "communication Service" is suspended. This is the main task for the mail of active components and contacts. He works intermittently to query for updates. In the meantime, it hangs. When you look at the splash screen or metro you don't see it, but it is always the case.

    I suspect that the suspended status does not appear when we first open Manager tasks because the Task Manager is not completed update. I can force it to switch by flipping back. but it just will not be suspended for a fraction of a second.

  • What is the purpose of the type of plan in hyperion planning?

    why we use the type of plan what is the purpose?

    Plan types allow you to break a budget or forecast of components - serving slightly different purposes each.

    You might have a Plan Type where you budget data of salary & compensation for employees. Where analytical budgets can be moved into another Type of Plan which users budget expenditures not compensation & revenue to build a larger budget. A third Type of plan could be used to review the budget in a reporting application.

    Each Plan Type uses a separate Essbase database. The type of database can be either ASO or OSB Office.

  • What is the purpose of Missing: 0 / Changed: 0 in the Info Palette

    I searched the manual online and all sources of adobe, but I can't find the answer to this:

    What is the purpose of Missing: 0 / Changed: 0 in the Info Palette

    It shows that if you have smart objects checked in the Options of the range of information.

    Thank you

    MT

    If you put a file in a PS document using the linked location option, the PS remains connected to the external file. That means that you can change the file outside the PS, and the changes will appear inside the PS it looks pretty cool, except when the PS loses track of the external file, what happens if you move or rename it. Info missing/modified means the related files.

  • What is the purpose of the method org.eclipse.jst.ws.util.JspUtils.markup (String text)

    I am checking previous application is implemented for web services where the request and response instance of the classes generated by the objects are .wsdl file.

    I go through the code and found this line after obtaining of response objects

     String someVariable=org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(response.getSomeVariable()));

    I tried to find out what is the utility of this method org.eclipse.jst.ws.util.JspUtils.markup(String text) but I couldn't find something clear on the internet.

    I found this implementation of the method , but I did not always understand the purpose of this method in the web services .

    I use Jdeveloper 11.1.1.7

    City

    Of course, the method takes a string and escape those characters that have a special meaning in XML and HTML.

    Example:

    val <= 1.5is converted toval <= 1.5

    see this link for more information:

    http://StackOverflow.com/questions/23238841/what-is-the-purpose-of-org-Eclipse-JST-WS-util-jsputils-markupString-text-Meth

Maybe you are looking for