Tool to see sql plan on the fly

I am looking for some tools to identify the execution plan of SQLs currently running. It has to be easy and quick, feedback from any body with experience on that is greatly appreciated.

When you create a SQL statement with the custom sql option, you can use ? or # as parameter placeholders. Each placeholder will have an associated element in the schema that is created for the sql statement. It is my experience that string values passed in via the parameters are treated as string literals, that is, as if they are wrapped in single quotes.
I tested this by setting up the following custom sql statement: "select ? from Applications". I passed in "Name" as the parameter value and received a result set that contained several rows containing "Name". Which means the statement that was executed was "select 'Name' from Applications".
So, you may be able to get this to work in a limited fashion if you can account for the injected single quotes, but I don't think you will be able to pass in whole sql statements. Which is probably a good thing as you could expose yourself to sql injection attacks.

Similar Messages

  • Custom SQL statement on the fly

    Is it possible to construct dynamic SQL statement in DB adapter on the fly?

    One Solution is pass your sql statement to the procedure and fire it from the procedure.
    stmt_str := 'INSERT INTO ' || tablename || ' VALUES
    (:deptno, :dname, :loc)';
    EXECUTE IMMEDIATE stmt_str
    USING deptnumber, deptname, location;
    refer this thread Dynamic database adapter
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What datadtype is a SQL Plan to be loaded?

    Is the SQL Plan to loaded the pls_integer datatype?
    See the following script. It define a SQL Plan as the pls_integer (similar with the integer datatype).
    I can not imagine how can the a SQL plan be defined as the integer datatype?
    To load plans from a SQL Tuning Set, use the LOAD_PLANS_FROM_SQLSET function of the DBMS_SPM package:
    DECLARE
      my_plans pls_integer;
    BEGIN
      my_plans := DBMS_SPM.LOAD_PLANS_FROM_SQLSET(
       sqlset_name => 'tset1');
    END;
    /

    qkc wrote:
    Is the SQL Plan to loaded the pls_integer datatype?
    See the following script. It define a SQL Plan as the pls_integer (similar with the integer datatype).
    I can not imagine how can the a SQL plan be defined as the integer datatype?
    To load plans from a SQL Tuning Set, use the LOAD_PLANS_FROM_SQLSET function of the DBMS_SPM package:
    DECLARE
    my_plans pls_integer;
    BEGIN
    my_plans := DBMS_SPM.LOAD_PLANS_FROM_SQLSET(
    sqlset_name => 'tset1');
    END;
    You seem to have a number of questions about DBMS_SPM, have you thought of consulting the documentation?
    http://www.oracle.com/technology/documentation/index.html#database
    If you're looking for a supplement to that, Morgans Library has lots of information as well.
    http://www.morganslibrary.org/library.html

  • Cant see SQL Server tab on the New/Select Database Connection

    Hi All,
    I cant see the SQL Server tab in the new database connection window. I have added the SQL Server jdbc driver using the Tools->Preferences->Third Party JDBC Driver, but all I can see are the the Oracle and the Access tabs.
    I am using version 1.5.4.
    Any pointers is highly appreciated.
    Regards,
    Anish.

    Hi,
    I have SQL Developer Version 1.5.4 Build MAIN-5940.
    I downloaded JTDS from SQL Developer Migration page and unzipped.
    I added the driver in SQL Developer through tool/perference/database/third party vendor
    I still cannot see SQL Server tab.
    What else do I need to do to see the tab?
    Thanks.
    Tracy

  • Can two Instances of Planning share the same SQl Server Instance?

    Hi
    Can anyone clarify me on the below
    Is it possible to have our DEV and TEST instances of planning (on different host servers) point to different tables in the same instance of SQL Server 2005. I know that the apllication databases can be directed to different table names but what about the core tables:
    FSDHAADMS
    FSDHBIP
    FSDHSS
    FSDHPLANAPP
    FSDHPLANSYS
    Thanks in advance.

    I think it will work. As long as you create separate SQL databases for the planning system files for dev and prod on the sql server. If your planning web for dev is deployed on server x, and planning web for prod is on server y, when you run config utility on server x you would point to the SQL database u created for dev. Repeat on prod when u run the config utility just point to the planning system database you created for prod.
    haven't done this myself but sounds possible.

  • I would like to see the actual email address in a Tool Tip when I mouse over the From address

    I use Thunderbird to access my IMAP email account with a non-enormous ISP. Thunderbird is a great email client.
    One thing I really miss when using Thunderbird vs. going to my email using a browser: in the browser, when I mouse over the From email address, a tool tip pops up showing me the actual email address, not the alias (or whatever it's called). Please see the attached image for an example of the mouse over tool tip. Is there a way to do this in Thunderbird?

    more misinformation and urban myths here than facts.
    1. Thunderbird blocks remote images by default.
    2. Thunderbird does not allow scripts in mail. If they are there they do not run.
    3. The only link SPAMMERS or anybody in marketing gets to you is when you download their remote images, run scripts in the mail or click on links to go to their web sites.
    4. When I or a spammer send a mail to say [email protected] Most mail servers will refuse delivery unless the address exists on their server.
    5. True spammers do not care if a large percentage of the mail they send is to dead email addresses and they make little or no effort to validate active addresses. Corporations like Walmart, Woolworths here in Australia, Ebay and Paypal are very interested.
    With that knowledge, you are now aware that opening the mail tells a spammer nothing even in the remote chance they are interested.
    Oh and the source of the urban myth is Microsoft whose mail clients allow scripting, remote images and uses the file extension of the file not it's mime type to determine how to open it.
    That is the difference between a mail client where the developers think security first and one where the developers give the user what they want and try to tack on security after the fact.

  • Multiple Executions Plans for the same SQL statement

    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.
    Below is the awrsqrpt's output for your reference.
    WORKLOAD REPOSITORY SQL Report
    Snapshot Period Summary
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    TESTDB          2157605839 TESTDB1               1 10.2.0.3.0  YES testhost1
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     32541 11-Oct-08 21:00:13       248     141.1
      End Snap:     32542 11-Oct-08 21:15:06       245     143.4
       Elapsed:               14.88 (mins)
       DB Time:               12.18 (mins)
    SQL Summary                            DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
                    Elapsed
       SQL Id      Time (ms)
    51szt7b736bmg     25,131
    Module: SQL*Plus
    UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(ACCT_DR_BAL,
    0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND TEST_ACC_NB = ACCT_ACC_NB(+)) WHERE
    TEST_BATCH_DT = (:B1 )
    SQL ID: 51szt7b736bmg                  DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> 1st Capture and Last Capture Snap IDs
       refer to Snapshot IDs witin the snapshot range
    -> UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(AC...
        Plan Hash           Total Elapsed                 1st Capture   Last Capture
    #   Value                    Time(ms)    Executions       Snap ID        Snap ID
    1   2960830398                 25,131             1         32542          32542
    2   3834848140                      0             0         32542          32542
    Plan 1(PHV: 2960830398)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                            25,131       25,130.7     3.4
    CPU Time (ms)                                23,270       23,270.2     3.9
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,626,166    2,626,166.0    14.6
    Disk Reads                                      305          305.0     0.3
    Parse Calls                                       1            1.0     0.0
    Rows                                        371,735      371,735.0     N/A
    User I/O Wait Time (ms)                         564            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |                 |       |       |  1110 (100)|          |
    |   1 |  UPDATE                      | TEST            |       |       |            |          |
    |   2 |   TABLE ACCESS FULL          | TEST            |   116K|  2740K|  1110   (2)| 00:00:14 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| ACCT            |     1 |    26 |     5   (0)| 00:00:01 |
    |   4 |    INDEX RANGE SCAN          | ACCT_DT_ACC_IDX |     1 |       |     4   (0)| 00:00:01 |
    Plan 2(PHV: 3834848140)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                                 0            N/A     0.0
    CPU Time (ms)                                     0            N/A     0.0
    Executions                                        0            N/A     N/A
    Buffer Gets                                       0            N/A     0.0
    Disk Reads                                        0            N/A     0.0
    Parse Calls                                       0            N/A     0.0
    Rows                                              0            N/A     N/A
    User I/O Wait Time (ms)                           0            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |              |       |       |     2 (100)|          |
    |   1 |  UPDATE                      | TEST         |       |       |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| TEST         |     1 |    28 |     2   (0)| 00:00:01 |
    |   3 |    INDEX RANGE SCAN          | TEST_DT_IND  |     1 |       |     1   (0)| 00:00:01 |
    |   4 |   TABLE ACCESS BY INDEX ROWID| ACCT         |     1 |    26 |     4   (0)| 00:00:01 |
    |   5 |    INDEX RANGE SCAN          | INDX_ACCT_DT |     1 |       |     3   (0)| 00:00:01 |
    Full SQL Text
    SQL ID       SQL Text
    51szt7b736bm UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL, 0) +
                  NVL(ACCT_DR_BAL, 0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND PB
                 RN_ACC_NB = ACCT_ACC_NB(+)) WHERE TEST_BATCH_DT = (:B1 )Your input is highly appreciated.
    Thanks for taking your time in answering my question.
    Regards

    Oracle Lover3 wrote:
    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.If you're using bind variables and you've histograms on your columns which can be created by default in 10g due to the "SIZE AUTO" default "method_opt" parameter of DBMS_STATS.GATHER__STATS it is quite normal that you get different execution plans for the same SQL statement. Depending on the values passed when the statement is hard parsed (this feature is called "bind variable peeking" and enabled by default since 9i) an execution plan is determined and re-used for all further executions of the same "shared" SQL statement.
    If now your statement ages out of the shared pool or is invalidated due to some DDL or statistics gathering activity it will be re-parsed and again the values passed in that particular moment will determine the execution plan. If you have skewed data distribution and a histogram in place that reflects that skewness you might get different execution plans depending on the actual values used.
    Since this "flip-flop" behaviour can sometimes be counter-productive if you're unlucky and the values used to hard parse the statement leading to a plan that is unsuitable for the majority of values used afterwards, 11g introduced the "adaptive" cursor sharing that attempts to detect such a situation and can automatically re-evaluate the execution plan of the statement.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Oracle SQL Developer (Not seeing object names within the interface)

    Hello,
    I was finally able to perform an export/import from our production environment to our training environment. Anyway, this was done using the SYS account and for some reason, I have an issue where in Oracle SQL Developer, there are no object names being displayed, but the objects do exist within SQLPLUS if I should query the table.
    The following error message displays when I refresh any of the objects folders within SQL Developer:
    ORA-00942: table or view does not exist
    Any ideas would be greatly appreciated.
    Thank you.

    825084 wrote:
    I'm pretty new to the Oracle DBA space but not to SQL Server Ah. The first thing you need to do is check everything you think you know about rdbms at the door. The similarity between SQL Server and Oracle ends right after SELECT * FROM EMP.
    Even the term "database" has different meanings.
    First thing I see, in your original post, is that you did the export/import as SYS. Was this "as sysdba"?
    From Oracle® Database Utilities
    10g Release 2 (10.2):
    Invoking Export and Import As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
    * At the request of Oracle technical support
    * When importing a transportable tablespace set
    so it's quite possible that I missed something during the import/export of the environments.
    Are there any system tables that get invoked when you click on any of the objects within the connection?

  • Unable to Execute Explain Plan for the selected SQL

    When working with several SQL statements in one SQL Worksheet you execute the specific statement by selecting it and pressing F9.
    The same is not possible for the explain plan though.
    If you select the first SQL statement and press F6, the explain plan is executed correctly. If you try the same for any other statement, all you get is 'No SQL statement entered.' on the status bar.
    Maciej

    It is available.
    Type this in.
    create table xx (yy number(10));
    create table zz (aa number(10));
    select * from xx;
    select * from zz;Run all these statements by pressing f5.
    Place the cursor on 'select * from xx;'.
    Press f6 gives you a plan.
    Place the cursor on 'select * from zz;'
    press f6 gives you a different plan.
    The problem seems to be that F6 is still suffering from a statement selection bug which is already fixed for f9. That is selecting a whole statement results in failure to recognise a statement and the 'No statement entered' message.

  • An error occurred while applying SQL script for the feature BackendStore. For details, see the log file

    Hello
    i got this error in step2
    Error: An error occurred while applying SQL script for the feature BackendStore. For details, see the log file 'C:\Users\administrator.RCC\AppData\Local\Temp\2\Create-BackendStore-lync.rcc.local_rtc-[2013_09_23][09_05_16].log'
    here is full summary
    > Bootstrap-CsComputer
    Logging status to: C:\Users\administrator.RCC\AppData\Local\Temp\2\BootstrapFull-[2013_09_23][12_17_37].html
    Checking prerequisites for bootstrapper...
    Checking prerequisite WMIEnabled...prerequisite satisfied.
    Checking prerequisite NoBootstrapperOnBranchOfficeAppliance...prerequisite satisfied.
    Checking prerequisite SupportedOS...prerequisite satisfied.
    Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.
    Host name: lync.rcc.local
    Disabling unused roles...
    Executing PowerShell command: Disable-CSComputer -Confirm:$false -Verbose -Report "C:\Users\administrator.RCC\AppData\Local\Temp\2\Disable-CSComputer-[2013_09_23][12_17_46].html"
    Checking prerequisites for roles...
    Checking prerequisite SupportedOS...prerequisite satisfied.
    Checking prerequisite SupportedOSNoDC...prerequisite satisfied.
    Checking prerequisite SupportedSqlRtcLocal...prerequisite satisfied.
    Checking prerequisite WMIEnabled...prerequisite satisfied.
    Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.
    Checking prerequisite PowerShell...prerequisite satisfied.
    Checking prerequisite WindowsIdentityFoundation...prerequisite satisfied.
    Checking prerequisite SupportedServerOS...prerequisite satisfied.
    Checking prerequisite NoUnsupportedWinFab...prerequisite satisfied.
    Checking prerequisite SupportedSqlLyncLocal...prerequisite satisfied.
    Checking prerequisite SupportedSqlRtc...prerequisite satisfied.
    Checking prerequisite IIS...prerequisite satisfied.
    Checking prerequisite IIS7Features...prerequisite satisfied.
    Checking prerequisite ASPNet...prerequisite satisfied.
    Checking prerequisite KB2646886Installed...prerequisite satisfied.
    Checking prerequisite BranchCacheBlock...prerequisite satisfied.
    Checking prerequisite WCF...prerequisite satisfied.
    Checking prerequisite WindowsMediaFoundation...prerequisite satisfied.
    Checking prerequisite SqlInstanceRtcLocal...prerequisite satisfied.
    Checking prerequisite VCredist...prerequisite satisfied.
    Checking prerequisite SqlNativeClient...prerequisite satisfied.
    Checking prerequisite SqlClrTypes...prerequisite satisfied.
    Checking prerequisite SqlSharedManagementObjects...prerequisite satisfied.
    Checking prerequisite UcmaRedist...prerequisite satisfied.
    Checking prerequisite WinFab...prerequisite satisfied.
    Checking prerequisite MicrosoftIdentityExtensions...prerequisite satisfied.
    Checking prerequisite SqlInstanceLyncLocal...prerequisite satisfied.
    Checking prerequisite SqlInstanceRtc...prerequisite satisfied.
    Checking prerequisite RewriteModule...prerequisite satisfied.
    Checking prerequisite SpeechPlatformRuntime...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_ca-ES_Herena...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_da-DK_Helle...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_de-DE_Hedda...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_en-AU_Hayley...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_en-CA_Heather...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_en-GB_Hazel...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_en-IN_Heera...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_en-US_Helen...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_es-ES_Helena...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_es-MX_Hilda...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_fi-FI_Heidi...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_fr-CA_Harmonie...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_fr-FR_Hortense...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_it-IT_Lucia...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_ja-JP_Haruka...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_ko-KR_Heami...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_nb-NO_Hulda...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_nl-NL_Hanna...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_pl-PL_Paulina...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_pt-BR_Heloisa...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_pt-PT_Helia...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_ru-RU_Elena...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_sv-SE_Hedvig...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_zh-CN_HuiHui...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_zh-HK_HunYee...prerequisite satisfied.
    Checking prerequisite MSSpeech_TTS_zh-TW_HanHan...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_ca-ES_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_da-DK_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_de-DE_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_en-AU_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_en-CA_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_en-GB_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_en-IN_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_en-US_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_es-ES_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_es-MX_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_fi-FI_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_fr-CA_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_fr-FR_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_it-IT_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_ja-JP_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_ko-KR_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_nb-NO_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_nl-NL_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_pl-PL_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_pt-BR_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_pt-PT_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_ru-RU_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_sv-SE_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_zh-CN_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_zh-HK_TELE...prerequisite satisfied.
    Checking prerequisite MSSpeech_SR_zh-TW_TELE...prerequisite satisfied.
    Checking prerequisite UcmaWorkflowRuntime...prerequisite satisfied.
    Installing any collocated databases...
    Executing PowerShell command: Install-CSDatabase -Confirm:$false -Verbose -LocalDatabases -Report "C:\Users\administrator.RCC\AppData\Local\Temp\2\Install-CSDatabase-[2013_09_23][12_17_52].html"
    An error occurred while applying SQL script for the feature BackendStore. For details, see the log file 'C:\Users\administrator.RCC\AppData\Local\Temp\2\Create-BackendStore-lync.rcc.local_rtc-[2013_09_23][12_17_54].log'
    what should i do?
    Please help me

    Hi,
    The issue may be related to disk read and write cache. Here is a similar case for your reference:
    http://blog.kloud.com.au/2013/07/15/publish-lync-2013-with-2012-r2-preview-web-application-proxy/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Kent Huang
    TechNet Community Support

  • When using the Pencil Tool I could see an outline of the pixel group - this has disappeared and all I see is the pencil - Why ?

    I use the Pencil Tool to modify pictures and drawings in Photoshop Elements.  Normally I would see an outline of the pixel group - so for example, if the pencil size was 6 pixels I would see the outline of the six pixels.  This allows very accurate poitioning of the tool.  All of a sudden these outlines have disappeared and all I can see is a representation of the pencil where the cursor is.  This makes positioning rather hit and miss especially if the pixel size is large.   What has changed - and how can I return it to the way it was  ?

    You have "standard" set as your curser preference. To change it Edit<Preferences<Display and Cursors.
    http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/WSAF9F0406-654F-4770-913A-C56B7BFD60 BB.html

  • Why would a SQL 2008 R2 SP2 server agent only see 40 processors when the server has 80?

    The SQL Server iteslf see's 80 but the agent only 40?  I thought that R2 didn't have this limitation?

    Hello,
    How you determined that SQL Server Agent or jobs are not seeing all cores? Please explain the issue more in detail.
    Thank you in advance.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Tool for the coding of pl/sql and drawing the flow chart

    dear sir,
    please kindly recommend one tool for the coding, debuging the
    pl/sql and drawing the flow chart.
    thanks

    Hello,
    You can use Tools Provided by KeepTool It includes,
    1. ER Diagrammer
    2. SQL Editior
    3. HORA,DBA Tool
    4. Pl/SQl Debugger
    www. keeptool.com
    www.keeptool.de
    Adi

  • Different execution plans for the same sql

    Hi,
    Im testing our new 10gR2 database on Linux and I can't understand why the same query use different plan.
    Here are the details.
    Table name: invoice_detail
    Records: About 10,670,900
    Columns:
    No
    seq (the primary key is No+Seq). Each invoices contains +/- 10 invoice_details.
    category ( <- 10 different values )
    State ( <- 3 different values )
    Basically, I have an index on the primary key and another index on Category + State.
    My request:
    select *
    from invoice_detail
    where no=123456 <- Best index to use
    and state <> 'CANCEL'
    and category = 'INVOICE'
    If i run this query from Toad or sql+, that's fine.
    The same query (i'm watching it from EM) executed via Forms use the category+state index.
    When I first import the database, the last thing I do is to run DBMS_STATS.GATHER_DATABASE_STATS.
    At this point, Forms use the right index.
    The day after (after the database has been analyzed with the predefined job via EM) Forms use the wrong index.
    I re-analyzed everything with exec DBMS_STATS.GATHER_DATABASE_STATS but the problem is still there.
    Thanks in advance

    I'm already using bind variables.
    I changed the "Estimated Percentage" to 100% in "Gather Optimizer Statistics Default Options" and now it seems to use the correct index. I'm stressed because I dont understand why it chooses different plan for the same sql.
    Actually, my users test the migration 1 day after I load all the data (drop schema-create schema-load data-analyze database) and at this point everythings go fine. After the second analyze of the database, the DB choose the wrong indexes.
    I really cannot migrate until I understand why it happens.
    Any ideas?
    TIA

  • Is it possible to see SQL in SQL-T without having to check out the mapping?

    Hello guys, Is it possible to see SQL in SQL-T without having to check in the mapping? At my work they use SQL-T a lot and in SQL query tab they use a lot of SQL so I was wondering if you can see the query without checking out the mapping?  Let me know. Thanks

    Hi All, I am facing an issue wherein Decimal value of 0.01 is getting converted to 0.00. Let me brief you about Source-Target Types Source - Flat FileTarget - DB2Powercenter Version - 9.6.1 HF2 Issue -  Field in Source Flat file is defined as Number(5,2). Corrosponding field from DB2 Target Table is defined as Decimal(5,2). Mapping is simple straight forward mapping with 1:1 loading from Source to Target. Now, my Source File contain data as below0.010.020.0312.01 When I execute mapping DB2 target Table gets loaded with all records. Value from corrosponding field from DB2 target table is - 0.000.020.0312.01 As you can see, value of 0.01 is getting converted to 0.00 where as all other values are working fine as expected. As a quick fix I have applied to_decimal(source_field,2) before loading into Target. Could anyone explain if this is a bug in Powercenter or there's some other issue. If I think its a rounding issue then how come value of 0.02 is getting processed correctly? Please advise. Thanks,Rajesh Agrawal

Maybe you are looking for

  • Problem with x:transform function : translation with XSLT

    I've got a problem with this code : This is the XML file : <%@taglib prefix="x" uri="http://java.sun.com/jstl/xml"%> <%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%> <c:import var="xslDoc" url="test.xsl"/> <x:transform  xslt ="${xslDoc}">  

  • Regarding date types

    hi all, i need some information regarding date types infotype 41. i need to print date types in sequential manner like dar01 dar02 dar03 like upto 12 date types. can you please suggest me how should i print them. thanks, madhavi.

  • Application set management in BPC

    Hi Experts,                   I am looking for information about application set management. Please share information about how to create application and application set. Thanks.

  • Totaling and Displaying Tables

    Say I have a table called CARS and the row CAR_PURCHASE_AMOUNT which says how many cars were bought. I want to display... - the CAR_PURCHASE_DATE - the total number of cars bought on each date from the CARS table sorted with the most recent PURCHASE_

  • Converting audio using QT 10

    Hi How do I convert audio files in QT 10. It was possible in older versions using the export command but that function has gone in this version. Im trying to convert a WAV to AIFF. Many Thanks Adrian