Solved

What is wrong with the cursor variable declared above?

Posted on 2001-07-17
2
665 Views
Last Modified: 2012-06-22
DECLARE
   TYPE t_products IS REF CURSOR
      RETURN products%ROWTYPE;
   (etc.)  
  What is wrong with the cursor variable declared above?  
Choice 1  
 A cursor variable cannot be based directly on a table using the %ROWTYPE attribute.  
Choice 2  
 The precompiler cannot resolve the return type unless a schema name is explicitly stated.  
Choice 3  
 There is nothing wrong with this cursor variable declaration.  
Choice 4  
 There is no cursor variable defined in the statement above.  
Choice 5  
 No select statement is associated with this cursor variable.  
0
Comment
Question by:Daman
2 Comments
 

Accepted Solution

by:
Kirilloff earned 0 total points
ID: 6289506
[modder]
0
 
LVL 3

Expert Comment

by:modder
ID: 6293078
Hello Daman

I would like to point you to the member agreement. You can find a link to that on the bottom of every page.

Specifically the Guidelines for use, in which it states that Experts Exchange shall not be used for

* violating the guidelines for academic honesty or other unethical behavior.

In other words:

Experts-Exchange is not a homework service. Please stop using it for this purpose.

Kirilloff, please stop providing assistance for this violation. As you can see you will not get any points for your help. Reduced to zero.

modder
Community Support Moderator@Experts-Exchange
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ORA-12560: TNS:protocol adapter error 8 127
Oracle 10g - insert string with special characters 8 55
selective queries 7 27
Oracle - SQL Parse String 5 33
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question