|Hypertext Markup LanguageCascading Style SheetsExtensible Markup LanguageJava ScriptjQueryAngularJSOracle SQLOracle PL/SQLOracle D2K FormsOracle D2K ReportsOracle DatabaseJavaJava Database ConnectivityJava ServletJava Server PagesHibernateApache TomcatCC++PHPMy-SqlUnix/LinuxMS-DOSHR Interviews|
|What is the advantage of using packages for storing PL/SQL objects?|
Packages offer several advantages when you call a packaged subprogram for the first time, the whole package is loaded into memory. So, later calls to related subprograms in the package require no disk I/O.
|Define exception and How will you raise an exception in PL/SQL procedure?|
In PL/SQL, a error condition is called an exception. Exceptions can be system defined or user defined.
Examples of system defined exceptions include division by zero and out of memory. Some common system exceptions have predefined names, such as ZERO_DIVIDE and STORAGE_ERROR.
The following example illustrates the scope rules:
DECLARE due EXCEPTION; BEGIN RAISE due; EXCEPTION WHEN due THEN Null; END;
|What is the difference between Procedure and Function?|
A function is a subprogram written to perform certain computations ,
|What is PL/SQL ?|
|SQL is a declarative language that allows database programmers to write a SQL declaration and hand it to the database for execution. As such, SQL cannot be used to execute procedural code with conditional, iterative and sequential statements. To overcome this limitation, PL/SQL was created. PL/SQL is Oracle's Procedural Language extension to SQL.using plsql we perform Conditional Control ,Iterative Sequential Control Statements.it is commonly used to write data-centric programs to manipulate data in an Oracle database.|
|What is the difference between SQL and PL/SQL?|
|Both SQL and PL/SQL are languages used to access data within Oracle databases. SQL is a limited language that allows you to directly interact with the database. You can write queries (SELECT), manipulate objects (DDL) and data (DML) with SQL. PL/SQL is a programming language that includes all the features of most other programming languages. its easily integrate with SQL. SQL is executed one statement at a time. PL/SQL is executed as a block of code. SQL tells the database what to do (declarative), not how to do it. In contrast, PL/SQL tell the database how to do things (procedural).|
|What is the Difference between PL/SQL Table & Nested Table?|
|PL/SQL Table: Index by Tables are not Stored in Database. Nested Table: Nested Tables are Stored in Database as Database Columns.|
|What is the Sequence of Firing Database Triggers?|
a) Before Statement Level Trigger
|What is Instead Of Trigger?|
|This trigger is used to perform DML operation directly on the underlying tables, because a view cannot be modified by normal DML Statements if it contains joins or Group Functions. These triggers are Only Row Level Triggers. The CHECK option for views is not enforced when DML to the view are performed by Instead of Trigger.|
|Give some important Oracle supplied packages?|
DBMS_SQL: It is used to write Procedures & Anonymous blocks that use Dynamic SQL.
|Give some most often used system defined exceptions?|
a) NO_DATA_FOUND (Select Statement returns no rows)
|What is a mutating and constraining table?|
“Mutating” means “changing”. A mutating table is a table that is currently being modified by an update, delete, or insert statement. When a trigger tries to reference a table that is in state of being changed, it is considered “mutating” and raises an error since Oracle should not return data that has not yet reached its final state. Another way this error can occur is if the trigger has statements to change the primary, foreign or unique key columns of the table off which it fires.
|Can one call DDL statements from PL/SQL?|
|One can call DDL statements like CREATE, DROP, TRUNCATE, etc. from PL/SQL by using the “EXECUTE IMMEDATE” statement.|
What is the value of cot 4π/3 ?
Article-24 of the Indian Constitution ‘Prohibition of employment of children in factories, etc’ deals with?
Article-134A of the Indian Constitution ‘Certificate for appeal to the Supreme Court’ deals with?
Who invented Aspirin?
A larger force on a rotating body results in larger?
What is the unit of the physical quantity, magnetic flux density?
The system of equations 2x + 4y = 6 and 4x + 8y = 8 is ?
|Time and Distance|
A thief is spotted by a policeman from a distacne of 100 m. When the policeman starts the chase, the thief also starts running. If the speed of the theif is 8 km / hour and that of the policeman is 10 km/hour, then how far will the theif have to run before he is overtaken?
Aman and Alok attempted to solve a quadratic equation. Aman made a mistake in writing down the constant term and ended up in roots (4, 3). Alok made a mistake in writing down the coefficient of x to get roots (3, 2). The correct roots of the equation are?
The effective annual rate of interest corresponding to a nominal rate of 22% per annum payable half-yearly is?
|Volume and Surface Area|
If the volume of a cylinder is 2156 cubic cm and height is 14 cm, find its radius?
What is the equation of the line which passes through the points (2, 3) and (- 4, 1)?
In △ABC, the angle bisector of ∠A cuts BC at E. Find length of AC, if lengths of AB, BE and EC are 9 cm, 3.6 cm and 2.4 cm?
In a triangle, the length of the opposite side of the angle which measures 45° is 8√2 cm, what is the length of the side opposite to the angle which measures 90°?
|General Knowledge of India|
The boundary line between India and Pakistan is called?
Which city is located on the banks of the river Mahanadi?
When was the battle of Haldighati fought?
In 1498, which Portuguese explorer discovered a new sea route from Europe to India?
|General Knowledge of India|
Chapchar Kut is a festival of which State?
In chemistry, soap is a salt of a ?
Which of the following is a Direct tax?
Sauria lacertidae is the scientific name of?
Which of the following is a primary function of haemoglobin?
A factory buys 8 machines.3 Machine A, 2 Machine B and rest Machine C. Prices of the machines are 100000, 80000 and 45000 respectively.Calculate the average cost of these machines?
Ticket for an adult is 500 and a child is 200. 1 child goes free with two adults. If a group has 20 adults and 8 children what will be the discount the group get?