Solved

What is wrong with the cursor variable declared above?

Posted on 2001-07-17
2
670 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sybase and replication server 13 83
update statement in oracle 9 53
how to tune the query 17 87
PL SQL Create ddl for all user objects, cant use dbms_metadata.get_ddla 19 69
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

751 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