Sunteți pe pagina 1din 18

1. What is dynamic sql? Ans:- pl/sql uses early binding , so we cant execute DDL statements in pl/sql.

To over come t is situation we ave two options !" we can use #$#%&T# '(('D'AT# statement )" we can use D*(+,+-L pac.age 2. Tell me 5 important tables in GL (GENER L LE!GER" /L,0#,1#AD#2+ /L,0#,L'3#+ /L,0#,*AT%1#+ /L,+#T+,45,*446+ /L,%4D#,%4(*'3AT'43+ /L,7#2'4D+ /L,*&D/#T+ #. What are $ser E%its A user exit is a 8rd /eneration Language program w ere it can be lin.ed to t e report builder executable T ere are 8 types o9 user inter9aces a" 42A%L# user inter9aces b" 4%' :4racle %aller 'nter9ace; c" 3one-4racle user exit &. What are the $ser 'arameters in $ser E%its? srw.user,exit :<53D +2='3'T<;> user exit is t e mandatory parameter in srw.user,exit 5. (o) many inter*aces in GL+ ' )hat are they? 8 inter9aces in /L. ,. -s it possible to .se $ser E%its in Report b.ilder? (o). ?es, 'n *#542# 2#742T we call srw.user,exit :<53D +2='3'T<;

'n A5T#2 2#742T we call srw.user,exit :<53D +2=#$'T<; /. !i** bet)een *.nctions and proced.res 7rocedure is called as pl/sql statement 5unction is called as an expression and it can called 9rom +#L#%T statement. 0. !i** bet)een ap1in2oice1all and ap1in2oice T e ,all tables are s arable in multi oragani@ation environment and it contains 42/,'D 9ield. #x: 9nd,client,in9o.set,org,context:A)BCD; > 13. 'lace holder+ s.mmary col.mns+ *orm.lae col.mns? 7lace older is a column 9or w ic you set t e data type and value in 7L/+-L t at u de9ine. T is can be used in *#542# 2#742T Trigger, i9 t e place older is a report level trigger. A report level 9ormula column, i9 t e place older is a report,level column A 9ormula in t e place older<s group or a group below it :T e value is set only once 9or eac record o9 t e group;. A summary column can be eit er report level or group level is used to get t e value o9 built in 9unction on a single column. A 9ormula column can be eit er report level or group level is used to get t e values 9rom one or more columns. 11. 4.lti or5 concepts? 't is a server side en ancement w ere multiple business units can use a single 'nstallation o9 oracle product. T e arc itecture o9 multi org is, *usiness group, set o9 boo.s, operating units, 'nventories. 42/,'D is stored in operation units and 42/A3'EAT'43,'D is stored in inventories. T ere is one-to-many relations ip between t em.

12. Le%ical parameters and bind parameters? Lexical parameter is a replacement o9 text string in select statement, it is preceded by F :ampersand;. 5or t is we need to create user parameter, 't s ould be c aracter and initiali@ed. =e need to pass t e values at runtime 9or t is lexical parameter. *ind parameter is a replacement o9 single value or expression in select statement. 't is preceded by colon::;. 't can be number, date, or c aracter data type .'t cannot be used in 524( clause. 1#. (o) can )e e%ec.te the q.ery in the report tri55er? &sing +2=.D4,+-L we can execute t e DDL and D(L queries. T is procedure executes t e speci9ied +-L statement 9rom wit in 2eport *uilder. T e +-L statement can be DDL, or D(L :statements t at manipulate data;. 1&. 6irin5 seq.ence o* report tri55ers? *#542# 7A2A(#T#2 542( A5T#2 7A2A(#T#2 542( *#542# 2#742T T2'//#2 *#T=##3 7A/#+ A5T#2 2#742T T2'//#2 15.7ey *le%*ield+ and descripti2e *le%*ield. 6ey 9lex 9ields captures t e unique in9ormation, and descriptive 9lex9ields captures t e more in9ormation. T e .ey 9lex 9ield in /L is Accounting 5lex 5ield. T e 655 in A2 are Territory and +ales tax. 1,. )here )ill yo. )rite .ser e%its T e 53D +2='3'T in *#542# 2#742T trigger and t e 53D +2=#$'T in A5T#2 2#742T trigger. 1/. What is m.tatin5 table. A trigger is trying to modi9y t e triggering table. To overcome t is we need to use temporary table and views. A table in transition t en we called t at table is mutating. 10. What is Retcode+ and Errb.**?

T ese are mandatory parameters w en we write concurrent program using stored procedures. 2#T%4D# contains 8 values B-9or sucess,!-sucess wit warnings, )-errors. #22*&55 contains error message. %oncurrent manager will 9ill t e values 9or t ese parameters. 18. Req.est 5ro.p? %ollection o9 requests, request sets and concurrent programs t at a user can operate under a given responsibility. 23. What are the mandatory paramenters )e ha2e to pass in report? 7,%43%,2#-,'D. 7,42/,'D. 21. What is a data 5ro.p? A data group is a collection o9 4racle Applications and t e user names assigned to #ac application. /enerally t e user name is apps sc ema. 22. What is short name+ and base path? A s ort name is used to identi9y menus, 9orms, concurrent programs, and ot er application components. A base pat is top directory in applications directory tree. 2#.-s table re5istration is mandatory in apps? 3o, but w en ever we use 9lex 9ields and alerts t en it is mandatory. 2&. What are the proced.res .sed *or re5istration and deletion o* tables in apps? AD,DD.2#/'+T#2,TA*L#+:appl s ort name, table name, table type, pct. 3ext extent, pct. 9ree, pct. used; AD,DD.2#/'+T#2,%4L&(3:appl s ort name, table name,

column name, column seq, data type, =itdt , nullable, trans9erable;> and optional precission. AD,DD.D#L#T#,%4L&(3:appl s ort name, table name, column name; AD,DD.D#L#T#,TA*L#:appl s ort name, table name; )G. w at are t e components o9 t e environment variableH reports, 9orms, pl/sql, bin, log )I. w at are t e components o9 9orm registrationH 9orm, 9unciton, menu. )J. w ic name is appear on t e 9orm windowH &ser 5orm 3ame will appear on t e 9orm window. And &ser 5unction 3ame will appear on t e Top !B list o9 t e 3avigator window. )K. = at are t e parameters o9 t e parameter column o9 t e 5unction windowH !" -&#2?,43L? L ?#+ )" 1#L7,TA2/#T L MAlternative 9orm,nameM 8" T'TL# L Mappl,s ortname.menu nameM )N. = at is alert and wor. 9lowH (onitor db in9ormation and noti9y you w en t e condition we speci9ied is 9ound. Automates and streamlines business processes contained wit in enterprises and between enterprises. 8B. = at are t e executable met odsH 4racle 2eports, 7L/+-L +tored 7rocedures,

+-LO L4AD#2, +-L 7L&+. host+ -mmidiate+spa)ned+9a2a stored proced.re+ 9a2a conc.rrent pro5ram. 8!. 1ow do you submit concurrent request 9rom a pl/sql codeH 53D,2#-&#+T.+&*('T,2#-&#+T '9 it is sucess t en it returns t e submitted request, ot erwise it is B. 8). = at are user pro9ile and t eir precedenceH A user pro9ile is a set o9 c angable options t at a99ects t e way ?our application loo.s and be aves. !" +ite )" Application 8" 2esponsibility C" &ser 88. = at is a value setH A value set is a container o9 valid values to its segments. 8C. = at are validation typesH !" Dependent )" 'ndependent 8" 3one C" 7air G" +pecial I" Table J" Translatable Dependent K" Translatable 'ndependent T ese can be converted 9rom one to ot er. :P-" bot sides, -" single side; 'ndependent P-" 3one Table P-" 3one 'ndependent P-" Table

Dependent -" 3one Dependent -" 'ndependent 8G.1ow do you access pro9ile values in reportsH :Q7245'L#Q.7ro9ile 3ame 8I. 1ow do give t e parameter values w ic are based on t e previous parameter valuesH :Q5L#$Q.parameter name 8J. = at is a to.enH A to.en is an argument to pass parameters 9rom oracle reports to oracle applications. 8N. 1ow do you delete duplicate rows in a tableH D#L#T# 524( #(7 A =1#2# 24='D " :+#L#%T ('3:24='D; 524( #(7 * =1#2# A.#3A(# L *.#3A(#; CB. w at is a 9ormat triggerH 't is a layout model trigger, dynamically c ange t e attributes o9 a column. C!. = at is /L,%4D#,%4(*'3AT'43+ and /L,+#T+,45,*446+H /L,%4D#,%4(*'3AT'43+ stores valid account combinations 9or eac Accounting 55 in /L. /L,+#T+,45,*446+ stores t e sets o9 boo.s in9ormation in /L. C). = at is pre,payment H Advance payment paid to t e supplier 9or 9uture purc ases. T ere are two types o9 pre,payments !" Temporary - w ic is adRustable towards t e invoice )" 7ermanant - w ic is not adRustable towards t e invoice but can be convertable to temporary pre,payment. C8. = at are purc ase ordersH

!" +tandard )" *lan.et 8" %ontract C" 7lanned CC. = at is an anc orH 't determines t e ori@ontal and vertical position o9 an obRect. CG. = at is auto accountingH Trans9ering t e receivable amount to t e /L. CI. w at are t e inter9aces in /L,A7,and 74 /L- !" 0ournal 'mport )" *udgets 8" Daily 2ates A7- !" 7aybles 4pen 'nter9ace 'mport )" %redit card transaction inter9ace 8" 'nvoice 'mport 'nter9ace C" 7urc ase 4rder (atc ing 74- !" 'mport 'tems

CJ. = at is t e di99 between +74 and *74H +74 contains all item, quantity, price, delivery s edule, distribution set, and s ip to location. *74 contains all except delivery sc eduled 9or t is we need to release blan.et purc ase order. CK. List some o9 t e errors in 'nter9acesH 42A - BBBGC : 2esource busy and acquire wit 34 =A'T 42A - !)!GC : T3+ : %ould not resolve service name

CN. 1ow many 9iles you are using in 'nter9ace H !" 9lat 9ile )" %ontrol 9ile 8" *ad 9ile C" Discard 9ile :2eRected 9ile; G" Log 9ile GB. = at is control 9ile H 't contains set o9 instructions 9or trans9erring data 9rom 9lat 9ile to database tables t roug +-L OL4AD#2. G!. = at is *ad 9ile, Discard 9ile and Log 9ileH *ad 9ile is generated wit t e data erros in t e 9lat 9ile. Discard 9ile is generated 9or t e w en clause 9ailed records o9 t e control 9ile. Log 9ile contains t e detail in9ormation about t e data processing. 3o o9 success9ully loaded records 3o o9 rows not loaded due to data errors. 3o o9 rows not loaded due to w en clause 9ailed. G). = at is t e di99erence between A77#3D and '3+#2TH A77#3D adds t e records at t e end o9 t e table. *e9ore using '3+#2T data in t e table s ould be empty. G8. = at is t e purpose o9 T2A'L'3/ 3&LL%4L+ H %olumns must be con9igured relative to t eir positioning. GC. = at is t e purpose %43%AT'3AT# H To create one logical row 9rom a set o9 p ysical rows. GG. = at are t e 8cs o9 sets o9 boo.sH % arts o9 accounts %alander %urrency GI. = at is a c art o9 accountsH

% arts o9 accounts are an accounting structure o9 t e organi@ation. GJ. = at is a Rournal and w at are t e types o9 balancesH 0ournal is an accounting transaction. *alances types are Actual, *alances, and #ncumbrance. GK. = at are t e I(sH !" 2etained #arnings )" +uspense account 8" Translation AdRustments C" 2eserve 9or #ncumbrance G" 3et 'ncome I" 2ounding o9 3umbers GN. = at are t e types o9 recurring RournalsH !" +tandard )" 5ormula 8" +.elton IB. = at are t e topics in /LH !" 0ournals )" 2ecurring 0ournals 8" (ass Allocation C" Translation G" 2evaluation I" *udgeting a. 7lanning *udget b. 5unding *udget c. (ass *udget J" 5+/ :5inancial +tatement /enerator; K" /lobal %onsolidation N" (2% :(ultiple 2eport %urrencies; I!. = at are t e important tables in /LH /L,0#,L'3#+ /L,0#,1#AD#2+ /L,0#,*AT%1#+ /L,%4D#,%4(*'3AT'43+ /L,+#T+,45,*446+ /L,7#2'4D+ /L,*ALA3%#+

I). = at is t e 7urc ase 4rderH !" 2equisition:+tatus 49 4rgani@ation; )" 258" -uotation C" Approved -uotation:-uote Analasys; G" 74 2equistion is o9 two types, !" 'nternal 2equition :2equirement is wit in organi@ation; )"7urc ase 2equition :*uying 9rom 8rd party; 25- can be created in two types, !" (anual %reate )" Auto %reate Type o9 25-<s are a" +tandard :contains items, quantity, price, delivery s edule, distribution set; b" %atalog :provides catalog means o9 items and its price; c" *id :w ic are not 9requently used; I). = at are t e types o9 t e 74sH !" +tandard )" *lan.et 8" %ontract C" 7lanned +tandard 74 contains all t e in9ormation about item, qty, price, delivery sc eduled, s ip to location and also distribution set. *lan.et 74 contains all t e in9ormation except t e delivery sc eduled, 9or t is we need to release t e *74 by giving delivery sc eduled. %ontract 7urc ase 4rder, 9or t is we need to create +74 against %74. 7lanned 74 contains tentive delivery sc eduled. I8. = at are t e important tables in 74H !" 74,S#3D42+ )" 74,S#3D42,%43TA%T+ 8" 74,S#3D42,+'T#+ C" 74,L'3#,L4%AT'43+ G" 74,D'+T2'*&T'43+ I" 74,1#AD#2+ J" 74,L'3#+ IC. = at are t e types o9 invoices in A7H

!" +tandard )" Debit/%redit memo 8" 2ecurring C" 7re payment G" 74 de9ault I" -uic. matc J" (ixed IG. = at are t e matc ing typesH a" )-way 74T'3S4'%# b" 8-way 74T'3S4'%#T2#%#'7T c" C-way 74T'3S4'%#T2#%#'7TT'3+7#%T'43 II. = at is oldH '9 t e invoice and t e 74 does not matc t en system raises 1olds on 'nvoice. 5or t ese we need to release t e olds. T ere are two types o9 olds. !" +ystem olds )" &ser de9ined olds. IJ. = at are t e important tables in A7H A7,'3S4'%#+ A7,'3S4'%#,D'+T2'*&T'43+ A7,A#,1#AD#2+ A7,A#,L'3#+ A7,*AT%1#+ A7,T#2(+ A7,A%%4&3T'3/,#S#3T+ A7,L446&7,%4D#+ A7,*A36,A%%4&3T+ A7,*A36,*2A3%1#+ Ap,'3S4'%#,7A?(#3T+ IK. List some reports in 4racle Apps.H !" +ummery/Detail *udget 2eport )" (aster/Detail *udget 2eport 8" +ummery Trail *alance C" 5uture 7ayment (aturity Date 2eport G" 'nvoice 2egister I" 'tem Detail 2eport J" 74 detail 2eport

K" Sendor -uality 7er9ormance Analysis 2eport N" /eneral Ledger 2econciliation 2eport !B" 74 Details by vendor and item report !!" 7urc ase value report IN. = at is t e di99. between procedure and 9unctionH A 9unction s ould return a value t roug 2#T&23 statement. 5unction calling can be done in D(L statements. A procedure may or may not return a value t roug 4&T parameter. 7rocedure calling can not be done in D(L statements. =it in t e procedure we can use 2#T&23 statement, but wit out any argument a9ter it.

JB. = at are t e di99 between procedures and pac.agesH A pac.age is stored in database. A pac.age is aving in9ormation iding and overloading 9acilities. =it pac.ages we can declare global variables. 7rocedures in pac.ages must be 9orward declared. A procedure is stored eit er locally or in database. A procedure can not provide in9ormation iding. A procedure can not declare global variables. J!. = at are t e di99 between 7L/+-L tables and 3ested TablesH Tables: !" Tables can ave 3on-+equential .eys. )" T ey can be negative. 8" 't can not be stored in t e data base. 3ested Tables: !" 3ested tables ave +equential and positive .eys. )" 't can be stored as data base obRect. J). = at are t e di99 between triggers and proceduresH

!" Triggers are database obRects. )" 'n Triggers we can<t use transactional control statements. 8" Triggers are 9ired by events in database. C" Triggers uses di99erent name space. J8. = at is 3ative Dynamic +-LH #$#%&T# '((#D'AT# .ey word is used to run t e DDL, D(L and 7L/+-L bloc.s at runtime. JC. = at are t e bene9its o9 pac.agesH !" 'n9ormation iding )" 7rocedure 4verloading 8" (odularity C" #asier Application Design JG. 1ow can you .now t at w et er multi,org enabled or notH +#L#%T multi,org,9lag 524( 53D,724D&%T,/24&7+. JI. = ere are triggers stored H user,triggers. JJ. = at is mutating table error H A trigger is trying to access t e triggering table is called mutating table error. T is situation can be over come using Temporary tables and views. JK. w at appens w en we use 2A'+#H 't reraise t e same exception, but t e control goes to t e immediate outer bloc.. JN. = ic implementation met odology you are usingH A'( :Application 'mplementation (et od;. KB. = at are pragmas in 7L/+-LH

7ragma is a precompiler directive. T ese are processed at compile time. !" 72A/(A #$%#7T'43,'3'T )" 72A/(A A&T434(4&+#,T2A3+A%T'43 8" 72A/(A 2#+T2'%T,2#5#2#3%#+ C" 72A/(A +#2'ALL?,2#&+A*L# K!. 1ow do you set t e c aracter report in D)6H +et <yes< to t e <Design in c aracter units< o9 t e report property, and <c aracter< to t e <'ntial Salue< o9 t e (4D# system parameter. K). w at are t e attributes o9 t e cursors H !" U'+47#3 )" U54&3D 8" U34T54&3D C" U24=%4&3T K8. = at is t e sequence o9 text triggers in 5ormsH !" 72#,T#$T,'T#( )" =1#3,3#=,'T#(,'3+TA3%# 8" 6#?,3#$T,'T#( C" =1#3,SAL'DAT#,'T#( G" 74+T,T#$T,'T#( KC. = at are re9. cursorsH &sing re9.%ursor we can manage multiple wor. areas programmatically wit a cursor. KG. = at are t e types o9 RoinsH !" 'nner 0oin )" 4uter 0oin 8" +el9 0oin KI. = at is 72A/(A #$%#7T'43,'3'TH 't tells t e compiler to associate an exception name wit oracle error number.

KJ. = at is 72A/(A A&T434(4&+,T2A3+A%T'43H 't is a 9ully independent transaction started by t e parent transaction. 't doesn<t s are any resources wit t e parent transaction. T e autonomous transaction s ould end wit eit er 24LL*A%6 or commit. /enerally in triggers we s ould not use transaction control statements, but, wit autonomous trigger we s ould use transaction control statements. KK. = at is 2A'+#,A77L'%AT'43,#2242H 's used to issue user de9ined error message 9rom t e stored procedure. syntax : 2A'+#,A77L'%AT43,#2242 :error,number,message,V,Wtrue/9alseXY;> error,number : -)BBBB to -)BNNN T is can be used in bot executable and exception section. KN. +ome o9 t e pac.ages used in developmentH !" D*(+,T2A3+A%T'43 )" D*(+,+-L 8" D*(+,AL#2T C" D*(+,AL#2T G" D*(+,7'7# I" D*(+,4&T7&T. NB. = at are t e types o9 triggersH T ere are broadly 8 types o9 triggers. !" D(L triggers )" DDL triggers 8" +ystem Triggers !) Types o9 D(L triggers. 8 statements $ ) level $ ) timing N!. = at are +-L%4D# and +-L#22( in 7L/+-L H +-L%4D# returns t e error number.

+-L#22( returns t e error message. T ese are especially used in =1#3 4T1#2+ exception andler. N). = at is a database lin.H A data base lin. is a re9erence to t e remote database. N8. = at are 7L/+-L variablesH UT?7# and U24=T?7# are t e pl/sql variables. UT?7# associates a variable wit t e table<s 9ield datatype. U24=T?7# associates a variable wit t e table<s row datatype. NC. = ere are t e procedures, 9unctions, and pac.ages are storedH !" &+#2,4*0#%T+ :7rocedures,9unctions and pac.age body; )" &+#2,+4&2%# 8" &+#2,#2242+ NG. = at are (ateriali@ed viewsH (ateriali@ed views are reduced sets o9 in9ormation used to precompute, replicate, and distribute data. T ese are used in distribute environment, data ware ousing and D++. NI. = at are t e 2elease !!i en ancementsH 't uses 4racle Ki 9eatures, %*4, Temporary Tables, 7artitioned Tables, and (ateriali@ed views. NJ. = at are t e parameters o9 t e 53D,2#-&#+T.+&*('T,2#-&#+T H Application s ort name, program name, description, start time, sub request, argument! to argument!BB. NK. = at is t e Application 3ame in %7 #xecutable and %7 windows H 'n %7 #xecutable, Application 3ame determines in w ic directory your report executable is stored. 'n %7 window, it is t e name o9 t e 42A%L# user names your program runs and w ere to place t e log and output 9iles.

NN. 1ow do you get t e 42/,'DH D*(+,A77L'%AT'43,'354.+#T,%L'#3T,'354 :42/,'D;> !BB. %an we use transaction control statements in TriggersH ?es, we can use t em only in autonomous triggers.

S-ar putea să vă placă și