Book IV Faqs

  • Upload
    -

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

  • 8/14/2019 Book IV Faqs

    1/12

    INDEXS.NO NAME OF THE CHAPTER PAGE NO.

    1

    234567

    8

    1

    ORACLE

    APPLICATIONS 11i& R12

    ORACLE

    APPLICATIONS 11i& R12

    PLSQLPLSQL

    XML PUBLISHER

    REPORTS

    ORACLE APPS

    REPORTS

    ORACLE APPS

    REPORTS

    WORK FLOWWORK FLOW

    SQLSQL

    INTERFACESINTERFACES CONVERSIONSCONVERSIONS

    FORM

    PERSONALIZATION

    FORM

    PERSONALIZATION

    BOOK-IV

    XML REPORTS,DISVERER REPORTS AND

    WORK FLOW

    INTERVIEW FAQS

    BOOK-IV

    XML REPORTS,DISVERER REPORTS AND

    WORK FLOW

    INTERVIEW FAQS

    DISCOVER

    REPORTS

    DISCOVER

    REPORTS

    BI PUBLISHER

    REPORTS

    BI PUBLISHER

    REPORTS

  • 8/14/2019 Book IV Faqs

    2/12

    9

    10

    11

    12

    13

    1415

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    2

  • 8/14/2019 Book IV Faqs

    3/12

    SQL

    1. What is the diff between Exist and In Operator?

    A).In operator test for the particular value in the subquery and exist operator is a boolean

    operator.so it works more efficient and faster than In operator.

    2. What is the Diff between Delete and Truncate and Drop?

    A).TRU!AT" is a ##$ command whereas #"$"T" is a #%$ command. &ence #"$"T"

    operation can be rolled back' but TRU!AT" operation cannot be rolled back. (&"R"

    clause can be used with #"$"T" and not with TRU!AT".

    . !an we drop the table if table is ha"in# the data?

    A). $es% we can drop the table

    &. I ha"e executed the Delete co''and after that I ha"e created table whether

    deletions will be co''it or not? if table is successfull$ created?

    (es% co''itted% bc !reate is the DD* co''and% so DD* co''ands are

    auto co''itted and what e"er we perfor' D+* operations before DD*

    co''ands those are auto'aticall$ co''itted.

    , I ha"e executed the Delete co''and after the I ha"e created table whether

    deletions will be co''it or not? if table is not created?

    A. -o it is not co''itted% bc !reate is the DD* co''and% so DD* co''andsare auto co''itted and an$ DD* co''and is perfor'ed successfull$ then

    before that an$ D+* operation is there that auto'aticall$ co''itted other

    wise not co''itted.

    . What is /owID? When it will be created? What is the for'at? What is the diff

    3

  • 8/14/2019 Book IV Faqs

    4/12

    between /owID and /ownu'?

    A. /owID is hexadeci'al nu'ber and rownu' is the nor'al nu'ber. /owId

    will be created while insertin# a record into a table and rownu' will be

    created while retrie"in# record usin# select st't or alon# with the result set

    0uer$.

    . !an we use /owID in the where clause? if (es can we use lie follows

    Where /owID 3 124

    A). (es we can use in where clause. 5ut /owid 312 is in"alid. 5ecause rowid isalwa$s hexadeci'al for'at not in nor'al nu'ber for'at.

    6. What is Decode operator and what is the s$ntax when u ha"e used in Oracle

    Apps?

    The O!"#e $e"%$e &'!'e(e)' *!& $e+e#%,e$ '% !##%* -& '% '!)&%( $!'!

    +!#-e& !' e'/e+!# '/(e. F% e!(,#e &! *e h!+e ! "%#-() )!(e$ REGION */'h

    +!#-e& % N S !)$ E. he) *e -) SL -e/e& *e *!)' '% '!)&%( 'he&e

    +!#-e& /)'% N%'h S%-'h E!&' !)$ e&'. Hee /& h%* *e $% 'h/& */'h 'he $e"%$e-)"'/%)

    select

    decode(

    region,

    N,North,

    S,South,

    E,East,

    W,West,

    UNKNOWN )

    from

    customer;

    Note: ! using this function "e can #erform multi#le conditions on single

    colume$

    4

  • 8/14/2019 Book IV Faqs

    5/12

    17. What is -8* operator and what is the s$ntax when u ha"e used in Oracle

    Apps?

    In racle*+$,-$' the NVLfunction lets you substitute a value when a null value is

    encountered.

    The syntax for the NVLfunction is /$0 strin12' replace3with )

    string1is the strin1 to test for a null value.

    replace_withis the value returned if string1is null.

    "xample 42

    select /$0supplier3city' 5n*a5) from suppliers6

    The ,-$ statement above would return 5n*a5 if the supplier3city field contained a null value.

    therwise' it would return the supplier3city value.

    /$7 it will identify the null values and filled values it returns exp8 if it is null other wise it

    returns exp7. &ere we have to pass 8 parameters and In /$ we have to pass 7 parameters only.

    If expr1is not null' then NVL2returns expr2. If expr1is null' then NVL2returns expr3.

    SE%E&' lastname, salar!, N%*(commission#ct,

    salar! + (salar! commission#ct), salar!) income

    -.O/ em#lo!ees W0E.E lastname li1e 232

    O.4E. 5 lastname;

    %6S'N6/E S6%6.5 7N&O/E

    8888888888888888888888888 8888888888 8888888888

    aer 9 9

    aida * *

    anda

  • 8/14/2019 Book IV Faqs

    6/12

    issot ?? ??

    loom 9 9*9

    ull @9 @9

    11. What is 9oin and t$pes of 9oins and what is Outer 9oin?

    A) 9oin is a ind of tas in :;*% 5$ usin# this we can retrie"e data fro' 'ore

    than one tables based on

  • 8/14/2019 Book IV Faqs

    7/12

    tables data

    Ex select e'pno%ena'e%sal e'p.deptno%dana'e%loc fro' e'p%dept4

    -oteTable1 will ha"e n rows% Tables2 ha"e ' rows. The result is +F- no.of

    records will co'e.

    !). "uer Join

    Outer

  • 8/14/2019 Book IV Faqs

    8/12

    1. What are the Inline "iews?

    1. What is s$non$' and what are the t$pes and what is the ad"anta#e?

    16. What is Index? Ad"ante#e of Index? T$pes of Indexes?

    27. What are the 5it 'apped Index? Ad"anta#e?

    21. What is sub0uer$ and what is !o/elated :ub ;uer$ and diff between

    those two?

    22. What is the s$ntax for ToJDateG) and toJcharG)% toJnu'berG) functions?

    A)#o$%ae(&,forma):It can be used to con"ert the #i"en character into date

    for'at.

    or'at indicates in which character is pro"ided.

    :$ntax toJdateGstrin#% date for'ate)

    Ex select toJdateG>177@%@ddd@) fro' dual4 oKp 17apr17.

    #o$&'ar(%,forma): it can be used to con"ert #i"en da

    2. What is diff between /eplace and Translate?

    A)

    epla&e #ranslae

    1).It replace a character with

    another character in #i"en strin#.

    Ex select replaceGs%c1%c2) fro'

    dual4

    2. In this "alue b$ "alue

    replace'ent will be done.

    1).It also replace a character

    with another character in #i"en

    strin#.

    In this both strin#s 'ust ha"e

    e0ual no.of characters.

    Exselect translateGs%c1%c2)

    fro' dual4

    2). In this character b$

    character replace'ent will be

    done.

    2&. What are the Lseudo colu'ns we ha"e?

    2,. ow to execute DO: !o''ands fro' :;* Lro'pt?

    2. ow can we find out no of Indexes we ha"e created a#ainst a Table?

    8

  • 8/14/2019 Book IV Faqs

    9/12

    2. ow to #et second 'ax salar$ fro' the table?

    2. ow to delete duplicate rows fro' the table?

    26. What is where clause?

    7. What is ha"in# clause and what is the diff between these two clauses?

    1. ow to handle the table le"el locs and colu'n le"el locs?

    2. What are the constraints we ha"e and how to declare?

    . What is the diff between pri'ar$ e$ and =ni0ue?

    &. !an we co'pare two -ull "alues? !an we insert 'ore than one null "alue in

    the uni0ue colu'n?

    ,. ow to handle null "alues?

    . What are !5O and /5O? What is the diff between these two?

    . What are the perfor'in# tunin# le"els?. What is Explain plan and what is tproff?

    6. ow can u tune the 0uer$?

    (L*SQL)

    1. What is Exception? T$pes of Exceptions? Exception Lropa#ations?

    2. What is /AI:EJALL*I!ATIO-JE//O/?and what is L/AM+A

    I-ITJEN!ELTIO-?

    . What are the Lredefined exceptions we ha"e?

    &. When we is :E*E!T state'ent in the Execution bloc what are the Lredefined

    exceptions we ha"e to use in the Exception 5loc?

    ,. What is the diff between -OJDATAJO=-D and -OT O=-D

    . What is !=/:O/? What are the !ursor t$pes? what are cursor declaration

    steps?

    . What is the diff between I'plicit and Explicit and /ef !ursor?

    . In which pro#ra' u has used the !ursor? One exa'ple for i'plicit cursor?

    6. What are the !ursor attributes we ha"e?

    17. !an we issue the co''it inside of the !ursor for *oop?

    11. What is or =pdate O !lause in the !ursors?

    12. What is Lrocedure and what is unction?

    1. What is the /-D and W-D?

    1&. What is the diff between Lrocedure and unction?

    9

  • 8/14/2019 Book IV Faqs

    10/12

    1,. When we will create Lrocedure and when we will create function?

    1. What is the diff between Laca#e procedure and :tandalone procedure?

    1. If we drop the table which we ha"e used in the procedure do we need to

    reco'pile the procedure then how?

    1. ow to #et the Lrocedure :ource code fro' database?

    16. What is the Ad"anta#e of Laca#e?

    27. What are the other ob

  • 8/14/2019 Book IV Faqs

    11/12

    1. What if ra'e% /epeatin# fra'e and Anchor Ob

  • 8/14/2019 Book IV Faqs

    12/12

    ) What are propert$ clauses and "isual attributes?

    6) What is diff between L! and 8A? ow to call 8A d$na'icall$?

    17) !an we write the tri##ers on Lropert$ clause?

    11) What is the diff between !A**JO/+% OLE-JO/+% -EWJO/+?

    12) What are the wa$s we can call the report fro' the for'?

    1) What is the diff between L/EO/+ and WE--EWO/+I-:TA-!E?

    1&) !an we create table throu#h for' if so how?

    1,) What is the for' Lra'eters? ow to pass para'eters?

    1) What is the diff between standard procedure and for' procedure?

    1) What are the ob