cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How query Execution Happens in Crystal Reports When Using Both SQL Command and Direct Table?

shibing
Explorer
0 Likes
671

Hello Everyone,

When I use both SQL Command and Direct Table in crystal server, I see the command query is executing in database independently without considering the other direct tables linked to the "Command Query" at the "Database Expert".

Any knowledge someone share will be very valuable ! Thank you all in advance !

@DellSC

Accepted Solutions (1)

Accepted Solutions (1)

ido_millet
Active Contributor
0 Likes

Yes, with mixed Command/Table scenario, Crystal joins to Command on the client side, which makes the process much slower.  To avoid this problem, use a single Command as the data source, or move the data logic to a VIEW or Stored Procedure on the back end.

shibing
Explorer
0 Likes
Many thanks for the quick response! Thank You.

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Likes

See my blog here:  How to Speed Up Reports and Prevent Memory Crashes... - SAP Community for more information about how Crystal processes data and things you can do to speed up your reports.

Also, if you haven't already, see Best Practices When Using Commands with Crystal Re... - SAP Community for information about using Commands.  

-Dell

shibing
Explorer
0 Likes
A very big thank you for the great and very interesting links ! Thank You very much.