SQL in Oracle Interview Questions
- What is a cursor?
- What is OCI. What are its uses?
- What is the purpose of a cluster?
- Display the number value in Words?
- Which is more faster – IN or EXISTS?
- Display the records between two range?
- What are different Oracle database objects?
- Is there a limit on the size of a PL/SQL block?
- What is difference between Rename and Alias?
- Can a function take OUT parameters if not why?
- What is difference between SUBSTR and INSTR?
- What is difference between SQL and SQL*PLUS?
- How to find out nth highest salary from emp table?
- Can a primary key contain more than one columns?
- How you will avoid your query from using indexes?
- Explain Difference between procedure and function?
- What is implicit cursor and how is it used by Oracle?
- What WHERE CURRENT OF clause does in a cursor?
- How you were passing cursor variables in PL/SQL 2.2?
- How will you delete duplicating rows from a base table?
- Which data type is used for storing graphics and images?
- Difference between database triggers and form triggers?
- Can the default values be assigned to actual parameters?
- What are various joins used while writing SUBQUERIES?
- Explain what is difference between SUBSTR and INSTR?
- Can you use a commit statement within a database trigger?
- Explain difference between an implicit and an explicit cursor?
- How you open and close a cursor variable. Why it is required?
- What is difference between a formal and an actual parameter?
- Whet are the difference between primary key and foreign key?
- Explain which data type is used for storing graphics and images?
- What are various privileges that a user can grant to another user?
- The maximum number of columns a table can have in oracle SQL?
- What is difference between UNIQUE and PRIMARY KEY constraints?
- When do you use WHERE clause and when do you use HAVING clause?
- What are different modes of parameters used in functions and procedures?
- There is a % sign in one field of a column. What will be the query to find it?
- What is an UTL_FILE.What are different procedures and functions associated with it?
- What should be the return type for a cursor variable. Can we use a scalar data type as return type?
- What is the maximum buffer size that can be specified using the DBMS_OUTPUT.ENABLE function?