difference btw dbms_sql.execution and immediate execution

Hello

IAM using 10g, difference btw immediate.please dbms_sql.execution and execution to tell me.

797525 wrote:

IAM using 10g, difference btw immediate.please dbms_sql.execution and execution to tell me.

SQL all (and all the anonymous PL/SQL blocks) are analyzed by Oracle as a SQL cursors. These cursor structures are stored in the Shared Pool in the SGA (shared memory area which are essentially the "brain" of the database instance).

Once a cursor was created for a statement SQL, how to use and interface with this SQL cursor on the server (from the point of view of the customer)?

We use on the client side, a calling interface (or API) that allows our code to interact with this SQL cursor on the server. This interface can be ODBC. Or BDE. Or ADO. Or many other 3-4 letters for database interfaces.

PL/SQL is also a language of 'customer' from a SQL perspective. Such as Java and c#, the code PL/SQL will be calls to the SQL engine to analyze and create SQL cursors.

Of course, PL/SQL differs in 2 areas. It runs in the process of the Oracle server. It is the neighbour of the SQL engine.

For this reason, PL/SQL is much more perfectly integrated with the SQL than Java or c#.

But even in spite of this integration, you still need an interface in the client (PL/SQL) to interact with the SQL cursor, that you have created. In PL/SQL, there are a number of such interfaces customer.

There are explicit and implicit cursors. And there are sliders DBMS_SQL and reference. And there are implicit cursors created through immediate enforcement.

The difference between DBMS_SQL and immediate execution is therefore a difference in customer language interface. The SQL cursor on the server (in the shared Pool) doesn't know what customer interface is used. He cares not.

Client side, each of these client interfaces to a SQL cursor has a different function. And determines which one to use.

run immediately , it's fast and easy for dynamic SQL, but it cannot be used to determine the structure (called projection SQL) returned by a cursor to Select . So despite the dynamic SQL code, we must always know the encoding of time, just what this slider will return to consume its production.

DBMS_SQL to 'describe' the cursor SQL projection. So, we can create a dynamic Select SQL cursor. We can question its interface describe in order to determine the number, names and the data types of the columns returned. It can be removed these column values dynamically and consume the cursor.

There are therefore a major difference in the two feature sets. Tools for interfacing with the same SQL cursor.

So the main points to remember are:
-all SQL liquidation as SQL cursors on the server
-you have different interfaces in the language of the client to interact with a SQL cursor

++

Your mission as a programmer, if you choose to accept it, is to determine which of these client interfaces is better suited to meet the requirements in your code.

This message will self-destruct in... 5.4.3 2...

Tags: Database

Similar Questions

  • What is the difference btw: block.item and $item.block.item.value in State of form customization


    Hello

    What is the difference btw: block.item and $item.block.item.value in the customization of the form State section

    I've seen this condition as

    triggering event

    the point at which instance

    : PRESS RELEASE. PICKING_RULE not in the ('US_CB_1', 'US_CC_1', 'US_CA_1', 'US_CU_1')

    and

    When the point instacne

    ${item.release.picking_rule.value} not in ('US_CB_1', 'US_CC_1', 'US_CA_1', 'US_CU_1')

    the two are the same or different

    Thanks in advance

    In the particular example that you use, no difference, you are getting the value and comparing it with a set of values.

    The second form of the syntax, however, take into account what follows, while the first only retrieves the value of the field:

    Conditions can refer to properties of objects using a SPEL (simplest Possible Expression Language) syntax. For example, allows you to create a Condition that tests whether a field is displayed or not. These expressions take the following general form:

    ${objectType.objectName.Property}

    Internally, the expression of SPEL is a cover for Oracle Forms builtins like GET_ITEM_PROPERTY, GET_BLOCK_PROPERTY, etc. In addition, expressions of SPEL are supported recovery values of profile, the dictionary of text messages and local Variables (described later).

  • difference between the execution plan and explain the plan?

    What is the difference between the execution plan & explain the plan?

    an execution plan is the actual steps that oracle will pass by when it executes a query.

    explain plan is a tool that is used to generate the steps of an execution plan for a query.

  • Restore normal and guaranteed difference btw points

    Hello

    What is the difference between the normal and guaranteed to restore points? I went through the doc, but of no use, so in words simple whats the major difference between them?

    concerning

    Jafar

    Hello

    There is a simple difference, once you have created a restore point and think off after the given period of time the Flash back newspapers went due to the elderly namely, flashback logs are put at the time specified by the parameter of db_flashback_retention_target database.

    Now, in this case, it's just a normal restore point.

    Assume that you created the restore point of gurantee that makes newspapers needs a point of particular restoration is available.

    Here is a demo for you
    http://www.Oracle.com/technology/oramag/Oracle/06-Nov/o66recovery.html

    one more... Nice info
    http://Coskan.WordPress.com/2007/08/07/guaranteed-restore-points/

    -Pavan Kumar N

    Published by: pounet, Sep 19, 2008 12:33

  • The difference between the ADR and ADF

    People,

    Hello.   I have implemented PeopleSoft Campus Solution 9.0 revision 5 for a University. I develop the application for Admission online for future student to apply for admission.

    I need to install Oracle ADF (Application Development Framework) or ADR (execution of Application Development) to run my application for Admission online web page for PeopleSoft Campus Solution 9.0, but I do not know the difference between the ADF and the ADR.

    My installations are below:

    Server machine: Oracle Linux 5.10 (64-bit)

    Client computer: Windows XP Professional (64 edition) with the Internet Explorer browser

    Architecture Internet Oracle Linux 5.10 Server:

    (1) database server: Oracle Database 11 g

    (2) the server application: Tuxedo 11 g

    (3) web Server: Web 11 g logic

    (4) browser: Firefox Mozila

    5) 8.53 PeopleTools and PeopleSoft Campus Solution 9.0 R5

    On the download page http://www.Oracle.com/technetwork/developer-tools/ADF/downloads/index.html , there are 2 packages to download:

    (1) execution of the 12.1.3.0 application development

    (2) oracle ADF essential 12.1.3.0

    My Architecture Internet of PeopleSoft as shown above has been working properly for a long time. Logical Web 11g works correctly. It seems that the first 'Application development performance' package also install logical Web server which is not necessary in my machine. In addition, ADR is not free, and we may need to purchase the license.

    Essential because ADF is free and without license fees, I chose Oracle ADF essential 12.1.3.0.0 to develop the application for admission online. I read his paper on http://www.oracle.com/technetwork/developer-tools/jdev/documentation/121300-cert-2164864.html

    9.0 Solution Campus system will be run by a University to do business formally.

    My questions are:

    First of all, what package is right for my application for Admission online Campus Solution 9.0? ADR or essential ADF?

    Second, if choose essential ADF, I have a few questions about the 12.1.3.0.0 ADF to match my installations as below:

    (1) as indicated in the document, ADF 12.1.3.0.0 can work with Oracle Linux 5 & 6 (64-bit) and other operating systems. ADF can also work with Windows XP? Can I install ADF with my Oracle Linux 5 server machine?

    (2) as indicated in the document, ADF 12.1.3.0.0 can work with Websphere Server Application. ADF can work with Tuxedo 11 g?

    (3) as indicated in the document, ADF 12.1.3.0.0 can work with the Firefox browser. ADF can work with Internet Explorer in Windows XP?

    Thanks in advance.

    If you want to use essentials, you must download the package from the essential. ADR is the complete stack where you must purchase a license.

    Timo

  • Difference between the message and conversation

    What is the technical difference between a message and a conversation. Is that when multiple messages are in 1 conversation?

    A message.
    An email received or sent is a message.

    A conversation can be launched with a message.
    A conversaion can have messages, screw where the example: the 'Reply' button was used and enamel is spent here and there with the comments.

    If you select multiple messages in a list, they will be displayed below in the Message pane in the form xx number of conversatons.

    If you right-click on a message in the list and choose "open in a conversation." then it will open in a new tab showing all the emails included threaded, which are relevant to that conversation, both received emails and those you sent.

  • What is the difference between the password and access code

    I get all the IDs and passwords and none are accepted

    "I received message' iPad requires your password after restart", but it does not accept passwords

    What is the difference between the password and access code

    Standard codes which block the iPad are 4 or 6-digit. You can set a more difficult to decode, personalized access code / password in the settings using letter and numbers if you wish.

    A password is a series of numbers, symbols and letters that a user putting in place to protect the information in a frame, a web site, e-mail, etc. This may actually be a word or series of words, if you wanted to set up in this way.

    Your iPad is looking for this 4- or 6-digit code. If you can remember, you must restore the device so for free.

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • Difference between Portege R700 and Satellite R630

    What is the difference between the two models, Portege R700 and Satellite R630?
    Is it only fingerprint, port dock station reader and a more powerful configuration (CPU, SSD, WiFi 802.11n, Type)?
    Is this the same materials used body? Is it the same weight?

    I found this comparison:
    [http://www.ultra-laptops.com/comparisons/toshiba_portege_r700-s1330_vs_toshiba_satellite_r630-131]

    Hi snicker_1,

    There are many differences between these models and also, there are different R700 and R630 models on the market.

    In my opinion, you should check these notebooks from Toshiba Web site. There you can see what models are currently available and the configuration.

    Satellite R630 page:
    http://EU.computers.Toshiba-Europe.com/innovation/generic/B2C-satellite-R630

    Portege R700 page:
    http://EU.computers.Toshiba-Europe.com/innovation/generic/B2B-Portege-R700

  • Difference between the G20 and G25 models

    Hi people!

    I searched your laptop and I was amazed by the Qosmio.
    When I was going to order it, I noticed that there are many models of the G20 with different specifications. Also, I found G25 on internet research and found no difference between the G25 and G20 except receiver TV G25 is NTSC and G20 was released on March and G25 was in June. Instead, they have the same specifications for the hard drive.

    I live in the Portugal and the model Qosmio I can find that this is the G20-118. I was looking for the model that has 2 x 100 GB SATA HD, but cannot not thought about it.

    Internet research I found Qosmio G20-111 which has 2 x 100 GB SATA HD, but on the web page mentioned that it was a Pentium III processor (ridiculous, isn't?). I was looking for more reliable information.

    Already searched for toshiba pages and found no specifications for all models I found 490LS on the research on the web as the G20 - 102, 105, 106, 108, 109, 111, 118, 123,...

    Can someone help me with this? Are there any reliable web page where I can see the differences between the models? is there a .pdf or anyone who can please give me some advice?

    Money is not a problem at this time to acquire the laptop, I'm looking for only the laptop performance more!

    Best regards
    João Pereira

    Hello

    It of very difficult to say what camera is best, because there are many models with different parts.
    However, I found page with description of the G20 and G25.
    Take a look at this link.

    http://www.releasereview.com/Toshiba-Qosmio-G20-105-108-114.aspx?d=0101000580926052005

    Good bye

  • What is the difference between the iwatcha and the Apple Watch?

    What is the difference between the iwatch and Apple Watch?  In the sales pitch pre for the iwatch, the price was given to about $17,000, while the Apple Watch sells in the $350-500 range. What gives?

    There is no such thing as a iWatch.

    There are three versions of the Apple Watch.

    Apple Watch Sport

    Apple Watch

    Apple Watch Edition

    https://www.Apple.com/watch/buy/

  • Jack screw part number clarification: difference between 187949-01 and 187949-10

    We bought a few jack live, Mfr P/N 187949-10, but the parts are labeled 187949-01. What is the difference between-10 and -01. Are parts of the same, but differ only in the amount of packaging? Thank you.

    Hi Mwong,

    Thanks for the post and I hope that your well today - welcome to the Forums of NOR.

    I'm sorry to see that you have not yet received any support.

    Looking at the site, ni.com, here, I found this information,

    Specifications and manufacturers for Council mating of connectors

    http://digital.NI.com/public.nsf/allkb/8ECF4BAD615F18BC8625648400521E97

    (1) 4 piece Kit of screws for connection cables 187949-01 locking screw

    (10) 4 piece Kit of screws for connection cables 187949-10 locking screw

    That is why the differences between the 01 and 10 is the number of kits.

    However the link here.

    Specifications and Dimensions of the female connectors to screws used on 68 pins plug-in connectors

    http://digital.NI.com/public.nsf/allkb/43771DBD89FADB7B86256BC90053EC08

    "The kit contains 40 screws and washers (enough to convert the two ends of the).
    10 sets of cables). The part number of the kit is 187949-01 "

    But I guess that goes back to were you waiting for 1 or 10 sets?

    I hope this helps.

  • geometric matching: difference between the scores and correlation

    Hi all

    What is the difference between the scores and correlation in geometric correspondence?

    Hello

    the correlation score is based on pixel intensities while the score of the geometric game also considers the characteristics of the geometry. See the Concepts of Vision or (geometric matching-> discussion).

    I hope this helps.

    Best regards

    K

  • What is the difference between the IO and line?

    Hi all

    I'm using Labview 7 and in my mahcine I have an installed 6013 card. However, there was an interface card designed by someone else long ago, on the table, only AO0, AO1,..., A07, DIO0, DIO1,..., DIO7 were printed. In the program, I saw some code to write to digital Line.vi allows you to send data to the digial io. Say that I write for DIO 3, so I understand here DIO 3 means the channel of e/s 3, but online? What is the difference between the channel and the line? When I write the data to a single channel of e/s, are us wriitng a byte or a bit of it? Thank you.

    A channel is usually used with inputs/outputs analog.  Each AI or AO is a string.

  • The difference between Measurement Studio and NiDAQmx?

    What is the main difference in Measurement Studio and NIDAQmx. I have a DAQ software, which was originally developed in Visual C++ 2003 M, who initially used Measurement Studio. Now, I want to replace involved studio by NIDAQmx latest version. It is Possible to do?

    Hello

    Measurement Studio is an extension for Visal Studio, which contains a variety of libraries for measurement applications as well as user interface such as graphics.

    DAQmx is the setting for hardware drivers for Multifunction DAQ devices of NOR. If you are using a DAQ card, you need this driver to access with any environment programming (LabVIEW, CVI, C, C++, .NET).

    This means that you can access the material, also with Visual Studio, which has no Measurement Studio installed. Although Measurement Studio is analyze and present the data acquired much easier.

    Kind regards

    Robert H

    OR Germany

  • 8.5.1 LabVIEW Student Edition - differences between the Mac and Windows versions?

    Hello

    I just bought the student of LabVIEW 8.5.1 version and I use Mac OS X 10.4.11. What are the biggest differences between the Mac and Windows versions, since the box came with a CD of installation of Mac and a Windows DVD Installer?

    See you soon

    Looks like you got the LabVIEW Student Edition Software Suite DVD.

    It comes with 6 boxes to tools, and the TME product, some (or all?) of those who are windows only (at least 8.5), for example:

    • Toolkit Digital Filter Design
    • Modulation Toolkit
    • SignalExpress
    • ...

    Since you have 8.5, you are missing also a few basic things that only recevied at the 8.6MAC support, like Mathscript, Control design and Simulation and native 3D graphics.

Maybe you are looking for