Query simple 10G and not worked on 11 GR 2 after upgrade

Hi people,

It is the first time that I write the query in this Blog.

I have a small question which prevents the UAT Sigoff.

Simple query works well on 10.2.0.1 and after the upgrade to 11.2.0.1 his mistake

10.2.0.4:
=====

SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1;

COUNT (*)
----------
1

SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 00001;

COUNT (*)
----------
1


SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1;

ATTRIBUTE1
--------------------------------------------------------------------------------
00001

11.2.0.1:
=====

SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1
*
ERROR on line 1:
ORA-01722: invalid number

SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 00001
*
ERROR on line 1:
ORA-01722: invalid number

SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = '1';

no selected line

SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = "00001";

COUNT (*)
----------
1

SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = "00001";

ATTRIBUTE1
----------
00001

++++++++++++++++++++++++++++++++++++++++++++++
SQL > desc APPS. HZ_PARTIES
Name Type
======== ======
ATTRIBUTE1 VARCHAR2 (150)

++++++++++++++++++++++++++++++++++++++++++++++
Changes:
Recently, I upgraded the 10.2.0.4 to 11.2.0.1 DB

Query:
1. If the type of this line is of type VARCHAR, why it is 10.2.0.4 and why not work in 11.2.0.1
2 after the upgrade, I've analyzed the table with "analyze table" asks all AP, AR, GL, HR, BEN, APPS diagrams - is that impact if we run analyze table.


Please provide me with the answer to both questions above or see the document is also well enough to understand. Based on the answer customer will sigoff of today.

Thank you
Kumar P

Kumar P,.

To start, you must use DBMS_STATS rather than ANALYZING. Secondly, there is a chance that the implementation plan is different in cases where the SQL statement does not - predicates are applied in a different order or a different index is used (or a full table scan is used in one case and an index scan in the other).

Set up your environment so that the SQL statement is able to run, and then in SQL * Plus, run the following:

SET AUTOTRACE TRACEONLY EXPLAIN

select count(*) from apps.hz_parties hp WHERE attribute_category = 'PROPERTY' AND attribute1 = 1;

Save the execution plan generated (via the predicate information section). Then configure your environment so that the SQL statement cannot execute in SQL * more do the following:

SET AUTOTRACE TRACEONLY EXPLAIN

select count(*) from apps.hz_parties hp WHERE attribute_category = 'PROPERTY' AND attribute1 = 1;

Save the execution plan generated (via the predicate information section).

Now compare the execution plans - how they are the same, and how are they different? Please report both execution plans.

Charles Hooper
Co-author of "Expert Oracle practices: Oracle Database Administration of the Oak Table.
http://hoopercharles.WordPress.com/
IT Manager/Oracle DBA
K & M-making Machine, Inc.

Tags: Database

Similar Questions

  • 6 buttons do not work on Satellite U400-10O after upgrade to Vista Ultimate

    Hello

    I have improved my U400-10O of original Win Vista Home Premium to Vista Ultimate, installed every driver and utility, (some of them, for example PVAT repeatedly ;-))

    However, could not succeed to operate the keys of multimedia shortcut, Led power button, Media Player, game, etc... They did not work with the original Setup, but I need this Ultimate Win.

    What is the real solution to enable them to work?

    Thank you

    EIO.

    You may need to configure these buttons first
    Go in the * Toshiba Assist-> Optimize-> Toshiba button support *.

    There you can configure the simple buttons.

    But it might be possible that the PPV is not supported by Vista Ultimate, I've read about various problems after installing Vista Ultimate applications didn't work as it should.

  • I have a laptop hp envy dv7 - 3723cl, the simple pass does not work

    My simple pass does not work. I have check the biometric device, the software is up-to-date, and it gives me an error code 19.

    On my installed programs I do not see the simple pass program is no longer.  How can I get the correct software to reinstall?

    Help, please

    Hi @GStefanakis ,

    Welcome to the HP Forums!

    It's a great place to find answers and information!

    You have the best experience in the HP forum, I would like to draw your attention to the Guide of the HP Forums Learn how Post and more

    I was unable to locate specific information about a desire dv7 - 3723 cl.

    How can I find my model number or product number?

    Here is a link on technet.microsoft.com that can help.   Code 19: Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged

    You can try a system restore to a date well known.  Using Microsoft System Restore (Windows 8)

    If the above did not help, I uninstall and reinstall the software Simplepass.  Using the Recovery Manager to restore the software and drivers (Windows 8)

    I hope this helps!

  • simple pass does not work to open emails

    simple pass does not work to open emails

    Duplicate the content of the Post-

    My os is windows7 IE9 browser

    Pass Simple contact support.

  • image capture does not work with the epson scanner after macOS sierra upgraded

    Image capture no longer works with epson scanner v800 after upgrade. I installed the new drivers from epson, and it still does not work. Just says: "waiting for scanner", but nothing ever happens.

    Drivers Epson macOS 10.12.x specific https://www.epson.com/cgi-bin/Store/support/supDetail.jsp?oid=256062 & infoType = Do wnloads & platform = OSF_M_X12 do not work?

  • Saitek cyborg keyboard does not work in Windows 7, even after downloading the drivers

    Saitek cyborg keyboard does not work in Windows 7, even after downloading the drivers. It says error tent install drivers try again.

    (a) has been the work of keyboard much earlier?

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

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

  • 960px simple html does not work?

    I have b een coding of pages a while but it's puzzled me.

    I have a page with simple code:

    <! 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 >
    < style type = "text/css" >

    {#960Wrapper}
    Width: 960px;
    background-color: #0F0;
    margin-right: auto;
    left margin: auto;
    }
    #header {}
    background-color: #C9F;
    }
    #footer {}
    background-color: #C0F;
    }
    < / style >
    < / head >

    < body >

    < div id = "960Wrapper" > content for id WrapperPage goes here

    < div id = "header" > this part is reserved for the logo < / div >

    < div id = "contentArea" >
    < p > please click a button: < /p >
    < / div >

    < div id = "footer" > this part is reserved for the footer < / div >

    < / div >

    < / div >
    < / body >
    < / html >

    However everything goes full width and edge of the browser - all of them.

    Maybe my grey cells are tired - or something is damaged but the machine won't accept - in or out of dreamweaver.

    I rebooted - run ccleaner and restarted again, but something does not work for me.

    I would be grateful if someone could confirm that I don't go crazy if you please.

    Terry

    #960Wrapper

    A class or ID name must not start with a number.

  • Dissolve simple cross does not work

    Hi, I'm relatively new to first CC, so forgive me if this is a simple solution. I looked on forums for hours trying to figure out why I can't get my simple cross-dissolution to work.

    I'm putting a transition between two clips .mp4, but instead of put in a decent length transition, made first an a TINY (1-2 frames) and then doesn't let me change its duration by dragging. If I manually change the duration by typing in it, it does not develop the transition, but with lines through the calendar item (as if I was applying to a clip without handles). I confirmed that I have handles, and the transition to work on any other cilps.

    I spent more than two hours trying to get something to work that should take less than 10 seconds. Any help is appreciated.

    Handles the item and transitions

    #WS17A423FB-FEF8-4172-A7C8-8521D8CCB8C8 of http://help.adobe.com/en_US/PremierePro/CS/using/WSE2A9B838-1422-4d8a-9A03-CFDF4332533B.ht ml

  • InDesign DPS: Simple Animation does not work in 'folio '?

    I'm building a recipe simple app using InDesign CS6, using the tools of digital publication.

    On one page, I applied an animation, "fly from bottom" in the subject.

    When I finally build the folio and view it on my ipad with the Adobe Content Viewer, the animation does not work on this page.

    I looked at a few tutorials on the use of the animation tools, how to set the path, etc. but none of them mention any other measure for the animation to work once you build the folio.

    Am I missing something?

    Thank you!

    Bruce

    InDesign animations are not supported in DPS. They are only SWF.

    Bob

  • Cut 1,000 LP records in securities - the simpler procedure and not a lot of time

    Dear friends,

    in the national and University Library Slovenian we would save in digital form and do the restore at least 1000 LPs. We save our LPs on our hard drive. We would then cut them into smaller units (securities). Does anyone know the simplest procedure and not a lot of time in Adobe Audition?

    For example:

    Our LP has 15 tracks. We would like to cut the LP in 15 units and if it is possible do the fade and fade out for each track at the same time. Is there any AutoPlay to make faster (not a lot of time)?

    Thank you for your response.

    National Library Slovenia wrote:

    We decided to keep the original files because they are (saved on the hard drive) and do no repairs (for example a hiss reduction, clik and pop eliminator...).

    1. we want to mark the silences between tracks (we decided do not fade and fade out)

    It's the easy bit. You select the audio with the track you want and highlight it, and then press F8. This will mark this part of the file as a "cue range" in the list of markers. It's quick and easy to make by hand, and hardly useful to automate. The reason is that you verify the results of an automated selection silence anyway (it is not infallible, especially on a file untreated LP), and audit would easily take both that just do this manually (a few seconds work). When the selection is displayed in the list of markers, then you can give it a name. If you don't want to give it a name that is fine - but even if you will without a doubt index this anyway, I still would do it, simply because it is without ambiguity.

    2. and then find ther simpler and faster procedure to record the tracks with ther of individual names (example: track_001.wav, track_002.wav, track_003.wav) in a single folder. Is it possible to make the second stage with a single click?

    Now you have a list of beaches of marker in the markers list, you will find that there is a button of batch process at the bottom that you can use. This will automatically save each of the ranges mark marked in a separate file, either using name information that you have entered, or by using the schema that you mentioned above. You can choose the prefix - that could be the name of LP - and it is the tracks sequentially from any number you choose - so if you do the second side of the LP, you could start with, say, {lp-name} _006.wav. The only other thing you need to do is where you want to save the files.

  • B1160W wireless wasn't working and now unable to connect - I tried the re-execution, WPS pairing Setup and not work now

    This work on my PC then tried to add wireless to PC from my wife and now it does not work on either.     Wireless Setup I tried tried uninstall/reinstall using the installer from the installation CD, 2) and 3) have also tried pairing WPS.    Printer sees the network but seems to forget the network password.    I'm sure that the password is correct and then reconnected iphone, PC, etc. just to be 100% sure.    I can print the network config and also use the printer via a USB cable, but no wire is very frustrating.    I installed the latest firmware and my PC is Windows 7.     I am 30 years old PC experience and have built machines and made all kinds of software installations.     Is there a reset machine that can be done?    Otherwise, I am convinced that it is a kind of corruption in wireless function.    My warranty through 02/23/15

    I finally got working again. I connected the USB cable from the printer to the computer. I went to my directory of installed programs and selected Dell and there is an application called 'maintenance', which allowed me to "repair/reinstall" the driver who was initially working OK (then stopped working). Then in the Dell same folder was an application called "Wireless Setup program.

    I followed the directions, with cable is still connected and manually entered my "wifi password', in the dialog box. I got the message "installation failed, try again? I chose 'Yes', this time I got the message "success of wireless configuration".

    Then I unplugged the USB cable from the printer, and now it works wireless again. He did change the "name" of the printer from "DELL * ' followed by a group of numbers. The new name of the printer has changed to "1160w Dell monochrome laser printer", which is the best description of the printer anyway, so I don't mind the change.

    The original name of the printer was 'assigned' initial installation when I used the 'wifi' on the printer and the router button. But as these buttons no longer worked to solve the problem, the manual installation using the cable has solved my problem.

    I did not bother to try to download the latest drivers from their web site, to see if that was the problem, because when I tried to use the driver that I already "knew" worked with my current setup of troubleshooting. I can update my driver someday, when I am willing that my printer stops working again. But, for now "if it's not broken, do not fix."   :-)

  • Battery error HP G62 and not work on DC only

    Hello

    I'm trying to fix my girlfriends laptop with no luck. Laptop is out of warranty, as it is 2 years old. It is a model of HP G62 running Windows 7

    If I turn on the laptop with battery and AC connected, the battery in the tool bar icon indicates the laptop is not connected to the power supply. Laptop will work very well for 5 minutes, sometimes for an hour and all of a sudden it shut down.

    If I try and put it back on it does not work. I have to leave a few minutes (I guess for load) and then it would still work for a short period.

    If I remove the battery and turn it on with just the adapter, the same thing would happen. The battery icon would say that there is no paste connected and after a few minutes it turns off.

    For the last few days I also get the following error I turn on the laptop:

    "HP battery alert."

    The system has detected the following battery storage capacity is very low. For optimal performance, this battery will need to be replaced.

    Battery (internal) (601)

    "ENTER - continue starting.

    I did the battery check by pressing F2 that the laptop is turned on and I get the following output:

    "Battery test: primary - secondary replace (42) - DO NOT INSTALLED (60).

    FAILURE ID: PGC621-5336QG-9XL03G-C0EN03

    PRODUCT ID: XC220EA #ABU

    Main battery

    -----------------------------------------------------------

    Battery test: FAILED

    Press ESC (esc) to go to the main menu or click on the button below. »

    I can't make the HP online diagnosis that the laptop goes down the middle of it.

    Does anyone know how this could be repaired?

    Do I need a new battery or mother or else Council?

    Thank you.

    Stefan

    Hi f4n3,.

    Here is a link to a BIOS update that should fix your problem.

    http://h10025.www1.HP.com/ewfrf/WC/softwareDownloadIndex?softwareitem=ob-100738-1&CC=US&DLC=en&LC=en&os=4063&Product=4232511&sw_lang=

    Thank you

  • My simple script do not work, I m missing something fundamental

    Hello.

    I seem to not understand something in PowerCLI scripting. I try to make it as simple as possible, still it does not work.

    When I remove "object-forreach", it works.

    Can someone point out to me what I did wrong?

    Not the $results contains the name, cpu etc?

    $results = @)

    Get - vm | {foreach-object

    $name = $_. Name

    $cpu = $_. NumCpu

    $mem = $_. MemoryGB

    $state = $_. PowerState

    $guest = $_. Comments

    $notes = $_. Notes

    }

    $results | Select name, cpu, mem, status, comments, notes | Export-Csv - NoTypeInformation 'G:\Users\Roosen\PSs\AllVms-Monthly-Report-CPUnRAM.csv '.

    BR

    Kristian

    Here you go

    $results = @)

    Get - VM | {foreach-object

    $info = @{'name' = $_.} Name

    "cpu" = $_. NumCpu

    "mem" = $_. MemoryGB

    'State' = $_. PowerState

    'guest' = $_. Comments

    'notes' = $_. Notes

    }

    $system = new-Object - TypeName PSObject-property $info

    $results += $system

    }

    $results | Select name, cpu, mem, status, comments, notes | Export-Csv - NoTypeInformation 'G:\Users\Roosen\PSs\AllVms-Monthly-Report-CPUnRAM.csv '.

  • Statement simple trace does not work

    This is my first flash site, so I could miss something stupid.

    I appointed a form with name, email and comment window. I coded to tab through and have a button to send with your comments (thank you very much for your answer) etcat end. All looks good but when I tested by the trace statement, it does not work.

    Her I wrote the following two lines in the same file to test:

    var myName:String = "Charlie."

    trace (myname);

    It did not work in my file flash for my site, BUT he traced back to the output window it paste it into a new empty file. What is my file big site which prevents him from tracing? It checks without error and everything looks great.

    Help, please

    You are welcome.

  • Script simple stop will not work - sometimes...

    So I have a couple of flash banner that I do, they are of different sizes of exactly the same thing. I used this script to stop the animation inside a clip called main_ufo on the main timeline:
    _root.main_ufo. Stop();
    _root.main_ufo. Door.gotoAndStop (89);
    _root.main_ufo.outterlights.stop ();
    _root.main_ufo. Lights.Stop ();

    This works on one of the amounts, but won't work on another size. I checked and double checked the publication settings (both are set to Player 6, actionscript 2.0), made sure all movie clips have been appointed properly, and at the time of writing, and I went in every single movie clip if there is no conflict inside them sure scripts. Still nothing. I even copied the video ufo directly from the banner of work and stuck in the banner of non-working and replaced in the library. I tried to change the _root. to this.
    I'm out of ideas. It works on my banner 120 x 600 and does not work on the 728 x 90.
    If I had hair I would officially be out. Open to all ideas/suggestions at all.

    Here's your corrected file: http://www.kglad.com/Files/fov_ufo_728x90_2_4.fla

    you use the same instance name main_ufo on frame 190, at the end of a Tween.

Maybe you are looking for

  • Analog channel scan - skeleton

    Hello I use NEITHER-DAQmx in visual basic to scan 8 channels on a Windows timer component and I'm trying to separate the initialization code of the code for the analysis. The code example lists all the functions I need to call sequences, but it is no

  • HP mini says check Smart hard drive detected an immenent failure

    Went to use my mini and he had a black screen with a warning about the content of backup immediately because it has detected a failure immennent.  It won't let me something but run the proposed test and the test of hard drive has failed in this regar

  • Blank CD not recognized

    Windows Media Player does not recognize my blank CD that I want to burn music.  I can send files of data on a CD, so I know that the CD is good.

  • BB messenger now removed from blackBerry Smartphones, emails do not work.

    These two are connected?  I didn't think they were.  I have just the additional chat feature, so I deleted messenger, but now I'm not receiveing emails (and I don't think that sending works either) my phone. It was a delayed reaction, however.  I del

  • 6 Lightroom is frozen on "do not answer" launch on Windows 8.1

    Hello, I've updated Lightroom 5.6 to 6 on win 8.1.  Version 6 has always been very slow to start, but now it won't start at all.  I get the splash screen, and then it crashes right there with the status "not responding".  How can I fix?  Either way,