0% found this document useful (0 votes)
39 views14 pages

Apps Interview Ques-1

Oracle Apps Technical Interview Questions document contains questions and answers about Oracle Applications technical concepts. Key topics covered include ERP architecture, SQL*Loader, dumping data to flat files using UTL_FILE, set of books, interface tables, invoices, inbound and outbound interfaces, accounts receivable base tables, customer interface tables, staging tables, mandatory fields, navigation, tables that cannot be updated, sending additional customer data, optimal batch size, address validation errors, profile levels, salesperson data import, customer interface update process, interface development procedure, and customer interface validations.

Uploaded by

Kiran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views14 pages

Apps Interview Ques-1

Oracle Apps Technical Interview Questions document contains questions and answers about Oracle Applications technical concepts. Key topics covered include ERP architecture, SQL*Loader, dumping data to flat files using UTL_FILE, set of books, interface tables, invoices, inbound and outbound interfaces, accounts receivable base tables, customer interface tables, staging tables, mandatory fields, navigation, tables that cannot be updated, sending additional customer data, optimal batch size, address validation errors, profile levels, salesperson data import, customer interface update process, interface development procedure, and customer interface validations.

Uploaded by

Kiran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

7/3/2016

OracleAppsTechnicalInterviewQuestions

OracleAppsTechnicalInterviewQuestions
OracleAppsInterviewQuestions

1)WhatisERP?Architectureofapps?
Apackagedbusinesssoftwaresystemthatletsacompanyautomateandintegratethemajorityofits
businessprocessessharecommondataandpracticesacrosstheenterprise[and]produceand
accessinformationinarealtimeenvironment.
2)TellmesomethingaboutSQLLOADER.
Sql*loaderisabulkloaderutilityusedformovingdatafromexternalfilesintotheoracledatabase.
Sql*loadersupportsvariousloadformats,selectiveloading,andmultitablesloads.
1)conventional
Theconventionalpathloaderessentiallyloadsthedatabyusingstandardinsertstatement.
2)direct
thedirectpathloader(direct=true)bypossessoflogicinvolvedwiththat,andloadsdirectlyinto
theoracledatafiles.
EX:
Mydata.csvfile
1001,scotttiger,1000,40
1002,gvreddy,2345,50
Loaddata
Infilec:\data\mydata.csv
Intotableemp
Fieldsterminatedby,optionallyenclosedby
(empno,empname,sal,deptno)
>sqlldrscott/tiger@vis

http://www.123techguru.com/oracleappsinterviewquestions/

1/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

control=loader.ctllog=gvlog.logbad=gvbad.baddiscard=gvdis.dsc.3)howdoudumpdatafrom
pl/sqlblocktoflatfiles?
Usingutl_filepackage,wecandumpdatafrompl/sqlblocktoflatfile.
PREREQUIREMENTSforUTL_FILEisspecifytheaccessibledirectoriesfortheUTL_FILEfunction
intheinitializationfile(INIT.ORA)UsingtheUTL_FILE_DIRparameters.
Ex:UTL_FILE_DIR=<Directoryname>
EX:
remembertoupdateINITSID.ORA,
utl_file_dir=c:\oradata
Declare
Fputl_file.file_type
Begin
Fp:=utl_file.fopen(c:\oradata,tab1.txt,w)
Utl_file.putf(fp,%s%s\ntextfield,55)
Utl_file.fclose(fp)
End
4)WhatisSETOFBOOKS?
CollectionofChatofAccountsandCurrencyandCalendarsiscalledSOB
5)Whatistheinterface?
InterfaceTableisatablewhichisusedasmediumfortransferofdatabetweentwosystems.
6)Whatisinvoice?
Sendyouarequestforpayment
7)WhatisINBOUNDandOUTBOUND?(Differenttypesofinterfaces)
InboundInterface:
Forinboundinterfaces,wheretheseproductsarethedestination,interfacetablesaswellas
supportingvalidation,processing,andmaintenanceprogramsareprovided.
OutboundInterface:
Foroutboundinterfaces,wheretheseproductsarethesource,databaseviewsareprovidedandthe
destinationapplicationshouldprovidethevalidation,processing,andmaintenanceprograms

http://www.123techguru.com/oracleappsinterviewquestions/

2/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

8)TellmewhatrtheBasetablesintheAR?
hz_parties(party_id)(storeinfoaboutorg,groupsandpeople)
HZ_PARTIESstoresinformationaboutpartiessuchasorganizations,people,andgroups,including
theidentifyingaddressinformationfortheparty.
hz_cust_accounts(cust_account_id)
HZ_CUST_ACCOUNTSstoresinformationaboutcustomerrelationships.Ifapartybecomesa
customer,informationaboutthecustomeraccountisstoredinthistable.Youcanestablish
multiplecustomerrelationshipswithasingleparty,soeachpartycanhavemultiplecustomeraccount
recordsinthistable.
hz_cust_acct_sites_all(cust_acct_site_id)
HZ_CUST_ACCT_SITES_ALLstoresinformationaboutcustomersites.Onecustomeraccountcan
havemultiplesites.TheaddressismaintainedinHZ_LOCATIONS.
hz_cust_site_uses_all(site_use_id)
HZ_CUST_SITE_USES_ALLstoresinformationaboutsiteusesorbusinesspurposes.Asingle
customersitecanhavemultiplesiteuses,suchasbilltoorshipto,andeachsiteuseisstoredasa
recordinthistable.
hz_party_sites(party_site_id)
HZ_PARTY_SITESstoresinformationabouttherelationshipbetweenPartiesandLocations.The
samepartycanhavemultiplepartysites.PhysicaladdressesarestoredinHZ_LOCATIONS.
hz_locations(location_id)
HZ_LOCATIONSstoresinformationaboutphysicallocations.
hz_Person_Profiles(person_profile_id)
HZ_PERSON_PROFILESstoresdetailinformationaboutpeople.
hz_Organization_Profiles(organization_profile_id)
HZ_ORGANIZATION_PROFILESstorescreditrating,financialstatistics,socioeconomicand
corporatelinkageinformationforbusinesssites.Theprimarykeyforthistableis
ORGANIZATION_PROFILE_ID.
9)Whatrthetablesinterfacetablesinthecustomerinterfacetables?
1)Ra_customers_interface_all
Thistablestorescustomer,address,andbusinesspurposeinformation.Youdonothavetoenter
http://www.123techguru.com/oracleappsinterviewquestions/

3/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

valuesinthistableifyoudonotwanttoimportcustomers,addresses,orbusinesspurposes.
ADDRESS1through4
Entertheaddressforyourcustomerinthesefourcolumns.Youcanenteruptofourlinesofan
address.
Validation:
IfyouenteravalueinORIG_SYSTEM_ADDRESS_REF,youmustenteravalueinADDRESS1.For
multiplerowswiththesameaddressreference,insertvaluesinaddress14.
Destination:HZ_LOCATIONS.ADDRESS1,
HZ_LOCATIONS.ADDRESS2,
HZ_LOCATIONS.ADDRESS3,
HZ_LOCATIONS.ADDRESS4
2)Ra_customer_profile_int_all
AcustomerlevelprofilemustexistinA_CUSTOMER_PROFILES_INTERFACEfornewcustomers
andeachbilltobusinesspurpose.
3)Ra_contact_phones_int_all
Thistablestorestelephonenumbersforcustomers,addressesandcontactsaswellascontactsfor
customersandaddresses.
4)Ra_customer_banks_int_all
ThistablestoresbankinformationforacustomerorforaspecificBillToaddress,youmustentera
bankaccountforthiscustomer,
5)Ra_cust_paymethod_int_all
Toimportpaymentmethodsforcustomersandbilltobusinesspurposes,
10)Whatrthestagingtablesinthecustomerinterface?
Ra_customers_stg
Ra_customers_address_stg
Ra_customers_point_stg
Ra_customers_contactpoints_stg
Ra_customers_relate_stg
Ra_customer_error.
11)Tellmesomemandatorycolumnsinthecustomerinterfacetables?
http://www.123techguru.com/oracleappsinterviewquestions/

4/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

a)Ra_customers_interface_all
1)Orig_system_customer_ref
2)insert_update_flag
3)customer_number
4)customer_status
5)last_updated_by
6)last_updated_date
7)created_by
8)creation_date.
b)Ra_customer_profile_int_all
1)customer_profile_class_name
c)Ra_contact_phones_int_all
1)orig_system_telephone_ref
2)telephone
3)telephone_type
d)Ra_customer_banks_int_all
1)bank_a/c_name
2)bank_a/c_no
3)bank_a/c_currency_code
e)Ra_cust_paymethod_int_all
1)payment_method_name
12)TellmetheNavigationforcustomerinterface?
ReceivablesInterfaceCustomers
13.Whattablescannotbeupdatedthroughcustomerinterface?
Noupdateswillbeallowedtobemadethroughcustomerinterfacefor
Followingtables
RA_SITE_USES_ALL
RA_CUSTOMER_RELATIONSHIPS_ALL
http://www.123techguru.com/oracleappsinterviewquestions/

5/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

RA_CUST_RECEIPT_METHODS
AP_BANK_BRANCHES
AP_BANK_ACCOUNTS_ALL
AP_BANK_ACCOUNT_USES_ALL
14.Howtosendadditionalcustomerandaddressinformationthroughcustomerinterafce
Hereiswhereattributecolumnsareused.
*AdditionalCustomerdatacanbepopulatedin
RA_CUSTOMERS_INTERFACE_ALL.customer_attribute1to15
ThiswillgointoRA_CUSTOMERS.attribute1to15
*Additionaladdressinformationcanbepopulatedin
RA_CUSTOMERS_INTERFACE_ALL.address_attribute1to15
ThiswillgointoRA_ADDRESSES_ALL.attribute1to15
Andsoon.
15.Whatshouldbethebatchsize(numberofcustomerrecords)generalguidelinesfor
optimalperformance
About10,000recordsperbacthisideal,itissuggestedtokeepthebatch
sizesmall.
16.Whydoescustomerinterfaceerroroutifthereismismatchinaddressinformation?
Becausethecodevalidatesagainstthesemismatches.
arplscin.sqlandarplbcin.sql
Itvalidatestheaddressbeinginsertedorupdatedwithrespecttothetax
locationflexfieldstructure.Foreachrowbeinginsertedorupdatedin
RA_CUSTOMERS_INTERFACE,andthathasnotalreadybeenmarkedinerror,
theset_location_ccidfunctioniscalledtoreturneitheranexistingccid
fortheaddressenteredortocreateanewentryinAR_LOCATION_VALUESfor
thisnewaddress.TheRA_CUSTOMERS_INTERFACErecordisthenupdatedwiththe
valueoftheccidreturned.
http://www.123techguru.com/oracleappsinterviewquestions/

6/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

17.Howdoyousendrecordsatcustomerlevelprofileandaddress/sitelevelprofile?
ForeverycustomerrecordinRA_CUSTOMERS_INTERFACE_ALL,inserttworecordsintable
RA_CUSTOMER_PROFILES_INT_ALL.(ReferNote:1070800.6)
18.DoesCustomerInterfaceimportsalespersondata?
No,ReferEnhancementBug:147495
19.CustomerInterfaceprocesscanbeusedforupdatingthecustomerinformationHowdoes
theUPDATEwork?
CurrentfunctionalityofCustomerInterfaceistoupdateallthedata.YoucannotrunCustomer
Interfacetoupdateonlychangeddata.(ReferBug:879121fortheintendedfunctinality)
20.Tellmewhatistheproceduretodevelopaninterface?
1.FirstwewillgettheRequirementdocument.
2.Wewillcreatecontrolfilebasedonthatplotfile.
3.Thenthecontrolfileswhichloadsthedataintostagingtables.
4.Throughpl/sqlprogramswewillmappingandvalidatethedataandthendumpintotheinterface
tables.
5.ThroughthestandardprogramswewillpushthedatafrominterfacetablestoBasetables.
21.Whatvalidationsudidinthecustomerinterface?
1.customername:thesamecustomerreferencecanthavedifferentcustomernameswithinthis
table
HZ_PARTIES.PARTY_NAME
1.customernumber:mustbenullifyourrusingautomaticcustomernumbering,mustexitifyou
arenotusingautomaticcustomernumbering.ThisvaluemuchbeuniquewithinHZ_PARTIES
2.customerstatus:mustbeAforactiveorIforinactive
HZ_PARTIES_STATUS
1.bankaccountnumorbankaccountcurrencycode:
ifthebanka/calreadyexistdonotenteravalue
ifthebanka/cdoesnotexistyoumustenteravalue
1.banka/cname:itmustexistinAP_BANK_ACCOUNTSorifitdoesnotexistvaluesmustexistfor
BANK_A/C_CURRENCY_CODE
BANK_A/C_NUM
BANK_NAME
BANK_BRANCH_NAME
http://www.123techguru.com/oracleappsinterviewquestions/

7/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

Note:everyinterfacetablehastwoerrormsg
1)Errorcode.
2)Errormsg.
22.Howcanucallastandardinterfaceprogramfromsqlorpl/sqlcode?
FND_REQUEST.SUBMIT_REQUEST(PO,EXECUTABLENAME,,,,PARAMETERS)
23.APIsFORCUSTOMERINTERFACE?
HZ_CUST_A/C_VZPUB.UPDATE_CUST_A/C
HZ_CUST_A/C_VZPUB.CREATE_CUST_A/C
FND_PROFILES
FND_APPLICATIONS
FND_GLOBAL
FNDFILE
FND_CONCSUB(cansubmitconcprograminhostinvironment)
24.TellmesomeAPI?
FND_FILE.PUTLINE(FND_FILE.LOG)
FND_FILE.PUTLINE(FND_FILE.OUTPUT)
IstheProgramexits,deleteconcprogramanditsexecutables.
IFFND_PROGRAM.PROGRAM_EXITS(EMP,APPLICATION_NAME_IN)THEN
FND_PROGRAM.DELETE_PROGRAM(EMP,APPLICATION_NAME_IN)
FND_PROGRAM.DELETE_EXECUTABLE(EMP,APPLICATION_NAME_IN)
END
25.Whatareprofileoptions?
IstheFunctionalandTechnicalbehaviorofOracleApplicationsPackage.
EX:Iwanttoassigntheuser3responsibilitytop4printerthen
SystemAdministratorProfileSystem
(FND_PROFILE_OPTIONS)26.OracleEBusinesssuite?Oracleapps+
analyticalcomponentssoftware.
(Oraclediscover)
http://www.123techguru.com/oracleappsinterviewquestions/

8/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

(Oraclesalesanalyzer)
(Oraclefinancialanalyzer)
(Oraclemarketinganalyzer)
27.WhataresomeoftheimportantfieldsthatCustomerInterfacedoesnotload?
NotallfieldsinRA_CUSTOMERSarebeingloadedbytheinterface.
SIC_CODE
GSA_INDICATOR
FOB_POINT
SALES_CHANNEL_CODE
FREIGHT_TERM
WAREHOUSE_ID
PRICELIST
SHIP_PARTIAL
PAYMENT_TERM_IDinRA_SITE_USES.PAYMENT_TERM_ID
(ReferEnhancementRequestBug:245300)
28.NewTCA/CustomerModel,howtoloadcustomerasPERSONorORGANIZATIONthrough
CustomerInterface?
a)Populatera_customers_interface_all.person_flag=Y
RunCustomerInterfaceprocesswillloadthisrecordasPERSON
b)Populatera_customers_interface_all.person_flag=N(orNULL)
RunCustomerInterfaceprocesswillloadthisrecordasORGANIZATION
29.Whatismultiorg?Legalentityhasmorethanoneoperatingunitiscalledasmultiorg
a)BusinessgroupHumanresourcesinformationissecuredby
Businessgroup
b)Legalentity.intercompanyandfiscal/taxreporting.
Securityresponsibilityoperatingunit.

http://www.123techguru.com/oracleappsinterviewquestions/

9/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

c)OperatingunitsecuresAR,OE,AP,PAandPOInformation.
d)Organizationsisaspecializeunitofworkatparticularlocations
30.WhataretheUserPARAMETERSintheReports?P_CONC_REQUEST_ID
P_FLEX_VALUE31.FNDUSEREXITS:
FNDSRWINITsetsyourprofileoptionvalues,multipleorganizationsandallowsOracle
ApplicationObjectLibraryuserexitstodetectthattheyhavebeencalledbyanOracleReports
program.
FNDSRWEXITensuresthatallthememoryallocatedforAOLuserexitshavebeenfreedup
properly.
FNDFLEXIDVALareusedtodisplayflexfieldinformationlikeprompt,valueetc
FNDFLEXSQLtheseuserexitsallowyoutouseflexfieldsinyourreports
FNDFORMAT_CURRENCYisusedtoprintcurrencyinvariousformatsbyusingformulacolumn
32.PL/SQLstoredprocedureparameters?
orwhatarethetwoparametersthataremandatoryforpl/sqltypeconcurrentprogram?
Procedure/function(ERRBUFOUT
RETCODEOUT
.)
ERRBUF:Usedtowritetheerrormessagetologorrequestfile.
RETCODE:Populatelogrequestfilewithprogramsubmissiondetailsinfo.
33)WhatisValueSet?
Thevaluesetisacollection(or)containerofvalues.
Wheneverthevaluesetassociatedwithanyreportparameters.Itprovideslistofvaluestotheend
usertoacceptoneofthevaluesasreportparametervalue.
Ifthelistofvaluesneededtobedynamicandeverchanginganddefineatablebasedvaluesset.
34)Whatrthevalidationtypes?
1)Nonevalidationisminimal.
2)Independentinputmustexistonpreviouslydefinedlistofvalues
3)Dependentinputischeckedagainstasubsetofvaluesbasedona
priorvalue.
http://www.123techguru.com/oracleappsinterviewquestions/

10/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

3)Tableinputischeckedagainstvaluesinanapplicationtable
4)Specialvaluessetusesaflexfielditself.
5)Pairtwoflexfieldstogetherspecifyarangeofvalidvalues.
6)Translatableindependentinputmustexistonpreviouslydefinedlist
ofvaluestranslatedvaluescanbeused.
7)Translatabledependentinputischeckedagainstasubsetofvalues
basedonapriorvaluestranslatedvaluecanbeused.
35)Formdevelopmentprocess?
a)opentemplateform
b)Saveas<yourform>.fmb
c)Changetheformmodulenameasformname.
d)Deletethedefaultblocks,window,andcanvas
e)Createawindow.
f)Assignthewindowpropertyclasstowindow
g)Createacanvas(subclassinfo)
h)Assigncanvaspropertyclasstothecanvas
I)assignthewindowtothecanvasandcanvastothewindow
j)Createadatablock
k)Modifytheformlevelproperties.(subclassitemTextitem)
l)Modifytheapp_cusompackage.Intheprogramunit.
m)Modifythepreformtrigger(formlevel)
n)Modifythemodulelevelproperties((consolewindow,Firstnavigation
p)Saveandcompiletheform.
Placethe.fmxintheserverdirectory.
Q)RegisterintheAOL

http://www.123techguru.com/oracleappsinterviewquestions/

11/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

APPLICATIONFORM
APPLICATIONFUNCTION
APPLICATIONMENU
36)HowdoucustomizetheReports?
1.IdentifytheShortnameofthestandardreportinwhichmodulewehavetocustomize
Ex:ifuwanttocustomizeintheARmodulepathisAppltop\ar\11.5.0\reports\US\.rdf
1.Openthe.rdffileinReportbuilderandchangethenameofthemodule.
2.Openthedatamoduleandmodifythequery(whatisclientrequirements)assignthecolumnsto
theattributes.
3.Gotoreportwizardandselect,whatrthenewlycreatedcolumns.
4.ThenCompileit.Thenuwillgeta.repfileinthespecifiedmodule.Ifitisnotinthespecified
directorythenwehavetoputintheserverdirectory.
5.ThenRegisterintheAOLConcurrentexecutable.
Concurrentprogram.
1.g.gotosystemadministratorSecurityResponsibilityrequest
h)Addandassignaconcurrentprogramtoarequestgroup
37.Differenceb/wprocedureandfunction?
Aproceduremayreturn(oneormorevaluesusingOUT&INOUTParameters)ormaynotreturna
value.Butafunctionhastoreturnasinglevalueandhasthereturnclauseinitsdefinition.Function
canbecalledinselectstatementsbutprocedurecanonlybecalledinapl/sqlblock.Procedures
parameterscanhaveINorOUTorINOUTparameters.ButfunctionsparameterscanonlyhaveIN
parameters.
38.Differenceb/wROWIDandROWNUM?
ROWID:Itgivesthehexadecimalstringrepresentingtheaddressofarow.Itgivesthelocationin
databasewhererowisphysicallystored.ROWNUM:Itgivesasequencenumberinwhichrowsare
retrievedfromthedatabase.
39.Givesomeexamplesofpseudocolumns?
NEXTVAL,CURRVAL,LEVEL,SYSDATE
40.Differenceb/wimplicitcursorandexplicitcursor?
ImplicitcursorsareautomaticallycreatedbyoracleforallitsDMLstmts.Examplesofimplicitcursors:
SQL%FOUND,SQL%NOTFOUND,SQL%ROWCOUNT,SQL%ISOPENExplicitcursorsarecreated
bytheusersformultirowselectstmts.
41.Howtocreateatableinaprocedureorfunction?
Seethebelowpieceofcode:Sincecreatestmtcanbeusedonlyatthesqlprompt,wehaveused
dynamicsqltocreateatable.
http://www.123techguru.com/oracleappsinterviewquestions/

12/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

OraclePL/SQLDECLARE
CURSORwip_curIS
SELECTacct_no,enter_date
FROMwip
WHEREenter_date&ltSYSDATE7
FORUPDATE
BEGIN
FORwip_recINwip_cur
LOOP
INSERTINTOacct_log(acct_no,order_date)
VALUES(wip_rec.acct_no,wip_rec.enter_date)
DELETEFROMwip
WHERECURRENTOFwip_cur
ENDLOOP
END
WHERECURRENTOFhastobeusedinconcurrencewithFORUPDATEinthecursorselect
stmt.
WHERECURRENTOFusedindeleteorupdatestmtsmeans,delete/updatethecurrentrecord
specifiedbythecursor.
ByusingWHERECURRENTOF,youdonothavetorepeattheWHEREclauseintheSELECT
statement.
43.WhatisthepurposeofFORUPDATE?
SelectinginFORUPDATEmodelockstheresultsetofrowsinupdatemode,whichmeansthatrow
cannotbeupdatedordeleteduntilacommitorrollbackisissuedwhichwillreleasetherow(s).Ifyou
planonupdatingordeletingrecordsthathavebeenreferencedbyaSelectForUpdatestatement,
youcanusetheWhereCurrentOfstatement.
OraclePL/SQL
<spanstyle="color:#ff6600">44.WhatisRAISE_APPLICATION_ERROR?</span>
TheRAISE_APPLICATION_ERRORisaproceduredefinedbyOraclethatallowsthedeveloperto
raiseanexceptionandassociateanerrornumberandmessagewiththeprocedureotherthanjust
Oracleerrors.RaisinganApplicationErrorWithraise_application_error
DECLARE
num_tablesNUMBER
BEGIN
SELECTCOUNT(*)INTOnum_tablesFROMUSER_TABLES
IFnum_tables&lt1000THEN
/*Issueyourownerrorcode(ORA20101)withyourownerrormessage.
Notethatyoudonotneedtoqualifyraise_application_errorwithDBMS_STANDARD*/
raise_application_error(20101,'Expectingatleast1000tables')
ELSE
NULLDotherestoftheprocessing(forthenonerrorcase).
http://www.123techguru.com/oracleappsinterviewquestions/

13/14

7/3/2016

OracleAppsTechnicalInterviewQuestions

ENDIF
END
/
TheprocedureRAISE_APPLICATION_ERRORletsyouissueuserdefinedORAerrormessages
fromstoredsubprograms.Thatway,youcanreporterrorstoyourapplicationandavoidreturning
unhandledexceptions.
45.Whatismutatingerror?
Mutatingerroroccursinthefollowingscenario:
WHENWEAREUPDATINGATABLE(TRIGGERWRITTENONATABLEFORUPDATE)ANDATTHE
SAMETIMETRYINGTORETRIEVEDATAFROMTHATTABLE.ITWILLRESULTINTOMUTATING
TABLEANDITWILLRESULTINTOMUTATINGERROR.
46.Canwehavecommit/rollbackinDBtriggers?
HavingCommit/Rollbackinsideatriggerdefeatsthestandardofwholetransactionscommit/
rollbackalltogether.Oncetriggerexecutioniscompletethenonlyatransactioncanbesaidas
completeandthenonlycommitshouldtakeplace.Ifwestillwanttocarryoutsomeactionwhich
shouldbeinitiatedfromtriggerbutshouldbecommittedirrespectiveoftriggercompletion/failurewe
canhaveAUTONOMUSTRANSACTION.InsideAutonomoustransactionblockwecanhaveCommit
anditwillactasactualcommit.
47.Canwemakethetriggeranautonomoustransaction?
Thismakesallthedifferencebecausewithintheautonomoustransaction(thetrigger),Oraclewill
viewthetriggeringtableasitwasbeforeanychangesoccurredthatistosaythatanychangesare
uncommittedandtheautonomoustransactiondoesntseethem.SothepotentialconfusionOracle
normallyexperiencesinamutatingtableconflictdoesntexist.
48.Whatisautonomoustransaction?
Autonomoustransactionmeansatransactionthatisembeddedinsomeothertransaction,but
functionsindependently.
49.WhatisaREFCursor?
TheREFCURSORisadatatypeintheOraclePL/SQLlanguage.Itrepresentsacursororaresult
setinOracleDatabase.
50.Whatisthedifferencebetweenrefcursorsandnormalpl/sqlcursors?
Declare

http://www.123techguru.com/oracleappsinterviewquestions/

14/14

You might also like