Need to learn the code of PL/SQL tuning

Hi all

I already asked this question earlier, but the link provided was too difficult to understand, I really grateful if someone suggest me the good and simple link or presentation for mentioned topic question.

In addition, I just want to learn some basic for this. Appreciate your response. Thank you

Concerning

Muzz

I already asked this question earlier, but the link provided was too difficult to understand, I really grateful if someone suggest me the good and simple link or presentation for mentioned topic question.

Why PL/SQL tuning?

The best advice re PL/SQL is to AVOID at all costs. Whenever possible, use SQL.

It is usually the SQL to be tuned so that sql is autonomous or in code.

As the major part of PL/SQL uses SQL to get the job done, you will be not successful tuning PL/SQL, unless you set the SQL contained in it.

Start with the Oracle documentation:

http://docs.Oracle.com/CD/B28359_01/server.111/b28274/sql_overview.htm

This chapter deals with the objectives for the development, explains how to identify the high resource SQL statements, which must be collected, offers suggestions of setting and explains how to create SQL test scenarios to solve problems in SQL.

This chapter contains the following sections:

Then, learn how to use and interpret what the Wizard Setup of Sql from Oracle can make and provide:

Update Auto SQL - 11 g Release 2 (11.2)

17 automatic SQL Tuning

This chapter examines the SQL Auto setting of the Oracle database features. Automatic tuning of SQL automates the manual process, which is complex, time consuming and repetitive.

This chapter contains the following sections:

A lot of questions of PL/SQL, you encounter will be due to one of these things:

1 poorly written SQL (see SQL tuning above)

2. use of slow-by-slow (line by line) treatment in a loop

3. poor use of collections and in bulk of treatment

4. use of the dynamic sql

All those who will take you to the SQL itself. The SQL is not set correctly if it is not possible for the PL/SQL to be tuned.

Tags: Database

Similar Questions

  • How to learn the code of undocumented?

    I had to learn the code of a conference room planning tool.
    He uses 20,000 lines of ColdFusion, JavaScript, and SQL server 2000. There is no comments inline or any other document. The author is not available. Some files are dead code. The software is Beta, and I managed to recover some of it running.

    It is my first experience of learning a program undocumented to this size. I tried to draw manually the code but was quickly lost. I tried to read some files, but may not know what they are supposed to do. Most database tables and judicious attribute names, but some are cryptic. I'm swamped. How are you? What is a good strategy for learning to code without papers?


    Thank you for your advice.

    Re: If you get (the stimulus), just to start digging.

    Suggests that this is exactly what posters do not, and how it came to be
    confused and ask for help here.

    Don't just start digging. What you need to do is to look at the
    functionality at a high level, note WHAT the system does
    in as much detail as possible. Get a worksheet will help you to organize
    all of this. You'd be almost opposite to the professional demands of engineering and
    TEC spec.

    Once you have done this, go get the code responsible for every bit of
    feature. You may need to do it in increments, to widen and
    deeper whenever you find a 'new' bits of functionality did you not
    There were. Spend a lot of time this operation and know really really
    with the system code at a higher level, but lower and lower each
    Pass. As well as update your spreadsheet with line numbers, descriptions
    etc., you should add comments to your version of the application.

    Find a few tools for debugging and tracing tools - anything t all that can help you
    See whats going on.

    Must repeat - don't just start digging. This mentality is likley which leads
    such a docuemnted bad app - developers don't want not to follow a
    process or methodology and instead they're starting to 'dig! '

    I wouldn't ask for a raise-you can not expect more money just
    because a challenge. If you are a coder, then its your job
    to do. However, I would consider asking for more resources if its too
    overwhelming - you are the only person after all.

    "Brian Simmons" wrote in message
    News:f5mov7$J6M$1@forums. Macromedia.com...
    > First things first: ask for a raise. If you don't get it, namely
    > the code is simple, let the next guy to do it.
    > If you get (the stimulus), just to start digging. Start by the
    > Application.cfm, default.cfm, etc... and document and determine what he has
    > make. Bring it into small pieces, so you do not overwhelm yourself more
    > as you need.
    >
    > Think of it this way: the guy who wrote, he did not write in a day or
    > At the same time. You are not in one day or all at once, it will be
    > slow gradual process.
    >
    > hth,.
    > Brian
    >
    >
    > --
    > Brian Simmons
    > [email protected]
    > The ultimate Certification of ColdFusion MX 7.0 test tool:
    > Check out CFMX Exam Buster 7.0 at: http://centrasoft.com
    >
    > "wolfv" wrote in message
    > news:[email protected]...
    > I was instructed to learn the code of a conference room planning tool.
    > He uses 20,000 lines of ColdFusion, JavaScript, and SQL server 2000. He
    > are
    > no comments inline or any other document. The author is not
    > available.
    > Some files are dead code. The software is Beta, and I
    > managed to
    > get a part of it running.
    >>
    > This is my first experience of learning a program undocumented to this
    > size. I have
    > tried to draw manually to the code, but is quickly lost. I tried
    > reading
    > some files, but can? t understand what they are supposed to do. Most of
    > the

    > database tables and supposed attribute names, but some are cryptic. I have
    > am
    > overwhelmed. How are you? What is a good strategy for learning
    > undocumented code?
    >>
    >>
    > Thank you for your advice.
    >>
    >>
    >
    >

  • ICloud Keychain how can I change the phone number needed to verify the code text for me? The number it was sent is an old phone number of my friends that I do not have access to the.

    ICloud Keychain how can I change the phone number needed to verify the code text for me? The number it was sent is an old phone number of my friends that I do not have access to the.

    Try this from another thread I saw.

    On iOS, go to settings > iCloud > keychain and tap button to disable iCloud keychain. (you will be asked to delete or keep the passwords on device) I chose to delete...

    Then turn it back on, and pop - up chose reset iCloud trousseau, on a chosen pop-up confirmation reset

    In the new window pop up use iPhone password like iCloud cryptogram? has chosen the use code

    Enter your secret code (4 digits) then choose country and your new phone number

    Although, to "Restore the iCloud Keychain," I took to erase the data and essentially set up a new keychain.  Not the case.  Strangely, after essentially bypassing the security system, setting a new password and verification number, I see my cards, passwords and other data have been restored.  Maybe it's all the iCloud account and this master password.  Or maybe it's a bug.  With Apple, we'll never know.

    Also have a look here: get help using iCloud Keychain - Apple Support

  • Need clarification for the code below:

    Hi all

    On the one hand of my requiremnet, I found a solution that worked as expected... But I was not able to understand the logic... Can someone explain me the below
    the syntax what exactly the meaning for the code below:


    Code:

    SELECT NULL
    Of apex_application_page_ir_cond cond
    WHERE cond.application_id = v ('APP_ID')
    AND cond.page_id = v ('APP_PAGE_ID')
    AND cond.condition_type = 'filter '.
    AND cond.condition_enabled = 'yes '.
    AND cond.report_id = (SELECT report_id
    Of apex_application_page_ir_rpt
    WHERE application_id = v('APP_ID')
    AND page_id = v ('APP_PAGE_ID')
    AND application_user = v ('APP_USER')
    AND report_type = 'SESSION '.
    AND TO_CHAR (session_id) = v('SESSION')
    AND report_name IS NULL))


    For your refernec, I am attaching the link too
    URL: Re: Interactive_Report with the search only bar



    Thank you
    David...

    David,

    Two things. First, it makes it much easier if you put '{code}' (without quotes) around your SQL when you publish:

    SELECT rowid "EDIT", attr_code,ATTR_ATCL_CODE "Atcl Code", attr_description, attr_atcl_code,
                    attr_abbreviation,
                    attr_include_short_desc "Include short desc",
                    attr_include_long_desc "Include long desc",
                    attr_attr_type "AttrType", rowid "DELETE"
               FROM t_new WHERE EXISTS (SELECT 1 FROM APEX_APPLICATION_PAGE_IR_COND WHERE APPLICATION_ID = :APP_ID AND PAGE_ID = :APP_PAGE_ID AND CONDITION_ENABLED = 'Yes'
    AND APPLICATION_USER = :APP_USER) ORDER BY attr_description;
    

    If the spacing still needs work, it is a little easier to read.

    Second, your query exists clause checks just a State on, without checking the condition type. Without checking, I guess either APEX creates at least an inner State, or that your IR has a default condition on it (other than a filter). Try to add the constraint condition_type to your where clause to see if that solves it.

    Also, I noticed that you don't have additional code to get the report_id. It should not be necessary, because there are currently only supported for an IR by page, but you asked what are the differences.

    -David

  • Need help with the condition join in SQL

    Hi all -

    I need to ask for help with this query:

    Create table user_tab_col_test (varchar2 (30) from table_name, column_name varchar2 (30), data_type varchar2 (30));

    Insert into user_tab_col_test (table_name, column_name, data_type) values ('table1', 'column1', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('Column2', 'table1', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ("Column3", 'table1', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('column4', 'table1', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ("column1", "table2", 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', 'column2', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', "Column3", 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', 'column4', 'varchar2')
    Commit;

    Create table all_cons_columns_test (varchar2 (30) from table_name, column_name varchar2 (30), constraint_name varchar2 (30))

    Insert into all_cons_columns_test (table_name, column_name, constraint_name) values ("table1", "column1", "primary")
    Insert into all_cons_columns_test (table_name, column_name, constraint_name) values ("table1", "column1", "secondary")
    Commit;

    This is my query and the current result:

    Select u.table_name, u.column_name, c.constraint_name
    Of user_tab_col_test u
    Outer join all_cons_columns_test c left
    On (u.table_name = c.table_name
    AND U.COLUMN_NAME = C.COLUMN_NAME
    AND C.CONSTRAINT_NAME IN ('main'))
    order of U.table_name, U.COLUMN_NAME;

    TABLE_NAME COLUMN_NAME, CONSTRAINT_NAME
    ------------------ --------------------- ----------------------------
    Table1 primary Column1
    Table1 Column2
    Table 1 Column3
    Table2 Column1
    Table2 Column2


    Three questions:
    (1) I don't want to return results where table_name = "table1". I can't get this to work.
    (2) is my proper request and this is the best way to return my desired results? For example, I want all of the columns of user_tab_col_test and I want to only display the constraint_name from all_cons_columns_test argument if the argument constraint_name = 'primary '.
    (3) will be the synatx be the same if I need to join a third table to all_cons_columns_test?

    Any advice/suggestions are appreciated-
    John

    Published by: user703358 on January 11, 2013 20:57

    Published by: user703358 on January 11, 2013 21:48

    Hi, John,.

    user703358 wrote:
    Hi all -

    I need to ask for help with this query:

    Create table user_tab_col_test (varchar2 (30) from table_name, column_name varchar2 (30), data_type varchar2 (30));

    Insert into user_tab_col_test (table_name, column_name, data_type) values ('table1', 'column1', 'varchar2')
    Insert into user_tab_col_test (table_name, column_name, data_type) values ('Column2', 'table1', 'varchar2')...

    Thanks for posting the CREATE TABLE and INSERT.
    It is more useful if you post the code that can be run without modification. You did not semicolons after INSERTION instructions.

    Three questions:
    (1) I don't want to return results where table_name = "table1". I can't get this to work.

    What have you tried? Post your best attempt.
    Here's one way:

    SELECT    u.table_name
    ,        u.column_name
    ,        c.constraint_name
    FROM             user_tab_col_test      u
    LEFT OUTER JOIN  all_cons_columns_test  c
                            ON    u.table_name     = c.table_name
                   AND   u.column_name     = c.column_name
                   AND   c.constraint_name IN ('primary')
    WHERE       u.table_name     = 'table1'          --  *****  NEW  *****
    ORDER BY  u.table_name
    ,            u.column_name
    ;
    

    You would not put this condition in the clause; who controls what is considered as a match between the tables, and "u LEFT OUTER JOIN c" means show all lines of u, even if they do not have a match in the c.

    (2) is my proper request and this is the best way to return my desired results? For example, I want all of the columns of user_tab_col_test and I want to only display the constraint_name from all_cons_columns_test argument if the argument constraint_name = 'primary '.

    Basically, this application is very well.
    It displays all the columns of user_tab_col_test; missing data_type. Just add u.data_type to the SELECT clause, or change the SELECT clause

    SELECT    u.*
    ,         c.constraint_name
    

    (3) will be the synatx be the same if I need to join a third table to all_cons_columns_test?

    Do you mean "" * add * one-third * column * to all_cons_columns_test '? "
    It depends on what results you want. Post new CREATE TABLE and INSERT and instructions the results you want new data.
    Most likely, the basic structure of what you've written will remain exactly the same.

  • Need help with the code to add dates to form

    Hello fans forum

    I am new to make forms and understood how to auto add the date, but I need the shape to change the date for each copy made.

    For example, is today 08/06/2012 if I print 10 copies of the form it will display 10 pages from 08/06/2012 to 17/06/2012. If the code exists for this I would be very gratefull to one who helps, I also wouldn't mind if this is not possible for manually inputing start / end dates.

    Currently I have print 15-30 copies of the form and hand write each of the dates but I get just to busy to do it. Also I can't print one a day, it must be in batches.

    Thanks in advance.

    I think that you misunderstood my comment about the Console window. Please see the Console window tutorial link in my previous answer. The Acrobat JavaScript Console window is internal to Acrobat, so there is no system restrictions that may prevent you from using it. It's a perfect place to run short automation scripts that do things like print separate copies.

    George also underscores a great solution, put the script in a (non-printable) button on the document itself. However, due to security restrictions this solution can be a bit tricky, but no more so than using the Console window. Each solution takes a little extra effort.

    The problem with having multiple pages, it's that you must manually create a document with pages already in it.  It is certainly a feasible solution, it comes you limit the number of pages that you have already created manually.  At least one solution AcroForm. If you re-create your form as a dynamic LiveCycle, then creating new pages on the fly is not a problem.

    None of these solutions will work fine, the real trick is to increment the date.

    Here's a short script that begins with today's date and adds a day for each iteration of the loop and then prints

    One day in milliseconds

    var nOneDay = 24 * 60 * 60 * 1000;

    var nToday = (new Date()) .getTime ();

    for (var i = 0; i)<>

    {

    oTheDate = new Date (nToday + i * nOneDay);

    Date format

    cTheDate = util.printd("mm/dd/yyyy",oTheDate);

    this.getField("MyDate").value = cTheDate;

    This.Print)

    }

    This same loop could be used to fill in a form on the page - multi (repeated) fields.

    Using the util.scand () function, this loop could be setup to start at an arbitrary date.

    See you soon,.

  • Need to remove the Code, attached screenshot

    Everytime I open my Index page I get the following message.

    help1.PNG

    I did an experiment with a panel of tabs, but decided against it, I thought I had deleted all the code but apparently not.  I can't find the code for this message is referring to.  When I click on Yes, I get the following message.

    help2.PNG

    As you can see it is referring to the tabs Panel, can everything - help me as to what should be deleted and where, if you need to know that the website here is the link http://www.theboxinghistorian.com/

    Hello

    Try double clicking the line of code in the search panel, which brings you to the line incriminated in your document.

    PZ

  • need help with the code "meter."

    Hi I had this form of testing that executes_query on the new block instance.
    See the image below:

    http://i95.photobucket.com/albums/l133/element81/screenies.jpg
    [http://i95.photobucket.com/albums/l133/element81/screenies.jpg]

    I have this code on the button (next question) that captures the selected answer and compare it to the correct answer and then move to the next record:

    "If: blk_exam.radio_group76 =: blk_exam.answer_id then.
    -message('correct');
    -other
    -message('wrong');
    : blk_exam.score: =: blk_exam.score + 1;
    end if;
    next_record;
    "

    the problem is I want to create a score counter, but I do not know how to display it in the text (circled in blue) element.

    p.s. I'll hide the score counter, hurt later use it to record the score in the database.


    Ty in advance

    Hello
    No, there are no gaps. In fact, there is error in your code.

    Scenario 1:
    If the blk_exam is on the top of blk_score when I run the blk_exam form works with execute_query but the text of the note element is a bit turn off so I have to click on to a grey, she and her show '0' because of its first value 0 then walla pressing "next question" with my codes work... it increments...

    For this scenario, you use NVL then it will work as...

    :NON_DB_BLOCK.SCORE_FLD:=NVL(:NON_DB_BLOCK.SCORE_FLD,0)+1;
    

    Scenario 2:
    If I make blk_score on top of my blk_exam the text of the note element contains the value 0, but the test module does not work still... I had to click on any text element or anywhere on the form first seized execute_query and shows the question and choices... but then after that, it works well...

    So now don't need to keep the DB NO BLOCK on top just keep the issue/block on top. Normal then run query which is now to work it will work.

    hope you can imagine the two scenario hehe...

    Hope you can imagine the fault encoding ;)

    -Clément

  • An urgent need to change the code PIN, don't want to factory reset

    Hi all

    A few weeks ago, I accidentally dropped my Xperia Z3 Compact on the ground. The damage was not serious, apart from a few scratches on the screen, at least, I thought. It turns out that the damage was much more than just some scratches: a few hours later, my touch screen started acting weird and finally the half top of the touch screen is not functional, as in the screen still worked, but I couldn't support what either on the upper part of the screen.

    You guessed it already: my PIN contains the number 1, and on the unlock screen, the number 1 is on the upper part of the screen, making it impossible for me to enter my full pin code. I want to reset the pin code, but I don't want my lost data.

    Things I've tried:

    -Device android Manager: everything is functional in the SMA: location works fine, I can ask a ring and I can probably delete my camera as well, but I have not tried. When I press the "Lock" option on the other hand, it does not work. I have a password on my PC and confirm. He invites even "Lock request successfully sent" or something in that direction, but when I look at my phone, nothing happens. When I try to enter a new password, it invites "since Google has verified that a screen lock is already set, the password you entered is not necessary." Looking at my phone, nothing happened.

    -Enter the code wrong PIN several times to connect with my Google account: I think it is already patched, but I tried anyway. My phone is locked for 30 seconds every time.

    Google search gives thinking I should factory reset my device so the PIN will be removed, but I got precious files on this phone, and not on a SD memory

    Would be just to back up my whole phone on a PC and factory reset it, but I can't access the files of the phone while it is locked.

    If anyone has a solution for my situation, it would be much appreciated.

    Thanks in advance

    Connect a USB mouse via the otg cable and use it to unlock.

  • Need help with the code for drop-down selection, please!

    I'm falling out of scope with a drop of water in my form. My form is long, and certain areas are in Page 2. When I click on the "Customer hospitality event" drop-down list selection, the fields of P2 do not hide. Here is the code that I have on the menu drop-down:

    -form1. P1.meetDetails.meetType::exit :-(JavaScript, client).

    switch

    (this.rawValue)

    {

    " case" " Customer home ' :

    Header.PRESENCE = "visible";

    meetDetails.presence = "visible";

    meetDetailsaddl.presence = "visible";

    Form1. P2.rstatus.presence = 'hidden '.

    Form1. P2. Status.Presence = 'hidden '.

    breaking ;

    }

    Help, please!

    Thank you!

    I see that references to the P2 have no end of line separators (-).

    Form1. P2.rstatus.presence = 'hidden '.

    Form1. P2. Status.Presence = 'hidden '.

    The JavaScript runtime engine is perhaps unfortunate. Try to add them.

    Steve

  • I need help with the code of php mailer

    I followed the instructions to make this announcement and I get an email but no inside information. No message, no who he comes, nothing. only the mailer 'shape' is received. I am new to DW, still using training wheels. can anyone help?

    Here's the code for the contact page:

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    "< html xmlns ="http://www.w3.org/1999/xhtml">".
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > Untitled Document < /title >
    < / head >

    < body >
    < do action = "mailer.php" method = "post" > "

    Name: < br / > < input name = "test" type = "text" size = "32" / > < br / >
    E-mail: < br / > < input name = "email" type = "text" size = "32" / > < br / >
    Message: < br / > < textarea name = "message" rows = "10" cols = "40" > < / textarea > < br / >
    < input type = "submit" name = "submit" value = "Submit" / >
    < / make >
    < / body >
    < / html >

    code for mailer:

    <? PHP
    $to = "[email address removed by Moderator] ';
    $subject = "from my Web site";
    $headers = "from: Form Mailer ';
    $forward = 0; 0 = no redirect, redirection of 1 = 1
    $location = ""; If 1 then "yoursite.com".

    $date = date ("' 1, f js, y" ");
    $time = date (' h: i A ");

    $mgs = "this is the result of your feedback form. He received the $date $time.\n\n ";

    If ($_SERVER ['REQUEST_METHOD'] == 'POST') {}
    foreach ($_POST as $key = > $value) {}
    $mgs. = ucfirst ($key). » : «. $value. "\n";
    }
    }
    else {}
    foreach ($_GET as $key = > $value) {}
    $mgs. = ucfirst ($key). » : «. $value. » \n » ;
    }
    }
    mail ($à, $subject, $msg, $headers);
    If ($forward == 1) {}
    Header ("' Location: $location '");
    }
    else {}
    echo "thank you for your visit. We will review your information that has been sent to us. Be blessed! « ;
    }

    ? >

    [Proposed by the correct forum Moderator]

    The problem really has nothing to do with Dreamweaver, but your lack of experience with PHP.

    For example, you have this line of code:

    $date = date ("1,f js,y");
    

    If you use echo to display the output of the $date, what you get is this:

    1,f 1257,09
    

    Not a very useful date, I think you would agree.

    What should be your code is the following:

    $date = date ("l, F jS, Y");
    

    Very similar, but completely different insofar as PHP is concerned. Note that the first character is lowercase L and not one. The other letters are also crucial.

    This code generates "Sunday, July 12, 2009.

    Now, why have you not no messages? Elementary, my dear Watson. Throughout your code, you assign to a variable called $mgs the message. When finally, you send the mail, the variable you are using is $msg. I suspect that $mgs should be $msg throughout. As humans, we can identify the misspelling and may ignore it. The computers cannot. You must be very attentive to the spelling when you work with a language like PHP.

  • Please need answers about the code 0 x 80240022 for Defender updates

    What does the error code 0 x 80240022?

    Hello

    What antivirus do you use?

    If under Defender information does not apply to you please repost in the windows update forum

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

    read this information on the Defender:

    ·                         If you use microsoft security essentials avg avira mcafee norton etc they disable the vista version of windows defender by default

    the basics of Microsoft security has its own version of windows defender

    and other anti-virus programs use their own particular type of application to scan for spyware and malware

    It of nothing to worry and is the default action, which is designed for them to do

    If the above does not apply to your machine to read the information on the below link on how to disable the windows defender service in vista or make an autostart to enable

    http://www.groovypost.com/HOWTO/Microsoft/Vista/disable-Windows-Defender-service-in-Windows-Server-2008-or-Vista/

    and here is the method to remove it from startup in vista

    http://www.groovypost.com/HOWTO/Microsoft/Vista/remove-Windows-Defender-from-Vista-system-startup/

    and this is how you would normally activate or disable windows defender in vista from within defenders of own and options tools

    http://www.groovypost.com/HOWTO/Microsoft/Vista/disable-Windows-Defender-for-Microsoft-Vista/

         and read this information to microsoft:

    Error message when you run Windows Defender: «Error 0x800106ba»

    http://support.Microsoft.com/kb/931849

    and if you need to change startup programs read this information on the other methods of doing it without using defender

    using msconfig read this tutorial:

    How to use MSCONFIG in Windows Vista

    Here's how to use MSCONFIG in Windows Vista to disable some unnecessary programs that load automatically at startup

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    and also try this FREE program Autoruns:

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services more

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

  • need help with the code for update of a record (conditional release)

    all together

    Published by: 871431 on July 9, 2011 18:30

    871431 wrote:
    Hello

    I am looking to update a table that contains documents approved & not homologous, for this combination date & funds it should allow the only recording not approved.

    what I did is check if the recording is U if the incoming value is not approved for this error of combination stimulus funds & date, but if I need to update this unlicensed recording error... so I need to update record, and trigger the error if try to insert another disc not approved.
    Hope I am clear...

    Not clear for me

    Help pls

    Please realize and understand that everyone here talks about SQL

    Please post DDL for table
    Please provide the sample/test data & then explain with the help of data from the trial itself said it that results should be & why

  • need to modify the code to make it work in FP9

    There is something in the following code which works very well in FP10 but not in FP9 but I was not able to find it and I need to integrate this into a site that appears in FP9.

    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener (Event.COMPLETE, showXML);
    xmlLoader.load (new URLRequest ("gigs.xml"));
    var i: int = 0;
    function showXML(e:Event):void {}
    XML.ignoreWhitespace = true;
    var concerts: XML = new XML (e.target.data);

    for each {var point: XML (in gigs.*)}
    i ++ ;
    for each {var element: XML (in item.*)}

    If (I == 1 & & element! = "") {gig_txt1.appendText (element + "\n"); gig_txt1.background = true; gig_txt1.BackgroundColor = 0xFFF8d8 ;}
    If (I == 2 & & element! = "") {gig_txt2.appendText (element + "\n"); gig_txt2.background = true; gig_txt2.BackgroundColor = 0xd9FFeF ;}
    If (I == 3 & & element! = "") {gig_txt3.appendText (element + "\n"); gig_txt3.background = true; gig_txt3.BackgroundColor = 0xFFF8d8 ;}
    If (I == 4 & & element! = "") {gig_txt4.appendText (element + "\n"); gig_txt4.background = true; gig_txt4.BackgroundColor = 0xd9FFeF ;}
    If (I == 5 & & element! = "") {gig_txt5.appendText (element + "\n"); gig_txt5.background = true; gig_txt5.BackgroundColor = 0xFFF8d8 ;}
    If (I == 6 & & element! = "") {gig_txt6.appendText (element + "\n"); gig_txt6.background = true; gig_txt6.BackgroundColor = 0xd9FFeF ;}
    If (I == 7 & & element! = "") {gig_txt7.appendText (element + "\n"); gig_txt7.background = true; gig_txt7.BackgroundColor = 0xFFF8d8 ;}
    If (I == 8 & & element! = "") {gig_txt8.appendText (element + "\n"); gig_txt8.background = true; gig_txt8.BackgroundColor = 0xd9FFeF ;}
    If (I == 9 & & element! = "") {gig_txt9.appendText (element + "\n"); gig_txt9.background = true; gig_txt9.BackgroundColor = 0xFFF8d8 ;}
    If (I == 10 & & element! = "") {gig_txt10.appendText (element + "\n"); gig_txt10.background = true; gig_txt10.BackgroundColor = 0xd9FFeF ;}
    }
    }
    }

    everything you did would work for fp 9.

    you embed your fonts?

    y at - there was none of the 3d things?

    you publish a html and swf?

    any custom filter?

  • Need help for the Partition of PL/SQL query for a question

    Hi all


    I'm running on a question that I'm not able to get the desired result. I would appreciate if one of you experts can help resolve this.

    SQL * more: Production of release 11.2.0.1.0 game 4 Feb 09:31:26 2016
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options


    with t as)
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim (01), 'NULL') like Item_id, 'ITEM_ID_01' FIELD_NAME Union double all the
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim(' '), 'NULL') like Item_id, 'ITEM_ID_02' FIELD_NAME Union double all the
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim(' '), 'NULL') like Item_id, 'ITEM_ID_03' FIELD_NAME Union double all the
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim(' '), 'NULL') like Item_id, 'ITEM_ID_04' FIELD_NAME Union double all the
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim(' '), 'NULL') like Item_id, 'ITEM_ID_05' FIELD_NAME Union double all the
    Select 1 numero_enregistrement, Student_ID 123, nvl (trim(' '), 'NULL') like Item_id, 'ITEM_ID_06' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('01'), 'NULL') like Item_id, 'ITEM_ID_01' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('02'), 'NULL') like Item_id, 'ITEM_ID_02' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('03'), 'NULL') like Item_id, 'ITEM_ID_03' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('01'), 'NULL') like Item_id, 'ITEM_ID_04' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('01'), 'NULL') like Item_id, 'ITEM_ID_05' FIELD_NAME Union double all the
    Select 2 numero_enregistrement, Student_ID 123, nvl (trim('02'), 'NULL') like Item_id, 'ITEM_ID_06' double FIELD_NAME)
    SELECT distinct COUNT (*) OVER (PARTITION BY numero_enregistrement ORDER BY numero_enregistrement) REC_COUNT, numero_enregistrement, STUDENT_ID, ITEM_ID, Field_Name FROM t
    where ITEM_ID = 'NULL '.

    I get the following result.


    NUMERO_ENREGISTREMENT ITEM_ID FIELD_NAME STUDENT_ID REC_COUNT
    5                                   1                                             123                              NULL               ITEM_ID_02
    5                                   1                                             123                              NULL               ITEM_ID_03
    5                                   1                                             123                              NULL               ITEM_ID_04
    5                                   1                                             123                              NULL               ITEM_ID_05
    5                                   1                                             123                              NULL               ITEM_ID_06


    My desired output is

    Rec_COUNT Student_ID ITEM_ID FIELD_NAME numero_enregistrement
    5 1 123 NULL ITEM_ID_02, ITEM_ID_03, ITEM_ID_04, ITEM_ID_04, ITEM_ID_05

    Thanks in advance

    Rajesh

    Hi, Renon,

    Thanks for posting the sample data and results; It is very useful.

    Be sure to explain exactly how you get these results from these data.  There are many different reasons you may have, that all happen to produce the same results with the sample data you posted, but will get different results with other data sets.

    This looks like a job for aggregate (including the LISTAGG) functions and GROUP BY, not for functions, analytical and PARTITION BY

Maybe you are looking for

  • Lenovo K920 video call

    IM using K920, my question is. HOW can I MAKE a VIDEO CALL from this phone? I check everywhere but still can't find the function

  • PIXMA MG5320 print white pages

    Hello! I have a 3 years, Canon Pixma MG5320, who has started printing blank pages in recent weeks. I don't think that it is no longer under warranty. I changed all four cartridges, did several cleanings and deep cleanings (using about 2/3 of the ink)

  • try to install windows xp on a Virgin system

    I have a clean hard drive and received two disks of windows xp install before I can use the computer.  I loaded the first cd but get nothing on the monitor for tell me when typing in the key code.  any suggestions?

  • Add PCI Parallel port card for PC comes with no port does not print.

    I recently got a few new computers that were shipped with Windows 7 Professional. I forgot that they do not comes with a parallel port. These computers are intended for a point of sale application, which requires a matrix printer. First I tried USB t

  • Warning (continued) Image Patch 5.0.1

    As others have seen when updating to Patch 5.0 .1 I'm also getting the following warning:"There is a problem with your environment because the Application Express files are not updated! For the version 5.0.0.00.31 files were loaded, but 5.0.1.00.06 i