| Other SQL PLSQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is magic table? | | 5 |
| What is a Procedure ? | | 2 |
| use of IN/ANY/ALL | Ramco | 4 |
| what is the difference between to_char and to_date
functions? | Infosys | 3 |
| Please let me know if UNION ALL and Natural Join does the
same operation and are same... | iGate | 3 |
| what is the need of the cursor attribute notfound..(because
using found attribute we can complete the task......found +
negation operator = not found ) | Tech-Mahindra | 1 |
| If I have a table T with 4 rows & 2 columns A & B. A has
values 1,2,3,4. and B has 10,20,30,40. Write an Update SQL
query which can Swap the values of A & B for all records.
(Do not use a sub-query) | | 2 |
| What is normalization ? | BirlaSoft | 6 |
| What is an Integrity Constraint? | | 4 |
| if we give update table_name set column_name= default.
what will happen? | iFlex | 3 |
| how to debugg a procedure or package using
dbms_output.put_line in plsql | Polaris | 1 |
| what is the difference between union and union all | Oracle | 11 |
| What are the data types allowed in a table? | | 2 |
| what is bulk bind | TCS | 4 |
| Can a table have two primary keys? | HCL | 25 |
| select 1,col1,col2 from table1. output? | Ramco | 3 |
| Explain Connect by Prior? | | 2 |
| how a reference cursor works?what all adnvantages are
gained with it..specify the situation? | TCS | 3 |
| What is the main difference between a UNION statement and a
UNION ALL statement?
1. A UNION statement eliminates duplicate rows; a UNION
ALL statement includes duplicate rows.
2. A UNION statement can be used to combine any number of
queries; a UNION ALL statement can be used to combine a
maximum of two queries.
3. A UNION statement can only combine queries that have
parallel fields in the SELECT list; a UNION ALL statement
can combine queries with differing SELECT list structures.
4. A UNION statement cannot be used with aggregate
functions; a UNION ALL statement can be used with aggregate
functions.
5. There is no difference between the two statements; they
are interchangeable.
| Sonata | 2 |
| what is the difernece between named and anonymous pl/sql
blocks?? | TCS | 8 |
| |
| For more SQL PLSQL Interview Questions Click Here |