What is a pl/sql block?
Dear All, Question for this Week Find out possible error(s) (either at compile time or at runtime) in the following PL/SQL block. State the reason(s) and correct the errors. Declare Cursor C1 is select ename, sal, comm from emp; Begin For i in C1 Loop If i.comm between 299 and 999 then Dbms_output.put_line(i.Ename || ‘ ** Good Commission’); Elsif i.comm > 999 then Dbms_output.put_line(i.Empno || ‘ ** Very Good Commission’); close C1; Else Dbms_output.put_line(i.Ename || ‘ ** ’ ||nvl(i.comm,‘O’)); End if; End Loop; End;
In pl/sql, what is bulk binding, and when/how would it help performance?
What is clustered index in sql?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
Why coalesce is used in sql?
How to fetch the rows by dynamicaly passing table name through cursor?
What is record variable?
What are different types of statements supported by sql?
how to retrieve the top 2 salaried persons from a database?
Does indexing improve query performance?
Is truncate ddl or dml?
Define commit, rollback and savepoint?