Solved

What is wrong with the cursor variable declared above?

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

Join & Write a Comment

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 …
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…
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…
Via a live example, show how to take different types of Oracle backups using RMAN.

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now