Answer Posted / jyothsna
cursor variables are subject to the following
restrictions:You cannot declare cursor variables in a
package spec. For example, the following declaration is not
allowed:CREATE PACKAGE emp_stuff AS TYPE EmpCurTyp IS REF
CURSOR RETURN emp%ROWTYPE; emp_cv EmpCurTyp; -- not
allowedEND emp_stuff;You cannot pass cursor variables to a
procedure that is called through a database link.If you
pass a host cursor variable to PL/SQL, you cannot fetch
from it on the server side unless you also open it there on
the same server call.You cannot use comparison operators to
test cursor variables for equality, inequality, or
nullity.You cannot assign nulls to a cursor
variable.Database columns cannot store the values of cursor
variables. There is no equivalent type to use in a CREATE
TABLE statement.You cannot store cursor variables in an
associative array, nested table, or varray.Cursors and
cursor variables are not interoperable; that is, you cannot
use one where the other is expected. For example, you
cannot reference a cursor variable in a cursor FORloop
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Name the operator which is used in the query for pattern matching?
Is subquery faster than join?
What is an example of translating a date into julian format?
Can a table contain multiple foreign key’s?
Can a foreign key be null?
What is file based approach?
What does pl sql stand for?
Is id a reserved word in sql?
Can we group by two columns in sql?
What steps server process has to take to execute an update statement?
How to download oracle sql developer?
How much does sql cost?
explain the difference between delete , truncate and drop commands? : Sql dba
How to connect a sql*plus session to an oracle server?
How to create a menu in sqlplus or pl/sql?