dbTalk Databases Forums  

Oracle reports end query

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Oracle reports end query in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bang123
 
Posts: n/a

Default Oracle reports end query - 07-16-2008 , 02:05 AM






Hi,

We are migrating from Oracle 6i to Crystal Reports. Oracle reports
were built using Oracle 6i Data Wizard and Query Builder. How can we
see the end query (final query including joins for links) that is
being executed by Oracle Reports? Oracle Reports 'trace' shows only
parts of queries being executed, but not the entire query.

Thanks

Reply With Quote
  #2  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Oracle reports end query - 07-16-2008 , 08:14 AM






On Jul 16, 3:05*am, bang123 <vasuad... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

We are migrating from Oracle 6i to Crystal Reports. Oracle reports
were built using Oracle 6i Data Wizard and Query Builder. How can we
see the end query (final query including joins for links) that is
being executed by Oracle Reports? Oracle Reports 'trace' shows only
parts of queries being executed, but not the entire query.

Thanks
Run SQL Trace on the database session and pull the SQL from there.

Though a programmer should be able to figure out what the query is
just by looking at the report program and the where clause information
generated by the reports trace.

HTH -- Mark D Powell --


Reply With Quote
  #3  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Oracle reports end query - 07-16-2008 , 08:14 AM



On Jul 16, 3:05*am, bang123 <vasuad... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

We are migrating from Oracle 6i to Crystal Reports. Oracle reports
were built using Oracle 6i Data Wizard and Query Builder. How can we
see the end query (final query including joins for links) that is
being executed by Oracle Reports? Oracle Reports 'trace' shows only
parts of queries being executed, but not the entire query.

Thanks
Run SQL Trace on the database session and pull the SQL from there.

Though a programmer should be able to figure out what the query is
just by looking at the report program and the where clause information
generated by the reports trace.

HTH -- Mark D Powell --


Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Oracle reports end query - 07-16-2008 , 08:14 AM



On Jul 16, 3:05*am, bang123 <vasuad... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

We are migrating from Oracle 6i to Crystal Reports. Oracle reports
were built using Oracle 6i Data Wizard and Query Builder. How can we
see the end query (final query including joins for links) that is
being executed by Oracle Reports? Oracle Reports 'trace' shows only
parts of queries being executed, but not the entire query.

Thanks
Run SQL Trace on the database session and pull the SQL from there.

Though a programmer should be able to figure out what the query is
just by looking at the report program and the where clause information
generated by the reports trace.

HTH -- Mark D Powell --


Reply With Quote
  #5  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Oracle reports end query - 07-16-2008 , 08:14 AM



On Jul 16, 3:05*am, bang123 <vasuad... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

We are migrating from Oracle 6i to Crystal Reports. Oracle reports
were built using Oracle 6i Data Wizard and Query Builder. How can we
see the end query (final query including joins for links) that is
being executed by Oracle Reports? Oracle Reports 'trace' shows only
parts of queries being executed, but not the entire query.

Thanks
Run SQL Trace on the database session and pull the SQL from there.

Though a programmer should be able to figure out what the query is
just by looking at the report program and the where clause information
generated by the reports trace.

HTH -- Mark D Powell --


Reply With Quote
  #6  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Oracle reports end query - 07-21-2008 , 02:11 PM



bang123 (vasuadiga (AT) gmail (DOT) com) wrote:
: Hi,

: We are migrating from Oracle 6i to Crystal Reports. Oracle reports
: were built using Oracle 6i Data Wizard and Query Builder. How can we
: see the end query (final query including joins for links) that is
: being executed by Oracle Reports? Oracle Reports 'trace' shows only
: parts of queries being executed, but not the entire query.

: Thanks

It might not be running an "end query". Reports can loop over a query
getting one row at a time, and in between getting each row of that query
it might run another query based on all the conditions set up in the
report. The second query may or may not have any obvious connection to
the first query.

In report builder you should be able to see all the details in one of the
windows (I cant check the names right now).


Reply With Quote
  #7  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Oracle reports end query - 07-21-2008 , 02:11 PM



bang123 (vasuadiga (AT) gmail (DOT) com) wrote:
: Hi,

: We are migrating from Oracle 6i to Crystal Reports. Oracle reports
: were built using Oracle 6i Data Wizard and Query Builder. How can we
: see the end query (final query including joins for links) that is
: being executed by Oracle Reports? Oracle Reports 'trace' shows only
: parts of queries being executed, but not the entire query.

: Thanks

It might not be running an "end query". Reports can loop over a query
getting one row at a time, and in between getting each row of that query
it might run another query based on all the conditions set up in the
report. The second query may or may not have any obvious connection to
the first query.

In report builder you should be able to see all the details in one of the
windows (I cant check the names right now).


Reply With Quote
  #8  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Oracle reports end query - 07-21-2008 , 02:11 PM



bang123 (vasuadiga (AT) gmail (DOT) com) wrote:
: Hi,

: We are migrating from Oracle 6i to Crystal Reports. Oracle reports
: were built using Oracle 6i Data Wizard and Query Builder. How can we
: see the end query (final query including joins for links) that is
: being executed by Oracle Reports? Oracle Reports 'trace' shows only
: parts of queries being executed, but not the entire query.

: Thanks

It might not be running an "end query". Reports can loop over a query
getting one row at a time, and in between getting each row of that query
it might run another query based on all the conditions set up in the
report. The second query may or may not have any obvious connection to
the first query.

In report builder you should be able to see all the details in one of the
windows (I cant check the names right now).


Reply With Quote
  #9  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Oracle reports end query - 07-21-2008 , 02:11 PM



bang123 (vasuadiga (AT) gmail (DOT) com) wrote:
: Hi,

: We are migrating from Oracle 6i to Crystal Reports. Oracle reports
: were built using Oracle 6i Data Wizard and Query Builder. How can we
: see the end query (final query including joins for links) that is
: being executed by Oracle Reports? Oracle Reports 'trace' shows only
: parts of queries being executed, but not the entire query.

: Thanks

It might not be running an "end query". Reports can loop over a query
getting one row at a time, and in between getting each row of that query
it might run another query based on all the conditions set up in the
report. The second query may or may not have any obvious connection to
the first query.

In report builder you should be able to see all the details in one of the
windows (I cant check the names right now).


Reply With Quote
  #10  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Oracle reports end query - 07-24-2008 , 10:08 AM



On Jul 21, 3:11*pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
wrote:
Quote:
bang123 (vasuad... (AT) gmail (DOT) com) wrote:

: Hi,

: We are migrating from Oracle 6i to Crystal Reports. Oracle reports
: were built using Oracle 6i Data Wizard and Query Builder. How can we
: see the end query (final query including joins for links) that is
: being executed by Oracle Reports? Oracle Reports 'trace' shows only
: parts of queries being executed, but not the entire query.

: Thanks

It might not be running an "end query". *Reports can loop over a query
getting one row at a time, and in between getting each row of that query
it might run another query based on all the conditions set up in the
report. *The second query may or may not have any obvious connection to
the first query. *

In report builder you should be able to see all the details in one of the
windows (I cant check the names right now).
I would think the case of where Reports Builder runs the second query
using data retuned by the first query and report conditions would be
where the raw sql trace file on the database would be helpful since it
will show each query ran.

It really helps to understand the tool set in cases like the bang123
posted.

-- Mark D Powell --


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.