| Other SQL PLSQL Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| Can we relate two different tables from two different users
in ORACLE,PL/SQL? |
| 4 |
| if we give update table_name set column_name= default.
what will happen?
its given in pl sql block.what will hapen? |
iFlex | 5 |
| Which one of the following pairs of aggregate functions do
you use with character fields?
1. COUNT(field) and MAX(field)
2. AVG(field) and COUNT(field)
3. MIN(field) and SUM(field)
4. AVG(field) and MAX(field)
5. COUNT(field) and SUM(field)
|
HCL | 6 |
| what is autonomouse transaction? |
Oracle | 3 |
| Types of optimization? |
Microsoft | 6 |
| Types of joins? |
Microsoft | 4 |
| What cursor type do you use to retrieve multiple recordsets?
|
Microsoft | 15 |
| declare
v_count number(8,3);
v_sal scott.emp.sal%type := '&P_sal';
cursor cur_name is select sal from scott.emp where sal
between (v_sal-100) and (v_sal +1000);
begin
v_count :=nvl(sql%rowcount ,0);
if v_count = 0 then
dbms_output.put_line('no records are fetch in the given sal
range');
else
dbms_output.put_line('There is/are '||to_char(v_count)||
' salaries are selected in the given range ');
end if;
end;
in the above programm .....for any sal range ....always it
shows the following message..
no records are fetch in the given sal range
please find the mistake and share with me...with thansk and
regards..sarao....
|
Satyam | 3 |
| what is the difference between implicit conversions and
explicit conversions? |
| 2 |
| What is the difference between SQL and PLSQL |
IBM | 4 |
| How to get the 3rd column(i.e all the data along with the
column name)in a table? |
Logica-CMG | 2 |
| What is the difference between sql/pl-sql/embeded sql? |
| 3 |
| |
| For more SQL PLSQL Interview Questions Click Here |