Siva Academy

Youtube.com/SivaAcademy  Oracle SQL  |  PLSQL  |  SQL PLSQL Interview Questions  |  PLSQL Scenario based Interview Questions  |  Subscriber Questions & Answers

  |  SQL practical Question  |  SQL Performance Tuning  |  New Features  |  

  Trigger     |    View  

PLSQL Scenario based Interview Questions


PLSQL Scenario based questions



1.Write a PLSQL block to print the list of employee names   (Click Here for Answer)   

2.Write a procedure to select all the data from one table using bulk collect and insert records to another table in batches of 20


5 comments:

  1. The way you explain is excellent.please do post more real time scenario based interview question.

    ReplyDelete
  2. if we create a trigger on after insert on table and in that trigger two procedure is called and that one procedure return an exception
    thwn what will be the output ?
    scnerio:>

    procedure
    (

    insert into table_one values (1,2);
    commit;
    ) -- procedure end here

    we hace a trigeer on table_one and that trigeer return an exception then the above records inserted in table or rollbacked ?

    ReplyDelete
  3. Could you please update on below request.

    Write a procedure to select all the data from one table using bulk collect and insert records to another table in batches of 20

    ReplyDelete
  4. Sir request you i want to trigger dbms_scheduler_jobs which personal job is enabling disabling just i want requirements

    ReplyDelete
  5. Hi Siva sir
    Please help me out on this scenario
    ID NAME WK1 WK2 WK3
    123 CIENA 108000 -1000 -10800
    124 CIENA 2168000 -21680 -216
    125 CIENA -10042 10042 -10042
    126 KYOCE 5000 -2000 -5000

    Need to fetch least negative value from each row...
    For example ID :- 123 row is having two negative values from different columns i need to fetch -10800 as it is least from WK3 column
    and ID:- 124 row is two negative values need fetch -21680 from WK2 column
    Like this from all rows

    ReplyDelete