q=reports AOL

2. Where do concurrent request logfiles and output files go? The concurrent manager first looks for the environment variable $APPLCSF If this is set, it creates a path using two other environment variables: $APPLLOG and $APPLOUT It places log files in $APPLCSF/ $APPLLOG Output files go in $APPLCSF/$APPLOUT So for 3. What are the logfile and output file naming conventions? Logfiles: l.req Output files: If $APPCPNAM is not set: . If $APPCPNAM = REQID: o.out If $APPCPNAM = USER: .out Where: = The request id of the concurrent request And: = The id of the user that submitted the request 4. How do I check if Multi-org is installed? SELECT multi_org_flag FROM fnd_product_groups; 5. How do I find out what the currently installed release of Applications is? SELECT release_name FROM fnd_product_groups 6. How do I find the name of a form? GUI: Use Help->About Oracle Applications Scroll down to find the form name Character: Use Help->Version 7. How do I lookup ORA errors? (and TNS errors) Use: oerr ora XXXX or: oerr tns XXXX where XXXX is the error number (This also supports a number of other error types. Use the 3-letter error prefix in place of 'ora') 8. How do I generate a message file (usaeng.msb)? Use: FNDMDCMF applsys/pwd 0 Y APP usaeng where: applsys/pwd is the APPLSYS user and password and APP is the short name of the application (like PO or INV) 9. How do I submit a concurrent request from PL/SQL? Use FND_REQUEST.SUBMIT_REQUEST Example: req_id := FND_REQUEST.SUBMIT_REQUEST('FND', 'FNDSCARU'); Note that this can only be called from a concurrent program See the Coding

Standards for parameter details 10. How do I cancel a running concurrent request? Navigate to the Concurrent Request Summary form Select a request In character, do a Quickpick on the Status column You can select Cancel or Hold In GUI, use the Cancel or Hold buttons The Sysadmin responsibility can cancel or hold any running request 11. Why does Help->Tools->Examine ask for a password? The profile option Utilities:Diagnostics is set to NO This profile option controls whether users can use the Examine utility. The password should be the APPS password. 12. How do I open a form in query-only mode? Navigate to the Form Functions form (Application->Function) Query the particular form and add the parameter QUERY_ONLY=YES Not all forms will accept this parameter however. 13. How do I find the version of an installed product? (such as Reports, SQL*Net etc.) One of the easiest ways is to run the product if you can. Running Reports designer will give you the Reports version, running SQL*Plus will give you its version etc. Another easy way is to launch the Oracle Installer and look in the installed products 14. How do I generate one single form? (As opposed to using adadmin to generate them all) Character mode forms: Use adfrmgen Usage : adfrmgen filelist= or : adfrmgen product="product shortname(s)" [filepath="dirpath/filename"] For example : adfrmgen filelist=filelist.txt adfrmgen product="gl" filepath="forms/GLXSSMTY.inp" (one file) adfrmgen 15. What do I do if I am missing an executable from my APPL_TOP? Binary executables are created with adrelink. For example, if addmimp is missing use: adrelink force=y ranlib=y "ad addmimp" Posted by tom at 14:17 0 comments Labels: AOL

Friday, 18 July 2008
Oracle Applications 11i Technical FAQ’s

What is AOL? Oracle Applications are constructed and maintained using the Application Object Library (AOL). The Three main areas of AOL are · Applications Security · Operating Profile · Concurrent Processing Define Interfaces. Use Concurrent Programming for Long Running – Data intensive tasks such as Posting a Journal or generating a report. What are alerts? What are the different types of alerts? Explain. Inbound and Outbound Interfaces. There are two types of Interfaces. These can be used to either transfer data from Oracle Applications to a Flat File or Data from Legacy System to Oracle Applications. Custom Interface is an Interface whose logic is developed by implementation team. Outbound Interfaces are used to transfer data from Oracle Applications to External System.What is Concurrent Programming? Concurrent Processing in Oracle Apps simultaneously executes programs running in the Background with on line operations to fully utilize your hardware capacity. Alerts . Open Interface is the interface whose interface logic is provided by Oracle. What are the different types of Interfaces? Interfaces are used to integrate external systems and data conversion in Oracle Applications. What is the Role of Concurrent Managers? A Concurrent Manager is a component of Concurrent processing that monitors and runs tasks without tying up your computer. Inbound Interfaces are used to transfer data from external system to Oracle Applications.

What are the tables related to flex field? · FND_FLEX_VALUES · FND_FLEX_VALUE_SETS · FND_FLEX_VALUES_TL What is AD_DD package? AD_DD Package is used to register the Table. · Each segment has a name that can be assigned and has set of valid values. PROCEDURE REGISTER_TABLE Arguments: · P_APPL_SHORT_NAME · P_TAB_NAME · P_TAB_TYPE · P_NEXT_EXTENT · P_PCT_FREE · P_PCT_USED PROCEDURE REGISTER_COLUMN Arguments .· · · · · Immediately inform you of the database activity as it happens. Can Periodically trigger off events as and when required Can take predefined actions Allow you to define distribution list Can keep history of the exceptions and actions taken against them. and Primary Key in Oracle Applications. There are two types of alerts. Columns. · There are two types of Flex field Key Flex Field and Descriptive Flex Fields. · Event Alerts · Periodic Alerts What is the Flex field? What are the types of Flex field? · Flex Field is “Flexible Field” · A Flexfield is made up of Segments.

What is FND_REQUEST. Translated value can be used. Translatable Dependent means Input is checked against a subset of values Based on a prior value. What are the Translatable Dependent and Independent Flex Fields? Translatable Independent – Input must exist on previously defined set List of Values. .SUBMIT_REQUEST? Submits a Concurrent Request for Processing by a Concurrent Manager. Translated value can be used.P_APPL_SHORT_NAME P_TAB_NAME P_COL_NAME P_COL_SEQ P_COL_TYPE P_COL_WIDTH P_NULLABLE P_TRANSLATE P_PRECISION P_SCALE What are the types of Value sets? None Table Special Pair Dependent Independent Translatable Dependent Translatable Independent What are the Special and Pair Flex Field? Special – Value Sets uses FlexField itself Pair – Two Flex Fields together specifies a range of valid values.

Responsibility_id Number.VersionWhat are the steps in Registering Concurrent Program? · Go to Programs and Define Executables. User_id Number. · Go to Programs and Define Concurrent Program · Go to Responsibility and attach the Request group you want.program. Security_Group_id Number). Give the Directory structure in apps? $APPL_TOP .Product Directory.start_time..sub_request.description.setup_client_info(application_id Number. What is Standard Request Submission (SRS Feature)? SRS provides you with a set of windows for running reports and Programs and a set of windows for creating groups of reports and . What are the different types of executable available in Concurrent Programming? · · · · · · · Host Oracle Reports PL/SQL Stored Procedures SQL*LOADER SQL*PLUS Spawned JSP What are Request Sets? Request set is a collection of Reports/Programs that you group together and can be submitted to run is a single interaction.Arguments – Application.arg1. What is Client Info? By calling this Program in SQL*PLUS or reports with correct parameters user can achieve concurrent program environment for testing. FND_CLIENT_INFO.

pll · APPCORE2.pll What are the Steps in Forms Customization? · Define the Form Name in FORM Screen · Define Form Functions · Attach to Menu/Attach to Request group What are the triggers that can be modified during Forms Customization? · · · · · · Pre-Forms When-New-Form-Instance Query_Find Post-Form Key-Clrfrm Accept .pll · FNDSQF.pll · appdaypk.pll · APPSTAND.pll · APPCORE. What are the different API’s for Concurrent Programming? · · · · · · · FND_CONCURRENT FND_FILE FND_PROGRAM FND_SET FND_REQUEST FND_REQUEST_INFO FND_SUBMIT What are the Different PLL’s Used in Forms? · CUSTOM.programs to run together. Features · Specify whether reports or programs in a request set run sequentially or simultaneously · Specify whether to continue with a request set if a report or program in a sequential set fails · View a log file · Specify alternative requests based on completion status of previously run requests in a request set.

What are the triggers that cannot be modified during Forms Customization? · · · · · · · · STANDARD_ATTACHMENT ZOOM FOLDER_ACTION KEY-HELP KEY-EXIT KEY-COMMIT WHEN-WINDOW_CLOSED CLOSE_WINDOW What are the FlexField Qualifiers? A Flex field qualifier identifies a particular segment of a key flex field. All Validation rules still will apply during insertion. What are the Segment Qualifiers? A Segment Qualifier identifies a particular type of value in a single segment of a key flex field. What are the different Level of Profiles? User Profiles are used · To set options that affect your applications behavior o your preference. What is a Dynamic Insertion? Dynamic Insertion is the insertion of new valid combination into a Key Flexfields Combinations Table from a form other than the combinations form. · A Collection of changeable options that affect the way your applications run · Modify Product Specific variables · Gives Control over certain Oracle Applications features. Profile Levels Site Level Application Level Responsibility Level User Level .

Site Level is the lowest level. functional currency and accounting calendar. They usually represent Functional Management or reporting groups . Legal Entity A legal company for which you prepare fiscal or tax reports. An Operating Unit is associated with legal entity. HR Organization HR Organization represents the basic work structure of any enterprise. Oracle receivables. Inventory Organization An Organization for which you track Inventory transactions and balances and/or an Organization that manufactures or distributes products. Balancing Entity Represents an accounting entity for which you prepare financial statements. Explain Multi-Organization Structure? Set of book A financial reporting entity that uses a particular chart of accounts. The Business group secures HR Information. Operating Unit An Organization that Uses Oracle Cash Management. Oracle Purchasing. This is the segment in Accounting Flexfield. Business Group This is highest level in the Organization Structure. It may be a Sales office division or a department. Order Management and shipping Execution. Oracle Payables. Multiple set of books can share same business group.

What are the different actions that can be performed in Alerts? · · · · Message Actions Concurrent Program Actions Operating Script Actions SQL Statement Script Actions What are the steps involved in Creating Periodic alerts? Write a select statement . Retcode returns 0 for success. What are the two mandatory parameters required for PL/SQL stored Procedure Concurrent Program? Errbuf and retcode two OUT Parameters are required while defining PL/SQL stored Procedure Concurrent Program. Event can be Insert or Update. Oracle Alert FAQ’s -------------------What are the event alerts? Triggered off when a particular event occurs in the Database.that exists within a business group. What are Alert Action Level? There are two levels of actions that can be performed Detail Action and Summary Action. Errbuf Returns any error messageand retcode returns completion status. How can u see Multi-Organization is enabled or not from SQL Prompt? SELECT MULTI_ORG_FLAG FROM fnd_product_groups. What is a Summary Threshold? Oracle Alerts automatically determine whether to perform a detail action or Summary action based on the number of exceptions in the database. 1 for warnings and 2 for error.

Verify and Run the SQL Specify Alert Inputs Define Alert Outputs Create Periodic alert actions Define Periodic alert message actions Create a periodic alert action set Check your periodic alert. What are the Advance features available in alerts? Distribution List Periodic sets Summary Thresholds Action Set Checks What are the four implicit Inputs in Alerts? Mailid. Data groups: is a group of modules to be made accessible by the user through Responsibility System admin-------->security------------>define Security--------->user----------->define Posted by tom at 13:05 0 comments Labels: responsibility What is template a) The TEMPLATE form is the required starting point for all development of new . request security groups and data groups Menus: collection of forms is nothing but menus Request security groups: collection of programs. org_id. rowid. What is the Distribution List in Alerts? A Pre-defined set of electronic mail ids and printer Instructions that you can use on message actions instead of re-entering all the recipient names each time. date_last_checked Posted by tom at 13:15 0 comments Labels: Technical FAQ’s What is responsibility Is collection of menus.

PROFILES AND CONCURRENT PROCESSING. APPSCORE :. you can use the custom library for customization such as zoom ( such as moving to another form and querying up specific records) Posted by tom at 13:04 0 comments Labels: template contains packages and procedures for MESSAGE allows extension of oracle applications forms with out modification of oracle application code. k) Libraries Posted by tom at 23:42 0 comments Labels: AOL Report names and their table names in GL. and PO 1) ra_customer_trx_all customer_trx_id trx_number (invoice no. b) Registering views c) Registering db sequences d) Registering profile options e) Registering lookups and lookup codes f) Registering forms g) Registering Form and Non-Form functions i) registering Menus and sub-menus.It contains package and procedures that are required of all forms to support the MENUS .TOOLBARS.It contains packages that control the oracle applications CALENDER FEATURES. b) The TEMPLATE form includes platform–independent attachments of several Libraries. CUSTOM :. credit memo no) cust_trx_type_id 2) ra_customer_lines_all (details of invoice) cutomer_trx_id 3) ar_payment_schdules_all check_id . debit memo no. 17 July 2008 AOL a) Registering tables. j) Registering DFF and KFF. FLEX FIELDS.Forms. AR. AP. APPSDAYPK :. FNDSQF :.

batch type. You need one row for each adjustment you are making to an invoice. or receipt. Oracle Receivables creates records concurrently in the AR_CASH_RECEIPT_HISTORY_ALL. and type of adjustment. and control amount 6) ra_receivable_application_all 7) ra_adjustments_all This table stores information about your invoice adjustments. status. base_amount. reason. Each row includes information about a specific batch such as batch source. amount. 1) ap_invoice_all invoice_amount. 3) ap_invoice_distibutions_All . debit memo. and AR_RECEIVABLE_APPLICATIONS tables for invoice–related receipts.This table stores all transactions except adjustments and miscellaneous cash receipts. 4) ra_cust_trx_types_all (invoice types) cust_trx_type_id 5) ra_batches_all Batch_id This table stores information about each receipt batch that you create in Oracle Receivables. 8) ra_cash_receiots_all Cash_receipt_id This table stores one record for each receipt that you enter. accounting information. on account credit. Each row includes general information about the adjustment you are making such as activity name. AR_PAYMENT_SCHEDULES_ALL. chargeback. Oracle Receivables updates this table when activity occurs against an invoice. payment_status_flag(‘y’ –fully paid ‘n’—unpaid ‘p’ –partially paid) 2) ap_invoice_payments_all invoice_id. control count. credit memo.

Your Oracle Payables application uses this information to record payments you make to suppliers or refunds you receive from suppliers. You need one row for each payment you issue to a supplier or refund received from a supplier. . or create a Quick payment. 1) po_vendors_all 2) po_vendors_sites_all 3) po_headers_all po_header_id 4) po_lines_all po_line_id 5) po_line_locations_All 6) po_distributions_all po_distribution_id.amount. AP_CHECKS_ALL stores information about payments issued to suppliers or refunds received from suppliers. you can select a bank account that you define in this table. Each bank account must be affiliated with one bank branch. dist_code_combination_id. 9) ap_bank_accounts_uses_all AP_BANK_ACCOUNT_USES_ALL stores information for the internal and external bank accounts you define in Oracle Payables and Oracle Receivables applications. line_type_lookup_code 4) ap_payment_schdules payment_status_flag(“ ‘’’’’”) 5) ap_payment_dustributions_all 6) ap_checks_all check_id. 7) ap_accounting_events_all 8) ap_bank_accounts_all AP_BANK_ACCOUNTS_ALL contains information about your bank accounts. When you initiate an automatic payment batch. enter a manual check. Associated with each account are certain codes and flags. You need one row for each bank account you define. base_amount. 1) Gl_code_combinations GL_CODE_COMBINATIONS stores valid account combinations for each Accounting Flexfield structure within your Oracle General Ledger application.

. Other statuses indicate that an error condition was found. 2) Gl_je_batches. the period number. 4) Gl_je_lines. the associated code combination ID. There is a one–to–many relationship between journal entries and journal entry lines. STATUS is ’U’ for unposted or ’P’ for posted 5) Gl_set of books GL_SETS_OF_BOOKS stores information about the sets of books you define in your Oracle General Ledger application.fmb c) Change the form module name as form name. the line number. and other information. ’P’ for posted. GL_JE_BATCHES stores journal entry batches. the period type. This table corresponds to the Set of Books form. the fiscal year. This table corresponds to the Journals window of the Enter Journals form.including whether the account is enabled. STATUS is ’U’ for unposted. and the debits or credits associated with the journal line. GL_JE_LINES stores the journal entry lines that you enter in the Enter Journals form. and other information. description. Each row includes the set of books name. whether detail posting or detail budgeting is allowed. and other information about the journal entry. There is a one–to–many relationship between journal entry batches and journal entries. GL. A complete list is below. Posted by tom at 10:17 0 comments Labels: api. 6) Gl_periods GL_PERIODS stores information about the accounting periods you define using the Accounting Calendar form. functional currency. Each row in this table includes the associated batch ID. Each row in this table stores the associated journal entry header ID. the journal entry name and description. and others. There is a one–to–many relationship between a row in the GL_PERIOD_SETS table and rows in this table. 3) Gl_je_headers GL_JE_HEADERS stores journal entries. PO Explain Form development process a) open template form b) Save as . Each row includes the start date and end date of the period.

(sub class item -------> Text item) l) Modify the app_cusom package. window. What are the built-in functions used for sending Parameters to forms? 2.d) Delete the default blocks. Is the After report trigger fired if the report execution fails? 4. Q) Register in the AOL APPLICATION-----------> FORM APPLICATION----------> FUNCTION APPLICATION----------> MENU Posted by tom at 09:48 0 comments Thursday. Can you have more than one content canvas view attached with a window? 3. Is it possible to split the print reviewer into more than one region? 6. Does a Before form trigger fire when the parameter form is suppressed? 5. 10 July 2008 oracle interview questions Oracle interview questions 1.fmx in the server directory. Can a field be used in a report without it appearing in any data group? . Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size? 7. and canvas e) Create a window. For a field in a repeating frame. Place the . can the source come from the column which does not exist in the data group which forms the base for the frame? 8. m) Modify the pre-form trigger (form level) n) Modify the module level properties ((console window. In the program unit. f) Assign the window property class to window g) Create a canvas (subclass info) h) Assign canvas property class to the canvas I) assign the window to the canvas and canvas to the window j) Create a data block k) Modify the form level properties. First navigation p) Save and compile the form.

Each window you create must have atleast one content canvas view assigned to it. 23. Can a formula column referred to columns in higher group? 11. You can also create a window that has manipulated content canvas view. When a form is invoked with call_form. The join defined by the default data link is an outer join yes or no? 10. what diff. 24. What are the different windows events activated at runtime? 21. Is it possible to insert comments into sql statements return in the data model editor? 13. report 2.9. Is it possible to split the print reviewer into more than one region? Yes 25.5 when the query is applied? 17. Does oracle forms issues a save point? 15. Can a formula column be obtained through a select statement? 12. At run time only one of the content canvas views assign to a window is displayed at a time. What is trigger associated with the timer? 19. What are the trigger associated with image items? 20. 22. Can a property clause itself be based on a property clause? 16. Is it possible to disable the parameter from while running the report? 14. exist betw. Does a Before form trigger fire when the parameter form is suppressed? Yes. Can you have more than one content canvas view attached with a window? Yes. What are the sql clauses supported in the link property sheet? 18. Is the After report trigger fired if the report execution fails? Yes. Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size? Yes .0 and 2. If a parameter is used in a query without being previously defined.

When a form is invoked with call_form.26. Can a field be used in a report without it appearing in any data group? Yes 27. If a parameter is used in a query without being previously . Can a property clause itself be based on a property clause? Yes 34. The join defined by the default data link is an outer join yes or no? Yes 28. Does oracle forms issues a save point? Yes 33. Can a formula column referred to columns in higher group? Yes 29. For a field in a repeating frame. can the source come from the column which does not exist in the data group which forms the base for the frame? Yes 119. Is it possible to insert comments into sql statements return in the data model editor? Yes 31. Can a formula column be obtained through a select statement? Yes 30. Is it possible to disable the parameter from while running the report? Yes 32.

35. report 2. Oracle also provides a JServer Accelerator to compile Java code natively.5 gives a message that a bind parameter has been created. What is trigger associated with the timer? When-timer-expired.0 and 2. What are the sql clauses supported in the link property sheet? Where start with having. what diff. .0 and 2. 9 July 2008 oracle interview questions with out answers part-1 Java on Oracle interview questions 1. This speeds up the execution of Java code by eliminating interpreter overhead. What are the different windows events activated at runtime? When_window_activated When_window_closed When_window_deactivated When_window_resized Posted by tom at 14:55 0 comments Wednesday. 37. report 2.defined.5 create the parameter. exist betw. What are the trigger associated with image items? When-image-activated fires when the operators double clicks on an image itemwhen-image-pressed fires when an operator clicks or double clicks on an image item 38. 36. What is JServer and what is it used for? Oracle JServer Option is a Java Virtual Machine (Java VM) which runs within the Oracle database server’s address space.5 when the query is applied? While both reports 2.

. 4. 2. Run the $ORACLE_HOME/javavm/install/initjvm. The rmjvm. 5. 3. (c) JDBC KPRB driver (default connection) for Java Stored Procedures and Database JSP’s. Make sure your database is started with large java_pool_size (>20M) and shared_pool_size (>50M) INIT.ORA parameter values. Why does one need to publish Java in the database? Publishing Java classes on the database makes it visible on a SQL and PL/SQL level. (b) JDBC OCI for writing stand-alone Java applications.2. 5. Follow the steps in the Oracle Migrations Guide to upgrade or downgrade the JServer option from one release to another. It is important to publish your code before calling it from SQL statements or PL/SQL code. Grant JAVAUSERPRIV to users that wants to use Java: SQL> GRANT JAVAUSERPRIV TO SCOTT. How does one install the Oracle JServer Option? Follow these steps to activate the Oracle JServer/ JVM option: 1. What is JDBC and what is it used for? JDBC is a set of classes and interfaces written in Java to allow other Java programs to send SQL statements to a relational database management system. 4. ce code into the database? Use the “CREATE OR REPLACE JAVA SOURCE” command or “loadjava” utility.sql script from SYS AS SYSDBA to install the Oracle JServer Option on a database. Oracle provides three categories of JDBC drivers: (a) JDBC Thin Driver (No local Net8 installation required/ handy for applets). 3. Loaded code can be viewed by selecting from the USER_SOURCE view.sql script can be used to deinstall the JServer option from your database.

// or oci7 @TNSNames_Entry.OracleDriver()).out.createStatement(). class dbAccess { public static void main (String args []) throws SQLException { DriverManager. userid. class dbAccess { public static void main (String args []) throws SQLException { try { Class.executeQuery(”select BANNER from . } Connection conn = DriverManager. } } 7. while ( System.6.getConnection (”jdbc:oracle:oci8:@hostname_orcl”. How does one connect with the JDBC Thin Driver? The the JDBC thin driver provides the only way to access Oracle from the Web (applets).createStatement().sql. import java.registerDriver (new oracle. import java.V_$VERSION”).close(). userid. ResultSet rset = stmt. “scott”. password Statement stmt = conn.jdbc. It is smaller and faster than the OCI drivers.executeQuery(”select BANNER from SYS.getConnection (”jdbc:oracle:thin:@hostname:1526:orcl”.OracleDriver”). } catch (ClassNotFoundException e) { e. password Statement stmt = conn. ResultSet rset = stmt. // @machineName:port:SID.printStackTrace(). // Print col 1 stmt. “tiger”).getString(1)).jdbc. and doesn’t require a pre-installed version of the JDBC drivers.*.driver. Connection conn = DriverManager.forName (”oracle. How does one connect with the JDBC OCI Driver? One must have Net8 (SQL*Net) installed and working before attempting to use one of the OCI drivers.println (rset. “tiger”).*. “scott”.sql.

sql. while (rset. ResultSet rset = stmt. import java.executeQuery(”select BANNER from SYS.ser files.class and *. Remember not to close the default connection. // Print col 1 stmt.SYS.jdbc. Statement stmt = System. username or password as you are already connected to a database session.ser files contain vendor specific database files to *. Closing the default connection might throw an exception in future releases of Oracle. How does one deploy SQLJ programs? Use the sqlj compiler to compile your *. The idea is similar to that of other Oracle Precompilers.V_$VERSION”). Thereafter one invokes the javac compiler to compile the . while (rset.getString(1)). 10.println (rset.sqlj files to *.out.close().close().class files.println (rset.defaultConenction() method.V_$VERSION”). // Print col 1 stmt. } } 9.getString(1)). How does one connect with the JDBC KPRB Driver? One can obtain a handle to the default or current connection (KPRB driver) by calling the OracleDriver. .defaultConnection(). Please note that you do not need to specify a database URL.*. The *. What is SQLJ and what is it used for? SQLJ is an ANSI standard way of coding SQL access in Java. The *.out. It provides a Java precompiler that translates SQLJ call to JDBC and *.next()) System.OracleDriver()).createStatement(). } } 8. class dbAccess { public static void main (String args []) throws SQLException { Connection conn = (new oracle.ser files needs to be deployed.

EJB’s. see the Oracle ASP FAQ. What is JDeveloper and what is it used for? JDeveloper is the Oracle IDE (Integrated Development Environment) for developing SQLJ and JDBC programs. 16. However ASP is a proprietary technology and is less flexible than JSP. . It replaced the JBCL interface that were used in JDeveloper V1 and V2. a servlet (*. What is the difference between ASP and JSP? Active Server Pages (ASP) is a Microsoft standard. 14. 12. A JSP compiler is used in the background to generate a Servlet from the JSP page.jsp files. What is a JSP and what is it used for? Java Server Pages (JSP) is a platform independent presentation layer technology that comes with SUN’s J2EE platform. The class file is then executed on the will be created and compiled to a . How does one invoke a JSP? A JSP gets invoked when you call a *. which is easier to develop than Java Server Pages (JSP). JSPs are normal HTML pages with Java code pieces embedded in them. How does a JSP gets executed? The first time you call a JSP.class file. Output produced by the servlet is returned to the web browser. stored procedures. JSP’s etc. applets. What is InfoBus DAC and what is it used for? InfoBus DAC (Data Aware Controls) is a standard Java extension used in JDeveloper to create data aware forms. Output will typically be HTML or XML code.11. 15. 13.html file. Obviously your web server need to support JSP pages and must be configured properly to handle them. JSP pages are saved to *. For more information about ASP.jsp file from your Web Server like you would call a normal *.

PL/SQL procedures are by default executed with defines rights. What’s the command to see the current user name? Sql> show user. 5. What’s the command to change the SQL prompt name? SQL> set sqlprompt “database-1 > ” database-1 > database-1 > 3. 2. What is a Java Stored Procedure/ Trigger? A Java Stored Procedure is a procedure coded in Java (as opposed to PL/SQL) and stored in the Oracle database. How do you switch to DOS prompt from SQL prompt? SQL> host 4. or SQL> delete duplicate_values_field_name dv from table_name ta where rowid < (select min(rowid) from table_name tb where ta. Interfacing between PL/SQL and Java are extremely easy. How do I display row number with records? Use the row-num pseudocolumn with query. ename from emp where rowid in . Please note that Java Stored procedures are by default executed with invokers rights. like SQL> select rownum. How do I eliminate duplicate rows in an Oracle database? SQL> delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name). How do you display the records within a given range? select rownum. Java Stored procedures are executed by the database JVM in database memory space.dv=tb. empno. 6. Oracle interview questions ------------------------------------1.dv).17. ename from emp. Java Stored Procedures can be developed in JDBC or SQLJ.

Name the data dictionary that stores user-defined constraints? 5. cursor_name%NOTFOUND. What are pseudo-columns in SQL? Provide examples. instead of blank space. What is a partition of table? 13. then the text “Not Applicable” should be displayed. What is a view? 3.(select rowid from emp where rownum < =&rangeend minus select rowid from emp where rownum<&rangebegin). Same as explicit cursor but prefixed by the word SQL: SQL%Found. SQL%NOTFOUND. What is a type? 17. cursor_name %ISOPEN 9. What is referential integrity? 4. How do you write the query? SQL> select nvl(to_char(comm. 14. How do you view version information in Oracle? SQL> select banner from $version. There are four cursor attributes used in Oracle: cursor_name%Found. But here’s the task: if the commission field is null. What is a snapshot? 7. What is a data model? .’Not Applicable’) from emp. SQL%ROWCOUNT. What is a trigger? 11. What is a synonym? 8. What is a cursor? 9. Oracle interview questions 1. What is a sequence? 10. 7. 8.). Explain implicit cursor attributes. What is a collection of privileges? 6. What is a schema? 16. SQL%ISOPEN 10. cursor_name%ROWCOUNT. Explain explicit cursor attributes. The NVL function only allows the same data type. What is an exception? 12. What are the Data Control statements? 15. What is an oracle instance? 2.

How do you pass cursor variables in PL/SQL? 16.ENABLE function? 3. Can a function take OUT parameters.Can we use a . 24. What is OCI. What are different modes of parameters used in functions and procedures? 13. Differentiate between TRUNCATE and DELETE 2.What are different procedures and functions associated with it? 5. 21. 30. 29. What is the maximum buffer size that can be specified using the DBMS_OUTPUT. Can cursor variables be stored in PL/SQL tables. 14. 19. 23. 20. 26.If yes how. 28. Can you use a commit statement within a database trigger? 4. 31. Difference between procedure and function. intersect. Difference between database triggers and form triggers? 6. Can the default values be assigned to actual parameters? 11. 32. What are ORACLE PRECOMPILERS? 8. What is difference between a formal and an actual parameter? 12. minus? What is a join. What is an UTL_FILE. 27. How do you open and close a cursor variable. 25. explain the types of joins? What is a co-related sub-query? ODBC stands for…? Data-type used to work with integers is? Describe data models? Describe the Normalization principles? What are the types of Normalization? What is de-normalization? Interview questions for Oracle database administrator 1. If not why? 10.Why it is required? 17.18. If not why? 15. What are its uses? 7. What is a relation? Advantages of redo log files? What is an Archiver? What is a database buffer cache? What are the background processes in Oracle? %type and %rowtype are attributes for…? What are the steps in a two-phase commit? What is a union. 22. 33. What should be the return type for a cursor variable. What is syntax for dropping a procedure and a function? Are these operations possible? 9.

What subjects/courses gave you trouble? Why? 11. What courses did you attend? What job certifications do you hold? 9. What WHERE CURRENT OF clause does in a cursor? 20. What are cursor attributes? 23. What is a cursor? 25. Difference between NO DATA FOUND and %NOTFOUND 21. How you will avoid your query from using indexes? 30. Which datatype is used for storing graphics and images? 36. What two or three things are most important to you at work? 7. What is difference between UNIQUE and PRIMARY KEY constraints? 38.IN or EXISTS? 32. What subjects/courses did you excel in? Why? 10. What is a pseudo column. What are the three major characteristics that you bring to this company? 3. What is a cursor for loop? 22. your background. What is use of a cursor variable? How it is defined? 19. What qualities do you think are essential to be successful in this kind of work? 8.scalar data type as return type? 18. Give some examples? 29. There is a % sign in one field of a column. When do you use WHERE clause and when do you use HAVING clause? 33. What is difference between Rename and Alias? 39. How many databases did the organization have and what sizes? 5. How do you find the numbert of rows in a Table ? 27. Tell us about yourself. Display the number value in Words? 28. What are various joins used while writing SUBQUERIES? Typical Oracle questions 1. 24. 2. What is difference between SQL and SQL*PLUS? 37. What is a OUTER JOIN? 31. How does your previous work experience prepare you for this . What version of Oracle were you running? 4. What motivates you to do a good job? 6. What is the purpose of a cluster? 26. Which is more faster . Difference between an implicit & an explicit cursor. What will be the query to find it? 34. What is difference between SUBSTR and INSTR? 35.

If you have to advise a backup strategy for a new application. 15. Are you willing to travel? 30. (b) 10 years from now? 21. Why would you prefer to work on one and not on the other? . Compare Oracle to any other database that you know. What do you know about our company? 25. Why should we hire you? 26. What leadership roles have you held? 18. what will you do to resolve it? 35. What have you done in the past year to improve yourself? 23. What are your salary requirements? 31. Describe a failure and how you dealt with it. Describe a challenge you encountered and how you dealt with it. 17. how would you approach it and what questions will you ask? 34. Did you use online or off-line backups? 33. When would you be available to start if you were selected? 32. Where do you see yourself fitting in to this organization initially? How about in 5 years? 27. How do you feel about re-locating? 29. Describe the ‘ideal’ job… the ‘ideal’ supervisor. Why do you want to work for this company. Why are you looking for a new job? 28. If a customer calls you about a hanging database session. What prejudices do you hold? 19. What do you like to do in your spare time? 20. How does this position match your career goals? 22. What has been your most significant accomplishment to date? 14. How do you define ’success’? 13.position? 12. 16. What are your career goals (a) 3 years from now. In what areas do you feel you need further education and training to be successful? 24.

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.