Skip to Content
author's profile photo Former Member
Former Member

Change SQL statement

Hi,

I would like to manually change the SQL statement that Crystal Reports 2008 generates (I am using several Oracle tables and views in my reports).

Where is this possible? I can show the SQL statement in the database menu but can't modify it there.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 24, 2011 at 10:25 AM

    hi,

    Go to Database ->Database expert. On Right hand side, under Selected Tables,

    select the data provider and right click, you will see the option "Edit Command".

    Regards,

    Vamsee

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Don Williams

      Hi,

      Something we use (for other reporting systems) is a view. In the veiw we create our optimal sql then just point the report to the view. It requires a little coordination with the DBA but if it saves a few minutes on the report then it is worth it.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.