Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What is wrong with the cursor variable declared above?

Posted on 2001-07-17
2
Medium Priority
?
676 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

927 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