﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / Oracle Interview Questions / Oracle PL/SQL and overall SQL Interview Questions  / Oracle SQL &amp; PL/SQL Interview Questions / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Thu, 09 Sep 2010 14:24:30 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Oracle SQL &amp; PL/SQL Interview Questions</title><link>http://www.franklinfaces.com/Topic25-81-1.aspx</link><description>Oracle PL/SQL Interview questions:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size=3&gt;1. what is the difference between database trigger and application trigger? &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;2. what are the file utilit comands used in PL/SQL procedures? &lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;3. what is a cluster and what is the real time use and business reasons to use Clustering &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;4. In PL/SQL if we write select statement with INTO clause it may return two exceptions NO_DATA_FOUND or TOO_MANY_ROW . To do you avoid these execeptions. How do you write SQL statement in alternative way? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;5. what is dense_rank function and it's usage ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;6. What is HIGH WATERMARK?I got to know that it is reset when the TRUNCATE command is executed on a table. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;7. explian rowid,rownum?what are the psoducolumns we have? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;8. 1)what is the starting "oracle error number"?2)what is meant by forward declaration in functions? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;9. what is the difference between database server and data dictionary &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;10. Hi,Can anyone tell me the difference between instead of trigger, database trigger, and schema trigger?Thanks. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;11. what is difference b/w stored procedures and application procedures,stored function and application function.. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;12. State the difference between implict and explict cursor's &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;13. what is pragma? can any one give me the example of autonomous Transaction ?can we change the order of procedure parameter while calling procedure? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;14. What is the data type of Null? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;15. What is autonomous Transaction? Where are they used? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;16. Details about FORCE VIEW why and we can use &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;17. How can one view all the procedures,functions,triggers and packages created by the user &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;18. What is the difference between User-level, Statement-level and System-level Rollback? Can you please give me example of each? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;19. What happens when DML Statement fails?A.User level rollbackB.Statement Level RollbackC.Sustem Level Rollback &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;20. Why Functions are used in oracle ?Can Functions Return more than 1 values?Why Procedures are used in oracle ?What are the Disadvantages of packages?What are the Global Variables in Packages? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;21. Is there any limitation on no. of triggers that can be created on a table? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;22. what is p-code and sourcecode ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;23. What are ref cursors ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;24. Which type of binding does PL/SQL use? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;25. Talk about "Exception Handling" in PL/SQL? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;26. What are the return values of functions SQLCODE and SQLERRM ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;27. What are advantages fo Stored Procedures / Extensibility,Modularity, Reusability,&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;What are advantages fo Stored Procedures / Extensibility,Modularity, Reusability, Maintainability and one time compilation. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;28. What are two parts of package ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;29. What is Overloading of procedures ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;30. What are the modes of parameters that can be passed to a procedure ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;31. What is difference between a PROCEDURE &amp;amp; FUNCTION ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;32. What is a stored procedure ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;33. Where the Pre_defined_exceptions are stored ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;34. What is Raise_application_error ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;35. What is Pragma EXECPTION_INIT ? Explain the usage ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;36. Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;37. Explain the usage of WHERE CURRENT OF clause in cursors ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;38. What is a cursor for loop ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;39. What is nested table in Oracle and and difference between table and nested table &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;40. What are the components of a PL/SQL block ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;41. What do you mean by OCI, Data guard and Advance queue responsibilities for a Oracle developers? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;42. How do you encrypt the function to prevent accessing from users without specific permission. ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;43. HI,What is Flashback query in Oracle9i...? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;44. Oracle refcursor and procedure &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;45. Convert SQL to Oracle Procedure using cursor &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;46. I want to insert the following information in userAction table:Which user execute which query on which date?the userAction table contains the foolowing attributes:USER DATE QUERYplease write to me how to resolve this problem? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;47. what are purity rules for functions? why they use ? what effects if not follow these rules? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;48. In function and procedure the parameter p***is "call by value" or "call by referenc&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;In function and procedure the parameter p***is "call by value" or "call by reference"? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;49. What can be the Maximum size of a plsql block? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;50. Compare EXISTS and IN Usage with advantages and disadvantages. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;51. Which two statements are true?A. A function must return a value.B. A procedure must return a value.C. A function executes a PL/SQL statement.D. A function is invoked as part of an expression.E. A procedure must have a return Data &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;52. Oracle extract records from temporary table &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;53. Pragma Init Exception &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;54. What are the disadvantages of Packages and triggers?? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;55. Hi, How do we display the column values of a table using cursors without knowing the column names inside the loop? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;56. What will happen after commit statement ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;57. What is PL/SQL ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;58. 1.How to display current Date &amp;amp; Time in Pl/Sql2.How to use DML in Procedure? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;59. How do you call procedure have a DDL or commit/rollback statement from a trigger? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;60. Oracle Cursor types &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;61. Suppose I have 2 triggers on table T, tr1- a before insert trigger &amp;amp; tr2- a before update trigger.tr1 has update (T) statement inside body of tr1andtr2 has insert (T) statement inside body of tr2Now, I'm tring to insert a row into T.What will hppn?? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;62. What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;63. what is diffrence between IS and AS in procedure? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;64. Hi Friends!! Can anybody answer what are the constraints on Mutating tables? How to remove the mutating errors in triggers? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;65. What are mutating tables? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;66. Write sample code that can create a hierachical set of data without using a start with and connect by clause in PL/SQL &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;67. how can i import .dmp file in lower version of oracle from higher version ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;68. how can i get set identity for last coloumn of the table. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;69. What is the basic structure of PL/SQL ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;70. you have compiled some PL/SQL packages in your schema, and found aome errors in one procedure.how do you find which procedure produced the error?how do you find which section of the code produced the error and look at? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;71. char(20) = 'name' varchar2(20)='name' When comparing these two values, are&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;char(20) = 'name' varchar2(20)='name' When comparing these two values, are the spaces padded in char are considered or not? Are both values equal? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;72. What is the difference between right join and right outer join.. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;73. What is the disadvantage of out paramter in functions &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;74. What is the need for using function purity in pl/sql &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;75. What is the difference between using IS and AS while creating a procedure, function package and package body? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;76. What are the restrictions on Functions ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;77. What is PL/SQL table? SNO MARK ------- ------------------1 592 403 â€˜Aâ€™4 60 Write a single query to I) Sorted Marks II)First mark III) replace the mark â€˜Aâ€™ with 0(zero)? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;78. Without closing the cursor, If you want to open it what will happen. If error, get what is the error? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;79. What are the components of a PL/SQL Block ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;80. Is it possible to use commit or rollback in exception section. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;81. Why DUAL table is not visible? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;82. What are the PL/SQL Statements used in cursor processing ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;83. What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;84. how can we avoid duplicate rows. without using distinct command &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;85. can procedures have parameters &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;86. How to return more than one value from a function?What are the types of triggers?What are the featu&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;How to return more than one value from a function?What are the types of triggers?What are the features of oracle 9i &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;87. How can I speed up the execution of query when number of rows in the tables increased &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;88. 1.What is bulk collect?2.What is instead trigger3.What is the difference between Oracle table &amp;amp; PL/SQL table?4.What R built in Packages in Oracle?5.what is the difference between row migration &amp;amp; row changing? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;89. what is diff between strong and weak ref cursors &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;90. 1)any one can tell me,suppose we have 1000 of records,ok.then we want to update only 500 records,how can we solve this problem?2)how many types of "explicit cursors" we have?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;91. why do we need to create a force view?what is its purpose?give some examples? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;92. What is a cursor ? Why Cursor is required ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;93. What is materialized view? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;94. What happens if a procedure that updates a column of table X is called in a database trigger of the same table ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;95. What will happen to an anonymus block,if there is no statement inside the block?eg:-declarebeginend; &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;96. Can we have same trigger with different names for a table?eg: create trigger trig1after insert on tab1;andeg: create trigger trig2after insert on tab1;If yes,which trigger executes first. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;97. difference between truncate and delete &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;98. What are the two parts of a procedure ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;99. How to reduce the the burden/main memory on database if i am using refcursor to hold large data to increase performance. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;100. Name the tables where characteristics of Package, procedure and functions are stored ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;101. How packaged procedures and functions are called from the following? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;102. Explain how procedures and functions are called in a PL/SQL block ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;103. How many types of database triggers can be specified on a table ? What are they ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;104. What will be the impact of replacing an API call with a stored PL/SQL call? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;105. How PL SQL is different from T-SQL &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;106 &amp;gt; Select Count(*) from T1 where a=10 3&amp;gt; Select count(*) from T1 where b=20 11Now, What will b the O/P of the following..select count(*) from T1 where a=10 or b=20.............................. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;107. What is the purpose of FORCE while creating a VIEW &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;108. What is an Exception ? What are types of Exception ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;109. What is the output of the following pl/sql block ?declare v_empno emp.empno%type;begin select empno into v_empno from emp where empno = 10;exception when others then dbms_output.put_line ( 'no data found'); when no_data_found then dbms_output.put_line ( 'ther is no data found ');end; &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;110. Explain the two type of Cursors ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;111. What is the difference between private packages and public package . what is the difference in declaration of these 2 packages. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;112. how to avoid the mutating error with sample program &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;113. Give the structure of the procedure ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;114. Explain about CURSOR and REF CURSUR with real time scenario where this can be used. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;115. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;When using a count(distinct) is it better to use a self-join or temp table to find redundant data, and provide an example? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;116. How do you set table for read only access ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;117. what is the use of nocopy parameter in oracle procedure &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;118. What is CODEX function? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;119. can we use commit in trigger and cursors? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;120. Why we use instead of trigger. what is the basic structure of the instead of trigger. Explain specific business reason of it's use &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;121. how to create a constraint for a tablecolumn which is already created &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;122. How to disable a trigger for a particular table ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;123. Force View &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;124. How do you debug the PL/SQL ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;125. What is mutatinig trigger? How do you avoid mutating trigger? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;126. What is a purity level? How it is should be taken into consideration when your writing any database objects i.e., trigger,function, procedure etc., &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;127. how to trace the errors in pl/sql block code.. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;128. How to get the 25th row of a table. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;129. if there is an index including three columns A, B and C. And if we issue a query in which where clause uses only column B....will the index be useful??and what if the where clause only has coulmn A..will the index b useful?? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;130. What is difference between PL/SQL tables and arrays? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;131. What is the use of NOCOPY Compiler Hint while writing PL/SQL procedures/subprograms??? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;132. Select from A table through cursor and update B table. If it updates successfully then insert into another table. Handled every type of exception in the code? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;133. Is it possible create table in procedure or function? If Not Why? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;134. what are the advantages &amp;amp; disadvantages of packages ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;135. What is PRAGMA RESTRICT_REFERENCES: &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;136. Suppose thr are 10 DMLs(insert,update,delete ) in the main section of the PL/SQL block .The exception in them is handled as a whole in the exception handling section .....The error may occur in any of this DMLs ,so how can we understand that which DML has failed ?? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;137. What are the advantages and disadvantages of DBMS-SQL &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;138. how to insert a music file into the database &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;139. What is Atomic transaction? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;140. what is the order of execution if there is a statement level and row level trigger on a same table? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;141. Explain, Is it possible to have same name for package and the procedure in that package. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;142. How to trace PL/SQL Package?How to trace PL/SQL procedures?How to trace SQL statement?what is DBMS_TRACE? How to use?SET AUTOTRACE ON; ?If anyone tell me how we can use trace and create log that would be great? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;143i want to tune the below query for performance issue can u please help me the query is SELECT DISTINCTA.BUSINESS_UNIT,A.CUST_ID,A.ASOF_DTFROM PS_ITEM_ACTIVITY A WHERE A.BUSINESS_UNIT = '1100G'AND A.ITEM LIKE 'OA%' AND A.PO_LINE = 0AND A.ENTRY_REASON 'CLEAR'AND A.ASOF_DT &amp;gt; '01-JAN-1900'AND A.USER1 = ' 'UNIONSELECT DISTINCTA.BUSINESS_UNIT,A.CUST_ID,A.ASOF_DTFROM PS_PENDING_ITEM A WHERE A.BUSINESS_UNIT = '1100G'AND A.ITEM LIKE 'OA%&amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;144. HiWhile creating a table, what is the difference between VARCHAR2(80) and VARCHAR2(80 BYTE)? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;145. How can i see the time of execution of a sql statement? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;146. what happens when commit is given in executable section and an error occurs ?please tell me what happens if exception block is committed at the last? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;147. What are the Limitations of Packages,views,procedures?What is the maximum number of subprograms inside a package? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;148. what is difference between varray and nested table.can u explain in brief and clear my these concepts.also give a small and sweet example of both these. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;149. Wheather a Cursor is a Pointer or Reference? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;150. How to find the nth hightest record holder from a table &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;151. What is the difference between In, Out, InOut Parameters. Can we p***value or reference or both to the In Out Parameter. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;152. What is a NOCOPY parameter? Where it is used? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;153. What is PL/SQL table ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;155. Can we create a table using with Procedure or Function?wat is the Mutating trigger error? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;156. Can e truncate some of the rows from the table instead of truncating the full table. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;157. What are the Restrictions on Cursor Variables?Thanks Ramki, Hyd, TCS &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;158. How to change owner of a table? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;159. Mention the differences between aggregate functions and analytical functions clearly with examples? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;160. how can u create session variable in pakages? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;161. How can I create a new table by using other two table's values. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;162. what is the diff between %Rowtype and %type? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;163. what is the difference between database trigger and schema trigger? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;164. How to avoid using cursors? What to use instead of cursor and in what cases to do so? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;165. How to disable multiple triggers of a table at at a time? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;166 What will the Output for this Coding&amp;gt; Declare Cursor c1 is select * from emp FORUPDATE; Z c1%rowtype;Begin Open C1;Fetch c1 into Z;Commit;Fetch c1 in to Z;end; &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;167. Can we use commit or rollback command in the exception part of PL/SQL block? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;168. Suppose, I've created a new database DB1 n i've created a table DB1.T1.Now, DESC T1 --&amp;gt; d&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;Suppose, I've created a new database DB1 n i've created a table DB1.T1.Now, DESC T1 --&amp;gt; desplaying the table structure butselect * from DB1.T1 ----&amp;gt;giving--&amp;gt; table or view does not exist.. Can any one explain possible reason behind this. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;169. What are the datatypes a available in PL/SQL ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;170.&lt;/FONT&gt; &lt;FONT size=3&gt;can i change the elements of listitems at runtimes?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;171. Give the structure of the function ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;172. pls send the interview qustions from pl/sql, sql, datawarehousing questions. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;173. What is the difference between a reference cursor and normal cursor ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;174. How to view the contents of tables created by the following procedure after the Loop?CREATE OR REPLACE PROCEDURE A0_BULK_COLLECT_TEST IS TYPE EMPLOYEE_MRNO IS TABLE OF A_REGISTRATION_HEADER.ARH_MR_NUM%TYPE; TYPE EMPLOYEE_NAME IS TABLE OF VARCHAR2(255); MRNUMBERS EMPLOYEE_MRNO; NAMES EMPLOYEE_NAME; CURSOR crBulkCollect IS SELECT ARH_MR_NUM, ARH_FIRST_NAME||' '||ARH_MIDDLE_NAME||' '||ARH_LAST_NAME FROM A_REGISTRATION_HEADER WHERE ARH_CTGRY_CD='EMP';BEGIN &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;175. what is difference between Cursor and Ref Cursor. Please give example. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;176. State the advatage and disadvantage of Cursor's &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;177. can we declare a column having number data type and its scale is larger than pricesionex: column_name NUMBER(10,100), column_name NUMBAER(10,-84) &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;178. what is datatype of x when we say define x in oracle &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;179. How we can create a table in PL/SQL block. insert records into it??? is it possible by some procedure or function?? please give example... &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;180. Can any one explain Perforance Tuning in PL/SQL &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;181. How to display the contents of a current record fetched in a ref cursor &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;182. How to handle exception in Bulk collector? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;183. What is the DATATYPE of PRIMARY KEY?is it Binary integer..i'm not sure..1.Varchar22.Char3.Binary integer4.Number &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;184. In a Distributed Database System Can we execute two queries simultaneously ? Justify ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;185. #1 What are the advantages and disadvantages of using PL/SQL or JAVA as the primary programming tool for database automation.#2 Will JAVA replace PL/SQL? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;186. Write the order of precedence for validation of a column in a table ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;187. 1) Why it is recommonded to use INOUT instead of OUT parameter type in a procedure?2) What happen if we will not assign anything in OUT parameter type in a procedure? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;188. What is Mutation of a trigger? why and when does it oocur? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;189. can anybody tell me a sample OCI function which will be able to call from Tourbo cthanx!! &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;190. we have a trigger on data base.in the trigger body we have created a body using dbms_output.put_line(********) ;this should be firedwhen ever trigger executed; &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;191. What is PL/Sql tables?Is cursor variable store in PL/SQL table? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;192. What type of binding is PL/SQL? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;193. What steps should a programmer should follow for better tunning of the PL/SQL blocks?Difference between procedure and function?What is the use of ref cursor return type? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;194. Based on what conditions can we decide whether to use a table or a view or a materialized view ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;195. What is Data Concarency and Consistency? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;196. What is bulk binding please explain me in brief ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;197. What is the difference between all_ and user_ tables ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;198. what is crosstab &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;199. can i write plsql block inside expection &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;200. What is a database trigger ? Name some usages of database trigger ? Subscribe &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;Database trigger is stored PL/SQL program unit associated with a specific database table. Usages are Audit data modifications,&amp;amp;n&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;201. Describe in brief some of the featurs of oracle9i.What is LogMiner? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;202. What happens when a package is initialized ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;203. What are the cursor attributes used in PL/SQL ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;204. What is difference between % ROWTYPE and TYPE RECORD ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;205. What are two virtual tables available during database trigger execution ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;</description><pubDate>Mon, 14 Jun 2010 14:32:34 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>Oracle SQL &amp; PL/SQL Interview Questions</title><link>http://www.franklinfaces.com/Topic25-81-1.aspx</link><description>&lt;H5&gt;&lt;FONT color=#113311&gt;How to display row number with records?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;Select rownum, ename from emp;&lt;/P&gt;&lt;H3&gt;&lt;FONT color=#113311 size=2&gt;How to view version information in Oracle?&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;Select banner from v$version;&lt;/P&gt;&lt;H3&gt;&lt;FONT color=#113311 size=2&gt;How to find the second highest salary in emp table?&lt;/FONT&gt; &lt;/H3&gt;&lt;P&gt;select min(sal) from emp a&lt;BR&gt;where 1 = (select count(*) from emp b where a.sal &amp;lt; b.sal) ;&lt;/P&gt;&lt;H3&gt;&lt;FONT color=#113311 size=2&gt;How to delete the duplicate rows from a table?&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;create table t1 ( col1 int, col2 int, col3 char(1) );&lt;BR&gt;insert into t1 values(1,50, ‘a’);&lt;BR&gt;insert into t1 values(1,50, ‘b’);&lt;BR&gt;insert into t1 values(1,89, ‘x’);&lt;BR&gt;insert into t1 values(1,89, ‘y’);&lt;BR&gt;insert into t1 values(1,89, ‘z’);&lt;BR&gt;&lt;/P&gt;&lt;P&gt;select * from t1;&lt;BR&gt;&lt;/P&gt;&lt;BR&gt;&lt;TABLE width="10%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;Col1&lt;/TH&gt;&lt;TH&gt;Col2&lt;/TH&gt;&lt;TH&gt;Col2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;z&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;delete from T1&lt;BR&gt;where rowid &amp;lt;&amp;gt; ( select max(rowid)&lt;BR&gt;from t1 b&lt;BR&gt;where b.col1 = t1.col1&lt;BR&gt;and b.col2 = t1.col2 ) 3 rows deleted.&lt;BR&gt;&lt;BR&gt;&lt;P&gt;select * from t1;&lt;BR&gt;&lt;/P&gt;&lt;TABLE width="10%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;Col1&lt;/TH&gt;&lt;TH&gt;Col2&lt;/TH&gt;&lt;TH&gt;Col2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;z&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;will do it.&lt;H5&gt;&lt;FONT color=#113311&gt;How to select a row using indexes?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;You have to specify the indexed columns in the WHERE clause of query.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How to select the first 5 characters of FIRSTNAME column of EMP table?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;select substr(firstname,1,5) from emp&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How to concatenate the firstname and lastname from emp table?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;select firstname ‘ ‘ lastname from emp&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What's the difference between a primary key and a unique key?&lt;/FONT&gt; &lt;/H5&gt;&lt;B&gt;Primary key&lt;/B&gt; does not allow nulls, &lt;P&gt;&lt;B&gt;Unique key&lt;/B&gt; allow nulls.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What is a self join?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;A self join joins a table to itself.&lt;/P&gt;&lt;H4&gt;Example&lt;/H4&gt;&lt;P&gt;SELECT a.last_name Employee, b.last_name Manager&lt;BR&gt;FROM employees a, employees b&lt;BR&gt;WHERE b.employee_id = a.manager_id;&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What is a transaction and ACID?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;&lt;B&gt;Transaction&lt;/B&gt; - A transaction is a logical unit of work. It must be commited or rolled back.&lt;/P&gt;&lt;P&gt;&lt;B&gt;ACID&lt;/B&gt; - Atomicity, Consistency, Isolation and Duralbility, these are properties of a transaction.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How to add a column to a table?&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;alter table t1 add sal number;&lt;/P&gt;&lt;P&gt;alter table t1 add middle_name varchar(20); &lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;Is it possible for a table to have more than one foreign key ?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;A table can have any number of foreign keys. It can have only one primary key .&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How to display number value in words?&lt;/FONT&gt;&lt;/H5&gt;SQL&amp;gt; select sal, (to_char(to_date(sal,'j'), 'jsp')) from emp; &lt;H5&gt;&lt;FONT color=#113311&gt;What is candidate key, alternate key, composite key.&lt;/FONT&gt;&lt;/H5&gt;&lt;B&gt;Candidate Key&lt;/B&gt; A candidate key is one that can identify each row of a table uniquely. Generally a candidate key becomes the primary key of the table.&lt;BR&gt;&lt;P&gt;&lt;B&gt;Alternate Key&lt;/B&gt;If the table has more than one candidate key, one of them will become the primary key, and the rest are called alternate keys. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Composite Key:&lt;/B&gt; - A key formed by combining at least two or more columns is called composite key. &lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What's the difference between DELETE TABLE and TRUNCATE TABLE commands? Explain drop command.&lt;/FONT&gt;&lt;/H5&gt;Both Delete and Truncate will leave the structure of the table. Drop will remove the structure also.&lt;BR&gt;&lt;OL type=1&gt;&lt;LI&gt;&lt;BR&gt;&lt;H4&gt;Example&lt;/H4&gt;&lt;P&gt;If tablename is T1.&lt;/P&gt;&lt;P&gt;To remove all the rows from a table t1.&lt;/P&gt;&lt;P&gt;Delete t1&lt;/P&gt;&lt;P&gt;Truncate table t1&lt;/P&gt;Drop table t1.&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;Truncate is fast as compared to Delete. DELETE will generate undo information, in case of rollback, but TRUNCATE will not.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;Full Table scan and index fast scan read data blocks up to high water mark and truncate resets high water mark but delete does not.So full table scan after Delete will not improve but after truncate it will be fast.&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;Delete is DML. Because truncate is a DDL, it performs implicit commit. You cannot rollback a truncate. Any uncommitted DML changes will also be committed with the TRUNCATE.&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;You cannot specify a WHERE clause in the TRUNCATE statement, but you can specify that in Delete.&lt;BR&gt;&lt;BR&gt;&lt;LI&gt;When you truncate a table the storage for the table and all the indexes can be reset back to its initial size,but a Delete will never shrink the size of the a table or its indexes.&lt;BR&gt;&lt;BR&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;B&gt;About Dropping&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Dropping a table removes the data and definition of the table. The indexes, constraints, triggers, and privileges on the table are also dropped. The action of dropping a table cannot be undone. The views, materialized views or other stored programs that reference the table are not dropped but they are marked as invalid.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.&lt;/FONT&gt; &lt;/H5&gt;&lt;P&gt;Procedures and functions are stored in compiled form in database.&lt;/P&gt;&lt;P&gt;Functions take zero or more parameters and return a value. Procedures take zero or more parameters and return no values.&lt;/P&gt;&lt;P&gt;Both functions and procedures can take or return zero or more values through their parameter lists.&lt;/P&gt;&lt;P&gt;Another difference between procedures and functions, other than the return value, is how they are called. Procedures are called as stand-alone executable statements:&lt;/P&gt;&lt;P&gt;my_procedure(parameter1,parameter2...);&lt;/P&gt;&lt;P&gt;Functions can be called anywhere in an valid expression :&lt;/P&gt;e.g&lt;BR&gt;1) IF (tell_salary(empno) &amp;lt; 500 ) THEN … 2) var1 := tell_salary(empno); 3) DECLARE var1 NUMBER DEFAULT tell_salary(empno); BEGIN …&lt;BR&gt;&lt;P&gt;Packages contain function , procedures and other data structures.&lt;/P&gt;There are a number of differences between packaged and non-packaged PL/SQL programs. &lt;P&gt;Package The data in package is persistent for the duration of the user’s session.The data in package thus exists across commits in the session.&lt;/P&gt;If you grant execute privilege on a package, it is for all functions and procedures and data structures in the package specification. You cannot grant privileges on only one procedure or function within a package. &lt;P&gt;You can overload procedures and functions within a package, declaring multiple programs with the same name. The correct program to be called is decided at runtime, based on the number or datatypes of the parameters.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;Describe the use of %ROWTYPE and %TYPE in PL/SQL&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;%ROWTYPE associates a variable to an entire table row. &lt;/P&gt;&lt;P&gt;The %TYPE associates a variable with a single column type.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are SQLCODE and SQLERRM and why are they important for PL/SQL developers?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;SQLCODE returns the current database error number. These error numbers are all negative, except NO_DATA_FOUND, which returns +100.&lt;/P&gt;&lt;P&gt;SQLERRM returns the textual error message.. These are used in exception handling.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How can you find within a PL/SQL block, if a cursor is open?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;By the Use of %ISOPEN cursor variable.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;How do you debug output from PL/SQL?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;By the use the DBMS_OUTPUT package. &lt;/P&gt;&lt;P&gt;By the use of SHOW ERROR command, but this only shows errors. &lt;/P&gt;&lt;P&gt;The package UTL_FILE can also be used.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are the types of triggers?&lt;/FONT&gt;&lt;BR&gt;&lt;/H5&gt;&lt;LI&gt;Use Row and Statement Triggers &lt;LI&gt;Use INSTEAD OF Triggers &lt;H5&gt;&lt;FONT color=#113311&gt;Explain the usage of WHERE CURRENT OF clause in cursors ?&lt;/FONT&gt;&lt;BR&gt;&lt;/H5&gt;&lt;P&gt;It refers to the latest row fetched from a cursor in an update and delete statement.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;Name the tables where characteristics of Package, procedure and functions are stored ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;User_objects, User_Source and User_error.&lt;BR&gt;&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are two parts of package ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;They consist of package specification, which contains the function headers, procedure headers, and externally visible data structures. The package also contains a package body, which contains the declaration, executable, and exception handling sections of all the bundled procedures and functions.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are two virtual tables available during database trigger execution ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;The table columns are referred as OLD.column_name and NEW.column_name.&lt;/P&gt;&lt;P&gt;For INSERT only TRIGGERS NEW.column_name values ARE only available.&lt;/P&gt;&lt;P&gt;For UPDATE only TRIGERS OLD.column_name NEW.column_name values ARE only available.&lt;/P&gt;&lt;P&gt;For DELETE only TRIGGERS OLD.column_name values ARE only available.v &lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What is Overloading of procedures ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;REPEATING OF SAME PROCEDURE NAME WITH DIFERENT PARAMETER LIST.&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are the return values of functions SQLCODE and SQLERRM ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;&lt;B&gt;SQLCODE&lt;/B&gt; returns the latest code of the error that has occurred.&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQLERRM&lt;/B&gt; returns the relevant error message of the SQLCODE.&lt;BR&gt;&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;It is not possible.,because of the side effect to transactions. You can use them indirectly by calling procedures or functions .&lt;/P&gt;&lt;H5&gt;&lt;FONT color=#113311&gt;What are the modes of parameters that can be passed to a procedure ?&lt;/FONT&gt;&lt;/H5&gt;&lt;P&gt;IN, OUT, IN-OUT parameters.&lt;/P&gt;&lt;/LI&gt;&lt;!-- spacer for skins that want sidebar and main to be the same height--&gt;</description><pubDate>Wed, 03 Dec 2008 15:18:54 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>