How to always hide the SQL statements for users when they run User Queries?

Hi,
from the IT dept. position, I don't want users to see and be so curious about the SQL commands.
How can I always hide the textbox of  Display Query Structure?
thanks.

Hi,
Unfortunately system design has short of this function. If users are allowed to run those queries, you can not hide the query structure.
You may post a DRQ here: /community [original link is broken]
Thanks,
Gordon

Similar Messages

  • How could I find the SQL statement who get this message ?

    ORA-01555 caused by SQL statement below (Query Duration=11191 sec, SCN: 0x0854.723b9c32)
    ... How could I find the SQL statement who got this message ?
    Thanks, Paul

    ORA-01555 means that the UNDO/ROLLBACK space is not large enough.
    This occurs because the SELECT statement is attempting to read the UNDO, but the UNDO has been released (transactions have committed or rolled back) and reused.
    The following are SOME of the reasons I have seen this to occur:
    1) Updates in a loop, with commits happening in the same loop
    - this will mark the UNDO available quickly and quickly reuse it. Then when the SELECT wants to rebuild a block, the UNDO used to rebuild the block has been reused (solution, make the UNDO bigger)
    2) A SELECT cursor used to control a loop in which updates are performed, and a 'done' flag is marked against the current cursor record, and commits are performed at the end of each loop, prior to fetching the next record
    - same problem as above, but it hits the current process. Same solution
    3) A 'month end' activity spike occurs, and all sorts of transactions create updates. There is a report that reports the activity - amusingly it needs to start at the beginning of all the work and updates periodically by doing a huge SELECT up front. This is then used to drive a loop which attempts to get information from the various transactions that have been updated and committed. After a while, the SELECT gets an ORA-01555
    - same problem as above and same solution. Get a bigger UNDO segment.
    You say this only happens once a month. That should give a hint.
    I wouldn't bother with which SELECT statement, as much as which APPLICATIONs are being run when it happens.
    One way around this - use 10g and set the guaranteed retention period. All sorts of other things will break, by no more 1555. <g>

  • How do I show the details of a customer when they are logged in a secure zone?

    How do I show the details of a customer when they are logged in a secure zone?
    I want to show the customer details as well as some customer CRM fields that are applied to the customer. None of these are entered via a form, they would be entered by the client. The customer would need to be able to log in to view the information and get an email alert when it is updated. Help!?

    Hi,
    You might want to look into customer service zones which allows customers once logged in to see their case, order and own details. 
    - http://kb.worldsecuresystems.com/133/bc_133.html
    - http://kb.worldsecuresystems.com/kb/customer-service-area-orders.html
    - http://kb.worldsecuresystems.com/kb/allowing-customers-view-update-crm.html
    Kind regards,
    -Sidney

  • How do i see the sql statements that are run ?

    i want to see (in a log file) what are the sql statements that oracle had ran.
    how do i do it ? what configurations should i do ? how ?
    please help ... thanks

    Current SQL statements are viewed in dynamic tables:
    SELECT SCHEMANAME, SQL_ADDRESS, SQL_TEXT, last_call_et
    FROM V$SESSION, V$SQLAREA
    WHERE V$SESSION.SQL_ADDRESS=V$SQLAREA.ADDRESS
    A historical log of all SQL statements is recorded in Oracle Archived Logs, and can be viewed using the Oracle Logminer approach. This process requires your database to be in ARCHIVELOG mode, and that Logminer be configured to read the archived logs.

  • How do I hide the MaxL query I wrote when I spool ther results?

    Hi,
    I spoole the "Select" query I wrote to a cvs file, and I don't won't that the query will be presented but only the results.
    Does anyone know how can I do that automaticaly through MaxL Shell and not manually through Excel?

    Spool will always return the select statements.  A simpler way may be to use Smart View to get the MDX return onto a sheet.
    MDX Queries
    Data source types: Essbase
    MDX users can bypass the Query Designer interface and enter MDX commands in the query
    sheet or in the Execute MDX dialog box.
    ä To execute MDX queries:
    1 In Excel, connect to an Essbase data source.
    2 From the Essbase ribbon, select Query, then Execute MDX.
    3 In Execute Free Form MDX Query, enter the MDX query.
    For example:
    SELECT {[Sales], [Cogs]} on columns, Filter ([Product].Levels( 2 ).Members,
    AVG([Year].CHILDREN, 9001.0) > 9000.00) on rows
    4 Click Execute.
    The other options are retrieving using the VBA Toolkit for Excel or altering the spool file with an OS language.  Anyway these may be options depending on your needs.

  • What is the sql statement for doing this?

    Hi,
    I am currently doing a simple search engine that allows a user to key in a filename and display all the files' name close to keyed filename(the first two letters are the same).What is the proper sql statement to select from Document according to DocumentType and the first two letters of the filename? Am i doing it the right way? I am currently use Access 2002, dunno if it will affects me.Thanks in advance
    [What i did]
    String filename="doc,txt"
    SELECT DocumentType from Rule where UserType='1' and Action='Search';
    DocumentType=1,5,9,13,17,21,25,29,33,37,41,45 // This is all the document Type the user can see.
    Next i used StringTokenizer break the DocumentType.
    DocumentType[0]=1;
    DocumentType[0]=5;
    SELECT * from Document where DocumentType and Name <<< I want to select from Document according to DocumentType and the first two letters of the filename

    One more try - from what I can follow?
    If I assume you have a table named for example "UserRules"
    which has fields UserID,UserType,UserAction
    and has records like this that controls the document types
    a user is allowed to see
    UserID UserType Action
    TOM 1 Search
    BILL 7 Search
    ROY 2 Search
    And if I assume you have a table named for example "AllowedUserDocumentTypes"
    which has fields UserType,DocumentTypes
    and has records like this that controls the document types
    a user is allowed to see
    UserType DocumentTypes
    1 1,3,4,5,6,19
    2 7,9,12,18
    3 1,19,33,27
    And you have the document table which has
    fields are DocNo,Name,Title,Date,Filename,DocumentType
    and it has records like this
    DocNo Name Title Date Filename DocumentType
    12345 BILL Cars CarTypes 18
    12346 ROY Trucks TruckTypes 2
    12347 TOM Toys ToyTypes 17
    12345 JACK Car Colors CarColors 19
    12345 TOM Car Shapes CarShapes 7
    Then the select statement
    Select DocumentTypes from AllowedUserDocumentTypes
    join UserRules where UserRules.UserType = AllowedUserDocumentTypes.UserType
    and UserRules.UserID = 'ROY' and UserRules.Action = 'Search';
    will return 7,9,12,18
    If the DocumentType field is numeric and the user entered "CarCrap" the
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in (7,9,12,18);
    If the DocumentType field is say varchar
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in ('7','9','12','18');
    You will have to build these select statements related to the user.
    Note you should also allow for upper and lower case differences. I
    would suggest you convert the user entry into uppercase and do a select
    like below
    SELECT * from Document
    where Ucase(left(Filename,2)) = 'CA' and DocumentType in (7,9,12,18);
    This is all written from memory, not tested and I have not done this
    in several years.
    I was showing approximately how to build the statements before.
    rykk

  • How can I hide the error prompt for confirm?

    As I schedule job the read PDF to Text program, but acrobat prompt "Message Box for confirm" while error throws.  How can I hide this?
    My code as below:
                    Acrobat.AcroApp gAppClass = new Acrobat.AcroApp();
                    gAppClass.Hide();
                    Acrobat.AcroAVDoc avDoc = new Acrobat.AcroAVDoc();
                    if (avDoc.Open(filespec, string.Empty))
                        Acrobat.AcroPDDoc pdDoc = (Acrobat.AcroPDDoc)avDoc.GetPDDoc();
                        string txt = PdDocGetText(pdDoc);
                        pdDoc.Close();
                        avDoc.Close(1);
                        gAppClass.Exit();
                        return txt;
                    else
                        return null;

    I find a solution from MVP.
    http://forums.adobe.com/thread/1435717?tstart=0

  • CRVS2010 Beta - How do you hide the Group Tree for Visual Studio 2010

    Would anyone know how to hide the group tree in the Crystal Reports viewer for Visual Studio 2010.  I have tried
    DisplayGroupTree="False" and found the property doesn't exist in the new version for VS 2010.  I have search in the designer options and found nothing.  Note this report is for ASP.net.
    Thanks
    Dave.
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Sep 15, 2010 8:55 AM

    A simple search using the search box in the top right corner of this web page would have come up with the following KBase as one of the 1st - if not the 1st hit (for once, we beat Google    ).
    [1183704 - How to display or hide the Group Tree in CrystalReportViewer control through code in Crystal Reports 2008|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333733303334%7D.do]
    - Ludek

  • How to read back the output state for digital output or anlog output ?

    I use NI-pci 6221(68PIN) Accquistion card to do measurmet,after i do digital output ,or anlog output ,I find that the output will be maitained by the card.even after i exit my accquistion program.But if i reset the card ,the ouptut also will be reset.
    Now if i don't reset the card ,how can i read back the output state,?

    Hi Mike,
    There is no way for you to internally route an analog output to an analog input. The only solution is to physically connect the two lines together with a wire.
    I came to this conclusion through the following steps:
    1- Start MAX and select the DAQmx device under "Devices and Interfaces>>NI-DAQmx Devices" that you want to internally route signals through.
    2- Click on the "Device Routes" tab on the bottom of the right hand window (It defaults to the "Attributes" tab)
    3- Line up the Source with the Destination to see if the connection can be internally routed (either direct or indirect)
    I came to the above conclusion by following these steps for a PCI-6251 DAQ device (the analog output & input do not exist in the "Device Routes" tab therefore they do not support internal routing), but you should verify this for your specific hardware. Let me know if you have any other questions/concerns.
    Cheers,
    Jonah Paul
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval

  • Error in the sql statement for SQL Server

    Hy:)
    i am using this sql statement to get all fields, which have been changed since yesterday
    SELECT ITEMCODE FROM SBODemo_UK.DBO.OITM  WHERE CREATEDATE IS >= DATEADD(day, -1, GetDate())
    But its not working.. you have any suggestions?
    cheers,
    Maggie

    Hello Margarete,
    I think ur query works if u simply remove 'IS' from it
    SELECT ITEMCODE FROM SBODemo_India.DBO.OITM
    WHERE CREATEDATE >= DATEADD(day, -1, GetDate())
    Manu

  • How do I register the serial number for Acrobat when the window disappears?

    I want to use Adobe Acrobat for the first time and I got a window for the serial number.
    I had the wrong paper in my hand and typed the serial for CS5 which was denied.
    I found the correct paper with the serial number for CS 6, but the window for typing it in doesn't
    return to the screen.
    I can see a getting started window flash by, but it doesn't stay on-screen long enough to read what it says.
    I don't know how to get the window for the serial number for CS6 to be entered.

    Hello Judy,
    one way is to deinstall your CS6 in combination with a reboot. After reinstalling should CS6 start now with the registration mask.
    Good luck!
    Hans-Günter

  • How do we get the os x 10.8 when they don't provide it?, how do we get the os x 8.0 when they don't provide it?

    I can't even connect eith anybody to find out how to get this new lion 10.8.   I need the mirror display for my job (teacher) and if it is their fault for giving us an upgrade that took stuff off of our macbooks then why do we have to pay for an upgrade???? I am frustrated and tempted to save up and get a dell!!!! Can anyone shed light on this problem???

    Back up your data, open the Mac App Store, and try downloading Mavericks; if it's incompatible with your computer, so is Mountain Lion. If desired, you can buy a download code for Mountain Lion from the online Apple Store instead, but it's generally only worth doing if you have software compatible with it but not Mavericks.
    (103147)

  • Calculations competing for resources when they run in parallel

    I have an allocation process where I run 5 different calcs in 5 different
    cubes (With exactly same structure and settings) to speed up my process.
    -None of them are using CALCPARELLEL
    -We have 6 CPU's with 4 cores each.(Total 24 processors)
    -Enough RAM for 5 cubes
    - AIX 64 bit OS
    Even though I have adequate resources to run the calcs in parallel, For some
    reason calcs are waiting for other to complete. 5 calcs are starting at same
    time, which are almost should take same time based on what they are
    calculating, but they seem like waiting for some resources to free up. Run
    times for these calcs are very random, for Ex: If calc1 takes 1 hour calc5
    takes 20 mins in first test, Calc 1 takes 20 mins and Calc 5 takes 1 hour in
    the next test.
    Did anybody see this scenario before? Any idea on what resource the calcs
    are competing for? Please shed some light on it.
    Thanks,
    SR.

    OK Let me first confirm some things from your previous emails.  When you say ASO Calcs you do mean "custom calcs" (why not post your maxl scripts) ?  Hopefully you are not referring to aggregations as calcs.
    You say you are doing calcs on multiple cubes concurrently - please post the script
    You say you are loading from BSO calcing and then using a report to extract from ASO.  Are you doing and aggregation after the data load?  Remember that when aggregations run the whole cube is "frozen" and the agg is given exclusive use of the cube.  I suspect that you should have no aggregations defined for these cubes.
    Finally, you say you are doing multiple loads/calcs/extracts in each of your 5 cubes.  How - post the scripts please.  You have read the section of the dbag below regarding load buffers and custom calcs right?
    Understanding Data Load Buffers for Custom Calculations and Allocations
    When performing allocations or custom calculations on an aggregate storage database, Essbase uses temporary data load buffers. If there are insufficient resources in the aggregate storage cache to create the data load buffers, Essbase waits until resources are available.
    Multiple data load buffers can exist on a single aggregate storage database. The data load buffers that Essbase creates for allocations and custom calculations are not configurable. You can, however, configure the data load buffers that you create for data loads and postings.
    If you want to perform allocations and custom calculations concurrently with data loads and postings, set the resource usage for the data load buffers that you create for data loads and postings to a maximum of 0.8 (80%). The lower you set the resource usage setting, the greater the number of allocations and custom calculations that can run concurrently with data loads and postings. You can also configure the amount of time Essbase waits for resources to become available in order to process load buffer operations.
    To configure data load buffers, use the alter database MaxL statement with the initialize load_buffer grammar and ASOLOADBUFFERWAIT configuration setting.
    I question whether this section of the documentation is correct.  I would think that a calculation would need exclusive access to the cube otherwise it would be calculating against a moving target.   I will try to reach out to someone at Oracle to ask the question.

  • How do i do the SQL Statement tuning

    I had a basic question
    After writing a query that satisfies the functional requirements - how do I optimize it's performance so that it runs faster.
    I would be grateful if you describe the query optimization process in detail..
    especially what should be the query on the plan table that is used to see the execution plan in hierarchial structure
    Thanking you in advance
    regards,
    Manoj Gokhale

    Hi,
    how do I optimize it's performance so that it runs faster.http://www.oracle.com/technology/oramag/webcolumns/2003/techarticles/burleson_cbo_pt1.html
    Start by gathering an execution plan (explain plan), and check-out autotrace:
    http://asktom.oracle.com/tkyte/article1/autotrace.html
    - Look for possible unnecessary large-table full-table scans, caused by missing indexes
    - Look for sub-optimal table join orders (see the ORDERED hint)
    - Look for sub-optimal table join methods (nested loops vs. hash join)
    You can adjust the execution plan in many ways:
    - Adding misisng indexes or building materialized views (see the 10g SQLAccess advisor). Here are my notes:
    http://www.dba-oracle.com/art_dbazine_911_pt5.htm
    - Hints (especially table join hints, ordered hint and optimizer mode hints). Only use "good" hints:
    http://www.dba-oracle.com/oracle_news/oracle_faq/faq_tune_hints_list.htm
    - Enhancing optimizer stats (especially missing histograms)
    http://www.dba-oracle.com/art_otn_cbo_p4.htm

  • How do I get the current Itunes for MacBook when the reply is that it was created from a later version? I can't open iTunes or run the software inside it? Even the downloaded version will not function.

    I lost m iTunes downloader and cannot get the current version to work even when I download what is SUPPOSED to be the current version of iTunes. What can I do?

    If you've tried to install and older version of iTunes then it means exactly what it says, otherwise that message sometimes indicates a corrupt library file...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library (.itl) files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library as iTunes Library (Corrupt) and then rename the restored file as iTunes Library. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be renamed as iTunes Library.itl to restore the library to a recent state.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • Help needed for Production daatabase Error

    Hi All I got the Errors below of One of my Production database in alert.log file. Please let me know ASAP. ORA-12012 : error in auto execute of job 1262 ORA-06512 : at " MERILL.ORDERACCEPT" line 136 ORA-06510 :PL/SQL unhandled user defined exception

  • HR-ABAP-Infoset-creation-getting default value-standard-ss

    Hi All, Here I am having the requirement that I need to create a new infoset with specified infotypes in the HR-ABAP .For this I have used SQ01,SQ02,SQ03 T.C's and I have selected tables-fields whatever I required. But I am not able to get a default

  • Maps App

    I couldn't find anyone else that has complained about these two problems although it seems unlikely that I am the only one that hates this. I am posting this in hopes that there is a fix out there or at least bring it to the attention of Apple. Here

  • Lost of profit center with posting Bill of exchange

    Dear all, When we are posting bill of exchange a new document is created with a default profit center, is this case we losing the offsetting profit center of the original document.. is there any solution to avoid this problem ?? Thanks in advance MN

  • Windows XP - Where do downloaded apps reside?

    Just bought my wife an iPad and she has a PC. Purchased several apps using my work PC and went through all sorts of crap about the machine not being authorized trying to get the apps onto the iPad. Finally got that to work but I want to copy the apps