Tuesday, July 31, 2007

SQL General Interview Questions

o What are the different types of joins?
o Explain normalization with examples.
o What cursor type do you use to retrieve multiple recordsets?
o Diffrence between a "where" clause and a "having" clause
o What is the difference between "procedure" and "function"?
o How will you copy the structure of a table without copying the data?
o How to find out the database name from SQL*PLUS command prompt?
o Tadeoffs with having indexes
o Talk about "Exception Handling" in PL/SQL?
o What is the diference between "NULL in C" and "NULL in Oracle?"
o What is Pro*C? What is OCI?
o Give some examples of Analytical functions.
o What is the difference between "translate" and "replace"?
o What is DYNAMIC SQL method 4?
o How to remove duplicate records from a table?
o What is the use of ANALYZing the tables?
o How to run SQL script from a Unix Shell?
o What is a "transaction"? Why are they necessary?
o Explain Normalizationa dn Denormalization with examples.
o When do you get contraint violtaion? What are the types of constraints?
o How to convert RAW datatype into TEXT?
o Difference - Primary Key and Aggregate Key
o How functional dependency is related to database table design?
o What is a "trigger"?
o Why can a "group by" or "order by" clause be expensive to process?
o What are "HINTS"? What is "index covering" of a query?
o What is a VIEW? How to get script for a view?
o What are the Large object types suported by Oracle?
o What is SQL*Loader?
o Difference between "VARCHAR" and "VARCHAR2" datatypes.
o What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table.
o Difference between "ORACLE" and "MICROSOFT ACCESS" databases.
o How to create a database link ?

No comments: