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
  #11  
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
  #12  
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
  #13  
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
  #14  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Oracle reports end query - 07-28-2008 , 12:13 PM



Mark D Powell (Mark.Powell (AT) eds (DOT) com) wrote:
: On Jul 21, 3:11=A0pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
: wrote:
: > 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". =A0Reports 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. =A0The second query may or may not have any obvious connection to
: > the first query. =A0
: >
: > 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.

Yes, the trace file is very useful in understanding what queries are being
run. In particular I have found it useful to check the ORDER BY which is
added by reports to make the break conditions work (when they don't work
as expected).

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

Default Re: Oracle reports end query - 07-28-2008 , 12:13 PM



Mark D Powell (Mark.Powell (AT) eds (DOT) com) wrote:
: On Jul 21, 3:11=A0pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
: wrote:
: > 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". =A0Reports 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. =A0The second query may or may not have any obvious connection to
: > the first query. =A0
: >
: > 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.

Yes, the trace file is very useful in understanding what queries are being
run. In particular I have found it useful to check the ORDER BY which is
added by reports to make the break conditions work (when they don't work
as expected).

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

Default Re: Oracle reports end query - 07-28-2008 , 12:13 PM



Mark D Powell (Mark.Powell (AT) eds (DOT) com) wrote:
: On Jul 21, 3:11=A0pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
: wrote:
: > 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". =A0Reports 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. =A0The second query may or may not have any obvious connection to
: > the first query. =A0
: >
: > 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.

Yes, the trace file is very useful in understanding what queries are being
run. In particular I have found it useful to check the ORDER BY which is
added by reports to make the break conditions work (when they don't work
as expected).

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

Default Re: Oracle reports end query - 07-28-2008 , 12:13 PM



Mark D Powell (Mark.Powell (AT) eds (DOT) com) wrote:
: On Jul 21, 3:11=A0pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
: wrote:
: > 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". =A0Reports 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. =A0The second query may or may not have any obvious connection to
: > the first query. =A0
: >
: > 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.

Yes, the trace file is very useful in understanding what queries are being
run. In particular I have found it useful to check the ORDER BY which is
added by reports to make the break conditions work (when they don't work
as expected).

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.