Where to find the SQL log by crystal reports

i want to watch the sql log by crystal report loading,but i don't know how to find it , somebody knows it? thanks advanced!

Hi Wang,
If you mean to look at the SQL query CR generates, then open the report in the CR Designer > Go to the Database option on the top > Click Show SQL.
-Abhilash

Similar Messages

  • Where to find the BUILD Log??

    Hi Friends,
    Could anyone pls let me know where can i find the BUILD Log file. My DC build is failed. I dont know where to find the Build Log for DCs.
    Thanks,
    Raghavendra Pothula

    Hi Raghavendra,
    just to add some info: Since activation triggers a build the build log really is the result of the activation, isn't it?
    There is one pitfall: If activation fails due to build errors you have to use this way (Or navigate to the request using the CBS WebUI and then check the activation results there). If you check the last build log for the DC (nagivating to the DC via CBS WebUI) you usually see the last succesfull build, i.e. a different build log.
    Regards,
    Marc

  • Where to find the SQL text in v$ views?

    Hi All,
    Oracle 11.2.0.3 on RedHat.
    I am trying to find out SQL activity on my database for a very narrow time window. Please see the SQLs I did
    SQL> select distinct user_id, sql_id
      2  from v$active_session_history
      3  where sample_time between to_date('20120704012000','yyyymmddhh24miss') and
      4            to_date('20120704012200','yyyymmddhh24miss')
      5  and user_id = 111 ;
       USER_ID SQL_ID
           111
           111 gjg25k7stx9ba
           111 a8m049aj31b1y
           111 asjw7b7h99w4m
           111 fvffk1aqrb55n
           111 9gskv9b1u7mau
           111 03tsb9pp3h1uj
           111 dm0jppss5z0ay
           111 44n0svyuc000x
           111 16t1tpr7mdqnf
           111 bzpu510tng689
           111 dsqzhqdvzamys
    12 rows selected.
    SQL> select * from v$sqltext where sql_id='16t1tpr7mdqnf' order by piece ;
    no rows selected
    SQL> select * from table( dbms_xplan.display_awr('16t1tpr7mdqnf') ) ;
    no rows selectedI can see the text for all SQLs in v$sqltext, except 16t1tpr7mdqnf. User id 111 is the user used to run our batch processes.
    Where can I find the text for this SQL id 16t1tpr7mdqnf ?
    This SQL has run about 8 hours ago.
    Thanks in advance

    When you say, ASH captures active sessions, does that mean, it only captures "session" information, which may not include details about SQL ?Exactly, it's a snapshot of session level information for active sessions.
    So, session X can be executing sql statement abc123 and be captured by ASH which takes a snapshot of all active sessions every 1 second in V$ACTIVE_SESSION_HISTORY.
    1 in 10 of these active sessions is stored in the repository - DBA_HIST_ACTIVE_SESS_HISTORY (in practice, this 1 in 10 sample is literally as simple as store the active sessions from every 10th second).
    Independently of this, obviously you have the shared pool and V$SQL. If your statements are in here then great.
    Otherwise you have AWR which captures the top N sql from each interval.
    So, as mentioned, perfectly normal to have references to sql ids and sql plan hash values captured in ASH but not AWR.
    One interesting thing here is, sql_exec_id is blank. What does that say? It depends.
    It's likely to be one of two things:
    1. some sort of bug or limitation - there are certain operations and time limits were some of the ASH values get cleared out or don't get cleared out.
    2. occasionally I've seen the ASH information be misleading when it comes to certain recursive operations - one specific example I can think of related to the recursive merge of sql plan baseline metric tracking operations.

  • Where to find the detailed log for  Repository/Directory

    Hi all,
    I have configured some configuration objects both in Integration Repository and Directory. But facing some problems like
    activating the changes, partially missing configuration etc. For such problems, where we can find the logs to analyze the issue in repository & directory.
    Please help me in finding the location for the logs of IR & ID,
    Regards,
    Soorya

    activating the changes
    The Change list automatically gets populated with the objects which need activation....does it not help?
    partially missing configuration
    If you miss mandatory configuration (like target URL in SOAP channel) then an error message will be shown there itself...while activating....logs about the same may not be avilable....we have ot checki it manually.
    Regards,
    Abhishek.

  • Where can I find the latest upgrades for Crystal Reports 2008

    Hello all
    My question is rather simple, I need to know. Where can I find  the latest upgrades for:
    1) Crystal Reports 2008 Merge Modules
    2) Crystal Reports 2008 Runtimes.
    Are they incremental upgrades ????
    Thanks in advance..
    ADrián.-

    Downloads page is here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    [This|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008-VersionandDownloadinformationforSPsand+FPs] wiki tracks latest SPs and FPs with download links.
    [This|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki has links to runtime (I believe I have not updated this for FP 2.5 yet, but the downloads page has these)
    And yes, they are incremental.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Where to find self service log

    Hi,
    I have setup self service portal under Enterprise Infrastructure Cloud on EM12c. When a SSA user requests a server using a template, the request fails with "Execution Error" and no other detail on Self Service Portal Screen. Do any one one know how to troubleshoot this and where to find the detailed log file?
    Thank you.

    By template, I presume you mean VM template.
    Have you set up the Oracle VM Self-Service Pools and Zones as outlined in:
    http://docs.oracle.com/cd/E24628_01/doc.121/e28814/cloud_setup.htm#CEGFJIHI

  • How to enable show SQL Query in Crystal report tool

    Hi,
    How can we enable the show SQL Query under Database tab in crystal report...
    We have a requirement to modify the SQL query in Crystal reports.
    Thanks,
    Gana

    Gana,
    CR has an "Add Command" feature that will allow you to use hand-coded SQL as your data source.
    Look at Defining an SQL Command in CR's online help (F1).
    If a command was used in the original report creation, it's a simple matter to go in and edit that SQL.
    If the report was not originally built w/ a Command you may find it difficult to switch over. In most cases it easier to start over from scratch, creating a new, blank report, that uses the command.
    Jason

  • Passing parameter into SQL statement in Crystal Reports

    Hi all,
    I would like to call Crystal Reports in JSP. I can handle it well now. But I hope to let user input their selection criteria before printing out the report. I know how to get the parameter value in JSP, but I really dunno how to pass these parameter values into the SQL statement in Crystal Report. Actually, is it possible to do so?
    If anyone has idea, please tell me. Thx Thx!
    Regards,
    Betty

    Dear Sir,
    I want to use Crystal Report as a web base using JSP. But, I am getting how to call .rpt file in .jsp file & passing of parameter.
    If you have any idea, please reply as early as possible
    Thanking U.
    My userid = [email protected]
    Regds
    Pankaj..

  • Modify SQL query in Crystal Reports 2013

    Bonjour,
    Je voulais savoir s'il était possible de modifier la requête SQL dans Crystal Reports 2013, car les bases de données de notre application pour bibliothèque utilise un format de date particulier qu'il nous faut corriger directement dans la requête SQL.
    Merci pour vos informations.
    Cordialement
    Claude Marcilly
    Cannes - France
    Hello,
    I wanted to know if it was possible to modify the SQL query in Crystal Reports 2013. Databases of our application library indeed use a particular date format that we need to fix directly into the SQL query.
    Thank you for your information.
    Best regards
    Claude Marcilly
    Cannes - France

    Hi Claude,
    If you are creating reports using tables then go in Database menu and click on show SQL query, this will show the SQL generated by crystal reports.  Now go in database expert and expend your connection and double click on Add Command and past the query which was generated by Crystal and try to modify the date format and click OK.
    Now you need to redesign your reports based on Add command.
    or
    If your reports datasource is Add command you can directly go in add command and change it.
    -Sastry

  • EDITING SQL SCRIPT IN CRYSTAL REPORTS

    I just installed Version 12 and am trying to edit SQL scripts in Crystal Reports that were created in Version 8.  When opening the Database tab on the Main Menu, the Query Panel is greyed out and not accessible.  I can view the SQL Query but cannot edit it.  If someone can advise me what to do I would be very appreciative.
    Edited by: Frank Romano on Mar 18, 2009 4:17 PM

    Hi Frank,
    Here is the SAP Note that says that you cannot edit SQL from Crystal 9 and later
    Symptom
    In Crystal Reports (CR) 8.5 and earlier, it is possible to edit the SQL statement in the 'Show SQL Query' dialog box. Doing so allows the report designer to modify the SQL statement that CR generates. Starting with Crystal Reports version 9, users are no longer able to modify the SQL in the 'Show SQL Query' window.
    How can you control the SQL statement that Crystal Reports sends to the database?
    Resolution
    To control the SQL statement that Crystal Reports 9 and later uses, use the 'Add Command' feature to create a Command Object. The 'Add Command' feature replaces the ability to edit SQL statements in the 'Show SQL Query' dialog box. Use this dialog box to write your own SQL command (query) which will be represented in Crystal Reports as a Table object.
    More Information
    Additional information about creating and using Command Objects ('Add Command') can be found on our support site and within the Online Help file contained in Crystal Reports.
    On our support site search for the technical brief, cr_query_engine.pdf and knowledge base article c2016641 at
    http://support.businessobjects.com/search
    Keywords
    OBJECT ADD COMMAND EDIT SHOW SQL QUERY DATABASE ACCESS MENU MODIFY SQL Crystal Reports Show SQL query Command object , c2017389
    Regards,
    Raghavendra

  • Where to find the log - files ?

    Hi,
    because it is not possible to debug my IView Apps
    , I would like to examine the portals log files for errors such like this :
    +" Portal-Runtime Error
    Fehler aufgetreten bei der Verarbeitung eines Request für :
    iView : KWGLaufverfolgung_IView.KWGLaufverfolgung_Select
    Komponentenname : KWGLaufverfolgung_IView.KWGLaufverfolgung_Select
    iView cannot display.
    There was a problem processing this .NET component
    Contact your administrator if the problem persists.
    Exception id: 11:59_19/05/06_0004_605012450
    See the details for the exception ID in the log file+
    Where can I  find the log-file ?
    Thanks
    Erhan

    Hi Vinoth,
    thanks four your post,but thats not the thing i wanted to know. By now I have given it up to look for an anwser for beeing able to debug my applications, because there is no solution (whatever the cause could be).
    What I want to know now is, where can I find the portal log files?
    Regards
    Erhan

  • Where to find the user groups in SQL Server

    Hello All,
    where to find the user groups created in Shared Services in SQL Server tables?

    Yes thats correct its stored in Openldap
    Native Directory (OpenLDAP), an open source Lightweight Directory Access Protocol (LDAP)-enabled user directory, is bundled and configured with Shared Services.
    Native Directory functions:
    **Used to maintain and manage the default Shared Services user accounts required by Hyperion products*
    **Is the central storage for all Hyperion provisioning information because it stores the relationships between users, groups, and roles.*
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Where can I find the Coherence log or alert message?

    Where can I find the Coherence log ands alert messages?
    e.g.
    partitioned cache-related log messages.
    configuration-related log messages.
    network-related messages.
    Thank you

    Hi,
    All messages by default are sent to stderr and can be configured either through specifying an tangosol-override file and setting appropriate options listed here: [http://wiki.tangosol.com/display/COH35UG/logging-config|http://wiki.tangosol.com/display/COH35UG/logging-config] or setting JVM args:
    tangosol.coherence.log
    tangosol.coherence.log.level
    ...or you can specify your own logger such as log4j or jul using tangosol.coherence.log.logger
    --harvey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to find better SQL log in OBI Answers?

    While I have an error in making an OBI request in Answers page, the error message in the result tab is usually not very helpful, like:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "Sales Facts Current Month"."Amount Sold (000) Current Month". (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Sales Facts Current Month"."Amount Sold (000) Current Month", "Sales Facts"."Amount Sold", Calendar."Calendar Month Desc", Calendar."Calendar Month Name", Products."Prod Category" FROM SH')}
    SQL Issued: SELECT "Sales Facts Current Month"."Amount Sold (000) Current Month", "Sales Facts"."Amount Sold", Calendar."Calendar Month Desc", Calendar."Calendar Month Name", Products."Prod Category" FROM SHI then go to Session Monitor, and click the View Log link. By doing so, sometimes, I got the full sql statement. That is good and I can figure out the problems. Sometimes, I have things like:
    -------------------- SQL Request:
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/sh/Learn';SELECT Times."Calendar Month Name" saw_0, Times."Calendar Month Desc" saw_1, Products."Prod Category" saw_2, Salesfacts."Amount Sold" saw_3, REPORT_SUM(saw_3 BY saw_0, saw_1), REPORT_SUM(saw_3 BY ) FROM SH WHERE (TOPN(Times."Calendar Month Id",40) <= 40) AND (Channels."Channel Desc" = 'Direct Sales') ORDER BY saw_1, saw_0, saw_2
    +++Administrator:13290000:1329000f:----2009/09/29 09:18:33
    -------------------- General Query Info:
    Repository: Star, Subject Area: SH, Presentation: SH
    +++Administrator:13290000:1329000f:----2009/09/29 09:18:33
    -------------------- Cache Hit on query:
    Matching Query:     SET VARIABLE QUERY_SRC_CD='Report';SELECT Times."Calendar Month Name" saw_0, Times."Calendar Month Desc" saw_1, Products."Prod Category" saw_2, Salesfacts."Amount Sold" saw_3 FROM SH WHERE (TOPN(Times."Calendar Month Id",40) <= 40) AND (Channels."Channel Desc" = 'Direct Sales') ORDER BY saw_0, saw_1, saw_2
    Created by:     AdministratorThis does not help as the selected tables are not fully spell out. It appear like that OBI find the sql in cache and did process the request fully.
    Is there a way I can force OBI resend the request? Is there a way to get OBI log the full sql statement? That way I can copy the sql to SQL*Plus and find exactly the problem
    Thanks.

    Physical SQL is not visible as it hits the cache.
    you can :
    1) clear the physical cache from rpd and re-run the request.
    or
    2) copy the logical SQL, go to web Admin - issue SQL--paste the logical SQL there, then just change one parameter or two, so it does not hit the cache. E.g. change a filter to Feb from Jan...or just add a dummy column at the beginning as select 1 or select 'a' ....rest of the sql same.
    this way you can avoid hitting the cache and see the sql (at the bottom of the results - view log)
    make sure you have checked the presentation server cache option and set the log level to 4 or more to see details.
    HTH

  • How to find the SQL Server Instances running across the given activer directory domain?

    How to find the SQL Server Instances running across the given activer directory domain?
    I have though of OSQL -L , Microsoft Assessment and Planning ( MAP ) tool and SQLPing3 (SQLSecurity) might help me.
    I would appreciate if there any other way of finding the SQL Servers / Instances running across the given active directory domain.
    Sivaprasad S
    http://sivasql.blogspot.com
    Please click the Mark as Answer button if a post solves your problem!

    Dear ,
    Very simple u find all instances through the customized sp which is get all details about inventory. Like i put the sp bellow. This is without any tool. 
    USE [master]
    GO
    /****** Object:  StoredProcedure [dbo].[DBStatus]    Script Date: 08-01-2015 19:46:11 By Damodar Patle Sr. DBA Mumbai India ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[DBStatus] 
    AS
    SELECT 
    SERVERPROPERTY('servername') AS ServerName,
    ConnectionProperty('local_net_address') AS 'local_net_address',
    ConnectionProperty('local_tcp_port') AS 'local_tcp_port',
    CONVERT(VARCHAR(25), @@VERSION) as  VERSIONSQL,
    SERVERPROPERTY('ErrorLogFileName') AS ErrorLogFilePath,
    database_id,
    CONVERT(VARCHAR(25), DB.name) AS DBName,
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'status')) AS [Status],
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'Recovery')) AS [Recovery_Model],
    create_date as DBCreate_Date, --physical_device_name,
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS DataFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS [Data MB],
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS LogFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS [Log MB],
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS MDF_File_Location,
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS  LDF_File_Location,
       user_access_desc
       FROM sys.databases DB
       ORDER BY dbName, [Log MB] DESC, NAME

Maybe you are looking for

  • Blue Screen of Death and no XP CDs - Satellite M70

    Hi. I've got a Toshiba Satellite M70 that displays the Blue Screen of Death directly upon startup. It reads an error of 0x000000ED stating an unmountable error as the specific problem. Unfortunately, I've no Windows XP CD to restore my computer. I do

  • ITunes 11.1.5 does not launch on Mac OS X 10.6.8

    Just updated iTunes to 11.1.5, now it does not launch. Is it worth trying to fix, or better to try and install an earlier version?

  • VIDEO CONFERRENCE OPTIMATION !!! help..

    Hi all, I'm still developing my video conferrence project ( over LAN ). I've modified AVTranmit2 and AVReceive2 to be one application. And I want to manage little client-server application, so that each user can make a conferrence with other user (mo

  • Ref: How to Hold Idoc in XI for few minutes?

    Hi, I am having a requirement in one of my scenario like Idoc->BPM->file....where in i am using BPM for receiving Idoc and do some status updates back to R/3. but my requirement is i need to hold this Idoc until some specific time due to the Business

  • How to reveal correct answer in a quiz question

    Hello, I am using Captivate 5.5. Is there a way to allow the user to view the correct answer to a quiz question without having to keep clicking on the different options until they select the right one? I want to allow infinite attempts but equally, i