Solved

What is wrong with the cursor variable declared above?

Posted on 2001-07-17
2
671 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

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…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

622 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