Welcome to the Quest CodeGen Utility Community
Advanced Search - Help - Search Toad World
Welcome, Guest
Login Login / Register
Help
NEW? Get Plugged In

Forums » CodeGen » Table APIs and the Quest Development Architecture

Thread: How to query data from query package by Toad?

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 0 - Pages: 1
asword

Posts: 1
Registered: 8/29/09
How to query data from query package by Toad?
Posted: Sep 1, 2009 4:10 AM
 
  Click to reply to this thread Reply

I used Quest CodeGen generate the package for the table: Scott.emp
The package has compiled successfully.

Then I inputed:

select emp_qp.allrows from dual;

ORA-00902: invalid datatype

select emp_qp.allrows_cv from dual;
Only return a cursor but don't show the data.

select * from table(emp_qp.allrows);

ORA-00902: invalid datatype

How can I get the data from the query package?




Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums