In plsql which block will execute first inner block or outer block...

In plsql which block will execute first inner block or outer block...
pls help...

Outer block starts execution first.
Inner block completes the execution first.
Suresh.

Similar Messages

  • Which event will trigger first?

    hi, any one can explain me the execution of at selection screen events in order.
    which event will trigger first at selection-screen output or at selection-screen?

    Hi,
          The Selection screen sequence is-
    1) AT SELECTION-SCREEN OUTPUT
    2)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <FIELD>
    3)  AT SELECTION-SCREEN ON HELP REQUEST FOR <FIELD>
    4)  AT SELECTION-SCREEN ON <SEL_OPT>
    5)  AT SELECTION-SCREEN ON <PARAMETER>
    6)  AT SELECTION-SCREEN ON BLOCK <B1>
    7)  AT SELECTION-SCREEN ON RADIOBUTTON GROUP1<RAD1>
    8)  AT SELECTION-SCREEN
    9)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <SEL_OPT_LOW>
    10) AT SELECTION-SCREEN ON HELP REQUEST FOR <SEL_OPT_LOW>
    11) AT SELECTION-SCREEN ON END OF SEL_OPT
    ***DO REWARD IF USEFULL
    REGARDS,
    VIJAY

  • Which thread will start first?

    Hi,
    I have a very basic question for you folks, considering the following example code,
    new thread(new Runnable(){
    public void run(){
    TestThread t1 = new Thread();
    t1.start();
    }).start();
    Now the question is which thread will start first. The outer one or t1?
    Any explanation would be greatly appreciated.
    /khurram

    Sorry - I should have been more clear
    Runnable r = new Runnable() {
      public void run() {
    }; //the run() method has not been called yet!
    r.run(); //now it has!is defining a class which is to be instantiated. By "defining" a class, I mean providing an implementation of one of the class's methods. This method will not be invoked until explicitly called on the Object "r". The is exactly what is done when the start() is called on the outer thread. Is this a bit clearer?

  • Which will execute first in File Adapter (parameter,Identifier,module)

    Hi,
    I have written a module for my sender file adapter, and choose FCC to parase my complex structure...here my doubt is whether adapter module will call first or FCC which is there in Identifier tab in file adapter?
    Regards,
    Irshad.

    Chandras sekhar,
    i have already seen that blog...
    could you plz read my message once again?
    Regards,
    Mansoor
    ya i got it..Call sap adapter module will store the message in send queue.
    just want to know which module is building the xi header whether it is same call sap adapter module or is there any specific module which will convert native message to xi message.
    Is call sap adapter module is the responsible for building the xi message header with the help of cpa lookup? if its so again confuse for me.....
    In File adapter we have 3 tabs one is parameter identifier and module...As u said first parameter tab will run as per FCC/ File message protocol then this parsed/content of text file will be input to the module tab .in this module tab we have custom modules and standard module these modules are executed in the same sequence as mentioned.
    what is the module name which converts native message to xi message?
    Regards,
    Mansoor

  • While executing the application which method will trigger first

    Hi all,
    while executing a webdynpro application which hooker  method will trigger first?

    Hi Naveen,
    The first method called is the WDDOINIT of the component controller.
    For more details on hook method please see the below link.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/HooksMethodsinWebdynprofor+ABAP
    http://help.sap.com/saphelp_tm70/helpdata/en/45/c87f413e70010de10000000a1550b0/frameset.htm
    Thanks
    Pradeep

  • Which will execute first

    Hai,
    I am having Where class and having class in a single select query.. Which will execute at first.

    user12283394 wrote:
    Hai,
    I am having Where class and having class in a single select query.. Which will execute at first.select deptno, min(SAL), max(SAL) FROM EMP WHERE job='CLERK' group by deptno having count(*) > 3;
    You should read basic sql query comment..
    Refer :-
    http://dbis.ucdavis.edu/courses/sqltutorial/tutorial.pdf
    Regards
    Azar
    DBA

  • How long will it take? --OR-- Which order will arrive first?

    *So, let me fill you in on my order timeline (debacle)...*
    • July 5 ... I placed order with AT&T *on the phone* for 2 16GB iPhone 4's with 2 new lines of service. (first time iPhone buyer, new -- actually, coming back -- to ATT after 11 yrs w/ Sprint.)
    • July 7 ... I received and accept the Terms & Conditions agreement... but because of _order entry error_ my order could not be processed.
    • After I make some twitter-gripes I get pinged by AT&T's social media team offering to help.
    • With a couple of exchanges and phone calls, I was assured that my order would be fine -- my order can proceed even with the error/wrong information not needing to be fixed -- and should expect it in 7-14 days.
    • July 12 ... I checked my order status online only to find that there is no record of my order.
    • I called to find out what was up... I explained my story to the AT&T CSR and he took it upon himself to FIX the error/wrong info. _Little did I know that *this action would cancel my previous order and place a new one*, in spite of being assured that my previous order would remain in tact_.
    • July 13 ... my credit card was charged for my order.
    • July 15 ... my order status is available online... it says "processing" and is "backordered."
    • July 19 ... an AT&T social media rep voluntarily calls me to connect me to an order rep... she tells me that I should have been told 7-14 BUSINESS days (which I have no recollection being told that, nor reading that in any documentation), and *given that my order was placed on July 12 (and NOT July 5)*, I "should expect delivery by July 29"! (CSR's words)
    • July 19 ... went to physical ATT Store to place an order for 32GB iPhone4 -- intending to return 1 of the 16GB and pay the difference. _At this point I am running an "experiment" to see which order will arrive first_.
    • July 20 / 9am ... the online order status check shows NO RECORD of my previously existing order -- where'd it go?!!?!?
    • July 20 / 3:30p ... ahhhh... must have been a server glitch b/c I can see my order again.
    • UPDATE: July 22 ... no change for my 2x16GB order... no change on my 32GB order.

    my 32GB order arrived at AT&T Store… went to pick it up but could not walk out of the store with it lest the 2x16GB order get cancelled!!!!
    The super-nice and cool CSR informed me that because I have a pending order tied to the number I am porting over, if I were to activate my new 32GB, then he’d have to cancel the 2x16GB order (as of today, that order is STILL backordered). What’s more, I cannot walk out of the store w/ the device because I paid for the “subsidized” $299 price point for a 2-year contract… and I can’t initiate a 2-year contract with out canceling the 2x16GB order!
    CSR said he’ll hold my device until I receive the 2x16GBs.
    I’m stuck… and so, I wait… again…

  • TCP Communication - How can I remove the priority of which VI will run first?

    Hi. I would appreciate for any advise.
    I want to communicate (send data) to another PC using wireless radio. I am presently testing the shipped examples;
    TCP Communicator Active.vi and  TCP Communicator Passive.vi. I will run first the Passive.vi in the other pc (as
    indicated in the instruction) and then Active.vi on this pc.
    I want to remove or neglect the priority of which VI will run at first (either of the VI can run first).
    If in the case either one of the PC is not transmitting data, it will just trigger a LED or any kind of indicator.
    Can anyone helped me to do this? or is there any other example vi that will do it?
    Thanks a lot.

    Hi Mr Christian,
    i decided to use TCP/IP for peer to peer communication. I made an example VI of what i am doing but i cant make it right especially on the "Time out error". I would appreciate for any advise.
    Kindly see the attached VI's. The Crane 1 will be the Master or Server and Crane 2 and 3 are Slaves or Clients. Slaves VI will pass their data to Master while Master will distribute the data to each VI.
    As a rule, i have to run the Master or Server first and Slaves will follow.
    But as soon as i do this i am getting this Time Out error hence data are not being passed. I tried changing the values of time out constant but not lucky so far. I know that if i can fix this time out error, all the VI can communicate properly. I should see three moving cranes on each VI.
    Additional question; If all of the VI are running, and I intentionally Stop for instance Crane 3 (Slave), then it will show an error (LED) that Crane 3 data is not available. So far i can do this.
    But for instance I will run again Crane 3 (Slave), is there a way to RESET the connection programatically so that Master VI will once again accept the Crane 3 VI?
    Any advise I would greatly appreciate.
    Thanks a lot.
    Attachments:
    Crane 1 (Master).vi ‏40 KB
    Crane 2(Slave).vi ‏35 KB
    Crane 3 (Slave).vi ‏35 KB

  • Warranty against period and/or Hrs (which ever will be First)

    Dear All
    Looking for your suggestion...
    I have configured warranty against period (1 yr). which is working smoothly, Now company has a requirement to check the warranty against Hours as well (Eg.1000 hrs). which ever completes first. 1 yr or 1000 hrs of machin usage. how can i do it.
    I had created a Charecterstic CT04 for both of them
    Warranty _Period ( 12 months)
    Warranty _Hours) (1000 Hrs.)
    and maintainted it at Warranty master (BGM1), but when i am assiging this Master warranty to Equipment (IE01), status is negative with an error   " unit of measurement doesnot supported"
    can it be possible through Measuring Point?
    If yes then how can i check it during Service Notification (IW51). Here i want to add a field in ehich i can enter the  machin working hours Lets say 885 hrs, so it can be verify either Period or Hours.
    Usually this is being practises in Automobile companies while giving Free services.
    1st Free service will be valid before 1000 kms, 2nd free service will be free till 5000 kms etc.
    Please help me on this.
    Thanks is advance.
    Sudip Sinha
    Edited by: sudipsinha on Oct 18, 2011 10:59 AM

    In theory, CS1 should be treated as higher than AF11.  AF11 would be closer to CS1.  That being said, your QoS policies can be configured to do whatever you want so your switch may be configured to drop CS1 way before it drops AF11.

  • HKCU registry and the start up application which one will ready first

    Hello guys, here is my question. When create a new user in windows8.1, and I write a service to launch my appA to do something.
    and my appA will read the registry at HKCU, but failed! Then I restart appA, read the registry again, it success!  I guess when the new user was created the appA was launched before the HKCU ready. Is it true? 

    Hi Henry,
    It might be a permission issue. Windows services execute under different account which compare with desktop app. They are the following.
    LocalSystem,
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms684190(v=vs.85).aspx
    NetworkService,
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms684272(v=vs.85).aspx
    LocalSerivce,
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms684188(v=vs.85).aspx
    Please add log handler in appA to see the failure in details.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to set/do the class which should be executed first in coded ui where there exists many classes [CodedUITest] attribute??

    Hello Team,
    I am using vsts 2012 for coded ui automation. I have created coded ui test project and added many coded ui classes- e.g
      [CodedUITest]
        public class A
    [CodedUITest] 
    public class b
    CodedUITest] 
    public class c
    So how can i set class order .....in coded ui test.....i want to run first class c then Class A and then calss B ...........
    I know using ordered test we can set order/sequence of methods to run................
    But can we achieve this for class also...............
    Please help me...........
    Thanks

    Hi Mon_bk,
    Thank you for posting in MSDN forum.
    >>So how can i set class order .....in coded ui test.....i want to run first class c then Class A and then calss B ...........
    Generally, I know that we could use this ordered test to call the codedUItest method to according to this specified order by ordered test.
    As you said that you want to set this class order in coded UI test, as far as I know that it is default that we could not implement this function in coded UI test.
    However, I have a replace workaround to run class order for coded UI test. The workaround is that you could try to use such as a console application to execute this coded UI test.
    For example, you could create a console application project and then reference this coded UI test project by Adding Reference.
    And then call this coded UI test class in this Main method, the code like the following.
    using CodedUITestProject1;
    namespace ConsoleApplication1
    class
    Program
    static
    void Main(string[] args)
    CodedUITestProject1.CodedUITestC codedC =
    new CodedUITestProject1.CodedUITestC();     
    codedC.CodedUITestMethodC();
    CodedUITestProject1.CodedUITestA codedA =
    new CodedUITestProject1.CodedUITestA();
           coded2.CodedUITestMethodA();
    CodedUITestProject1.CodedUITestB codedB =
    new CodedUITestProject1.CodedUITestB();
           coded3.CodedUITestMethodB();
    So I suggest you could try to refer the above code to check this issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have CS6 on my old pc which I will remove if I can find out how to install  CS6 on my new Mac.

    I bought CS6 for my pc a little over a year ago.  I just bought a Mac computer and would like to install it on the Mac.  Is there anywhere I can down load CS6 (not CC) for my Mac?

    Your CS6 Windows serial number is operating system specific: it only works on Windows.
    Downloading the Mac version from Download and Installation Help and entering your Windows serial number will not work.
    You have a few options:
    Install Windows (Bootcamp, Parallels etc) on your Mac and install CS6 in the Windows virtual machine on your Mac
    Do a platform swap to switch your Windows version to a Mac version
    Order product | Platform, language swap
    Buy CS6 for Mac (then you'll have a Windows serial and a Mac serial)
    Join the Cloud. The CC version can be installed on Windows and/or Mac.

  • In which order operations will execute in Composit Operation by WCF-Custom adapter with SQLBindings?

    Suppose my Composite opertaion request schema is as below:
    <?xml version="1.0" encoding="utf-8" ?>
    <Request xmlns="http://[PROJECT_NAME].[COMPOSITE_SCHEMA_NAME]">
      <Insert xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
            <[FIELD2_NAME]>[Value1]</[FIELD2_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Insert>
      <[SP_NAME] xmlns="http://schemas.microsoft.com/Sql/2008/05/Procedures/[SCHEMA]" />
      <Delete xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Delete>
    </Request>
    Query is that in which order the requset message will be execute? Which one statement (Insert, SP or Delete) will execute first and
    Which one (Insert, SP or Delete) will execute in last?

    they will execute in the same order which you mentioned in the composite schema. Means they will execute order by nodes in the composite message
    have a look
    here , see below snap from that URL.
    in your case, the order will be
    1. INSERT
    2. SP
    3. Delete
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How query will execute?

    Hi all,
    Select empno
    from emp
    where empno = 7210
    and exist
    (select 1
    from dept
    where emp.deptno = dept.deptno
    and deptno = 20);
    I have a doubt regarding the execution of above SQL.
    During execution of WHERE clause
    Empno filtration will happen first
    or
    correlated sub query will execute first
    Suppose I am having 5 millions employees in emp table
    Weather correlated subquery will execute for only one employee of 5 million employees.
    Thanks and regards.

    Weather correlated subquery will execute for only one employee of 5 million employees.
    Empno is not a primary or unique key. Then why should your subquery ony execute for 1 employee?
    As SomeoneElse said, check the execution plan. Depending on cardinality the subquery should sometimes be coded with EXISTS and sometimes with IN.

  • How can i know which index will be used when executing the query ?

    1 ) I have query in which i have 3-4 tables but there multiple index on one column .
    so how can i know which index will be used when executing the query ?
    2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
    3) Please Provide me some document of EXplain plan ?

    Hi Jimmy,
    Consider the below example
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    CREATE TABLE FIRST AS
    SELECT * FROM all_objects;
    UPDATE FIRST
    SET object_name = 'TEST'
    WHERE owner != 'SCOTT';
    CREATE INDEX idx_first ON FIRST(object_name);
    SELECT *
    FROM FIRST
    WHERE object_name = 'TEST';
    It has not used index
    Execution Plan
    Plan hash value: 2265626682
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
    |* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    SELECT *
    FROM FIRST
    WHERE object_name = 'emp';
    This has used the index
    Execution Plan
    Plan hash value: 1184810458
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
    From this we can come to the conclusion that, whether to use one index or not by oracle
    would also depend on the data which is present in the table. This has to be this way as
    we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
    scan, it would be a performance hit when it searches for the second query ie where object_name
    ='emp';
    2.
    If we have a query like below.
    select * from emp
    where upper(ename) = upper(:p_ename);
    Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
    Create index idx_ename on emp(upper(ename));
    Regards,
    Cool

Maybe you are looking for

  • IPhoto thinks I'm trying to access photos on an external HD.....I'm not!

    This has happened several times... Some of the photos in my library are kept on an external drive, and when I'm not connected to that drive, but AM NOT TRYING TO ACCESS THE PHOTOS ON THAT DRIVE (I'm simply accessing the ones on my computer's HD), it

  • 360View  schedule ok, but user can't

    BOXI 3.0 In Infoview  a normal user can't schedule a webi report, although in 360View the user can schedule the document and can add documents to the map. The following error occurs: An error has occurred: Sorry, you do not have the right to 'Add obj

  • Jar File for com.sapportals.connector

    Can some one please tell which jar file I have to add to my project to be able import, I have tried all Jar Files possible still not able to find the right any help would really be great: import com.sapportals.connector.ConnectorException; Best Wishe

  • Internet explorer and flash player problems

    Each time i try to install flash player i get a message that i have to close internet explorer. when i do that the whole installation goes away  Any suggestions????

  • How can I get Aperture 3.4 to support Sony NEX-5N RAW format photos?

    I've upgraded all software and my camera -- Sony NEX-5N -- is on the Aperture list for RAW format support, but it continues to show images shot in RAW as a black square with FORMAT NOT SUPPORTED! in the middle. Is there a setting I'm overlooking or w