SQL AND PLSQL INTERVIEW QUESTIONS (1)
SQL AND PLSQL INTERVIEW QUESTIONS (1)
1.What is Row_id?
2.what is Rownum?
3.diffrenece between Rowid and Rownum?
4.what is constriant and type of constraints?
5.integrity Constraint?
6.Difference between Delete and Truncate?
7.find and delete duplicate Record?
8.What is Mutating Error?how to overcome?
9.what is autonmous Transaction?
10.what is row_number,rank(),dense_rank() and diffrents?
11.what is cursor and type of cursor ?
12.what is parameterized Cursor?
13.What are the Cursor Attributes and give examples?
14.Diffrents Between IN and Exits?
15.what is the difference Between where and Having Clause?
16.How many Trigger Create for single Table?
17.Diffrence Between Stored Procedure and function?
18.INDEXES and TYPES?
19.When Should indexes be Avoided?
20.How to delete Parent Table Record when REfrence ebtry available in chaild
table?
21.Excecution Order of Trigger?
22.collctions and it types?
23.What is View and types?
24.What is MATERIALIZED VIEW?
25.Diffrence Between view and Materialized?
26.What is Subquery and Types?
27.Can we use Where Clause in Truncate?(No)
28.Can we use Truncate and delete command to disable the refrence Integrity
Constraints?
29.How did you Export the data from database to Excel Sheet?
30.How Many Types of functions in UTL_FILE Package?
31.How Many Types of Triggers?
32.What is Instead of Trigger?
33.How will you display the Roll Number?
34.What is implicit And Explicit Cursor?
35.What is Exception?
36.11g Features?
37.What are the issues you faced in using Cursors?
38.write Query to find even or odd number from a table?
39.What is Exception and Types of Exceptions?
40.write syntex for pivot Function?
41.what is correlated Sub-query?
42.write Syntex for procedure?
43.when you use the funcation and procedures?
44.disadvanges of Triggers?
45.diffrence between %type and %rowtype?
46.What cascade Constraints?
47.what is partitions?
48.what is cluster indexes?
49.what is meant by DML?
50.Types of locks in database?
51.what is normalization?
52.what is use of cursor?
53.how cursor allocate the context area for executing the sql Statement?
54.can a table have two primary Keys?
55.what is the boundary line varry?
56.when we give select * from emp,how does oracle responds?
57.what is indexing,searching and user interface?
58.what are the diffrence among these table level lock modes INSHARE MODE,IN SHARE
UPDATE,
IN EXCLISIVE MODE?
59.What is the Varry and table data types,please Explain with some examples?
60.Under what Sotuation you will go for varry and instead of index by tables?
61.UTL_FILE Packages?
62.what is Varry,nested Tables?
63.what is bullk collect?
64.how to find whose birthday today?
65.what is Ref Cursor?
66.what is Global Temprary Tables?
67.What is DYNAMIC SQL?
68.Can We use commit and rollback in trigger?
69.command to Encrypt plsql code?
70.Diffrence Between function and procedure and Packages?
71.commit,rollback,save point?
72.when you use triggers?
73.Expin Plan purpose?
74.Data type in PLSQL?
75.Difference Between Inner Join and Outer Join?
76.String Functions?
77.How Many long Column Allwoed in a table ?
78.What Cursor type do u have use to retrieve multiple record set?
79.How many indexes can be used per table?
80.what are the wait events and decribe the wait event tables?
81.when we create bit map indexes?
82.sql query to get zero record a table having n no of records?
83.funcation Return multiple value?how give the sameple coding?
84.Diffrence Between NVL,NVL2,NVLIF?
85.Find max salay query?
86.Difference between Cursor and Ref Cursor?
88.Difference between primary key,unique and not null?
89.what is the use of views?
90.if table dropped then what happen views?
91.what is index and type of indexes?
92.Which Function are not supported to index?
93.What is Savepoint?
94.What is Ora-1555?
95.what are the datatype available in plsql?
96.Diffrence between exlict cursor and for loop crsor?
97.What is the raise_application_error?
98.what is pragma_exception_unit?
99.diffrennt b/w trigger and procedure?
100.can you call procedure in select statement?
101.Restriztion in function?
102.what is the use of packages?
103.can we use pragma_autonomous transaction in package?
104.what is nullif?
105.which trigger will fire first statement and row level triggers?
106.what is bullt collect and restrction in bull collect?
107.what is the limit caluse n bulk collect?
108.how to debug your code ?
109.how to trace error handling?
110.how to find which line error was raised?
111.what are the mathod there in save exception?
112.what is function based index write syntex?
113.what is the diffrent between union and minus?
114.what is the diff b/w view and trigger?
115.write to get secod max salary?
116.when we can decalre a column as unique and not null both of the same time?
117.what is the use of primary key?
118.what is purge command explain about oracle perfomance tunning?
119.Give example of procedure?
120.How will we see Framework of a table?
121.how to return Value using procedure in plsql?
122.what is syntex of plsql functions?
123.what is package and advantage of packages?
124.How to reduce the execution time of any sql query?
125.Do u know about Bullk collect and FOR All?
126.What is correlated Sub-query?
127.Which is faster in or exit?
128.Diffrent between Row level and statement level triggers?
129.What are the Save Exceptions?
130.What are Pratitions and expalin diffrent types?
131.query for optimization Technnique?
132.procedure overloading?
133.Grant and revoke?
134.Procedure Argument?
135.Do u know Global Variables?
136.Do u know about Cascading Trigger?
137.What are the predefined Exeption?
138.How to catch the Exceptions?
139.what are nested Trigger?
140.how to retrieve only secod row?
141.which will fire first,trigger or constraints?
142.How to improve the perfomance of Stroed procedure ,trigger ,funcation and
packages?
143.what does selec count(*) from tab?
144.What is Context Switching?
145.What is Nullif?
146.how to update complex view?
147.What is substr@instr?
148.diffrent b/w case and decode?
149.can you use sysdate in check constriants?if no why?
150.diffrenet between column level and table level constraits?
151.what is optimizer?
152.what is nested loop join?
153.tell me some log features?
154.what is sql_code and sqlerm?
155.what is dual?
156.How many Columns and rows contains dual table?
157.select '1'+1 from dual;what is output?
158.select * from emp where comm=null,what is output?
159.How to count no of record in table without count?
160.what is hight sal without using max?
161.select only those employee information who are same salary?
162.How to find the last record from table?
163.select 'vik'||null||'tun' gtom dual
164.Dynamic SQl.