Oracle 9.2.0.1 is asserting that 1=2 and also 1=3! Help!?

Guys, take a look at this example:
create table ccb as select 'Edinburgh 1' as client_branch, '90000445' as client_number from dual;
insert into ccb values('Edinburgh 1',90000445);
insert into ccb values('Edinburgh 2',90000452);
insert into ccb values('Edinburgh 3',90000480);
insert into ccb values('Edinburgh 4',90000592);
insert into ccb values('Edinburgh 5',90000621);
select
from
  select
    merchant_number,
    pri,
    count(case when pri = 1 then 1 end) over() as count_pri_one,
    count(case when pri = 2 then 1 end) over() as count_pri_two,
    count(case when pri = 3 then 1 end) over() as count_pri_three,
    case when pri = 1 then 'pri='||pri||' but oracle thinks pri=1?' end as huh1,
    case when pri = 2 then 'pri='||pri||' but oracle thinks pri=2?' end as huh2,
    case when pri = 3 then 'pri='||pri||' but oracle thinks pri=3?' end as huh3,
    case when decode(pri, 1, 'one', 2, 'two', 3, 'three') = 'two' then 'huh?' end
  from
    select
      case
        when lower(ccb.client_branch) like '%edinburgh%' and ccb.client_number = '90000480' then 1
        when ccb.client_number = '90000480' then 2
        when lower(ccb.client_branch) like '%edinburgh%' then 3
      end as Pri,
      ccb.client_number as Merchant_Number
    from
      ccb
    where
      (lower(ccb.client_branch) like '%edinburgh%' or ccb.client_number = '90000480')
);I look up stores and their ID, the most exact match is from name plus ID, then ID alone, then name alone, so this is how the priority is assigned with 1 being the highest and 3 being the lowest
I was then also asked if I could provide a count of all the times a priority 2 or priority 3 comes up. No problem, i'll just count() over() the whole result set, and use a case when to return me something countable when the pri = (what i want) and null otherwise
The values for 2 and 3 priority were all 1 too high. I wrote some test code that just does a case when, and provides a visual compare.
Can someone please tell me why, on the row where pri = 1, the following code returns a true:
CASE WHEN pri = 2 THEN (print a message)
Pri does not equal 2. Pri NEVER equals two in this example. Why does oracle say that pri = 2 is true?
I changed it to use BETWEEN instead of =, now the problem with 2 has gone, but the problem with 3 remains! I'm worried that the database that runs our enterprise cannot compare numbers properly!
select
    merchant_number,
    pri,
    count(case when pri = 1 then 1 end) over() as count_pri_one,
    count(case when pri = 2 then 1 end) over() as count_pri_two,
    count(case when pri = 3 then 1 end) over() as count_pri_three,
    case when pri = 1 then 'pri='||pri||' but oracle thinks pri=1?' end as huh1,
    case when pri = 2 then 'pri='||pri||' but oracle thinks pri=2?' end as huh2,
    case when pri = 3 then 'pri='||pri||' but oracle thinks pri=3?' end as huh3,
    case when pri between 0.9 and 1.1 then 'pri='||pri||' but oracle thinks pri in range 0.9 - 1.1?' end as huh1,
    case when pri between 1.9 and 2.1 then 'pri='||pri||' but oracle thinks in range 1.9 - 2.1?' end as huh2,
    case when pri between 2.9 and 3.1 then 'pri='||pri||' but oracle thinks in range 2.9 - 3.1?' end as huh3,
    case when decode(pri, 1, 'one', 2, 'two', 3, 'three') = 'two' then 'huh?' end
  from
    select
      case
        when lower(ccb.client_branch) like '%edinburgh%' and ccb.client_number = '90000480' then 1
        when ccb.client_number = '90000480' then 2
        when lower(ccb.client_branch) like '%edinburgh%' then 3
      end as Pri,
      ccb.client_number as Merchant_Number
    from
      ccb
    where
      (lower(ccb.client_branch) like '%edinburgh%' or ccb.client_number = '90000480')
  )here is the result:
MERCHANT_NUMBER  PRICOUNT_PRI_ONE  COUNT_PRI_TWO  COUNT_PRI_THREE  HUH1                               HUH2                               HUH3                               HUH1                                                   HUH2 HUH3                                       
90000445         3  1              1              5                                                                                      pri=3 but oracle thinks pri=3?                                                                 pri=3 but oracle thinks in range 2.9 - 3.1?
90000452         3  1              1              5                                                                                      pri=3 but oracle thinks pri=3?                                                                 pri=3 but oracle thinks in range 2.9 - 3.1?
90000480         1  1              1              5                pri=1 but oracle thinks pri=1?     pri=1 but oracle thinks pri=2?     pri=1 but oracle thinks pri=3?     pri=1 but oracle thinks pri in range 0.9 - 1.1?             pri=1 but oracle thinks in range 2.9 - 3.1?
90000592         3  1              1              5                                                                                      pri=3 but oracle thinks pri=3?                                                                 pri=3 but oracle thinks in range 2.9 - 3.1?
90000621         3  1              1              5                                                                                      pri=3 but oracle thinks pri=3?                                                                 pri=3 but oracle thinks in range 2.9 - 3.1? Edited by: charred on Sep 3, 2008 5:27 AM
Edited by: charred on Sep 3, 2008 5:43 AM

Can't understand your problem.
This is the output I get
SQL> set linesize 2000
SQL> r
  1  select
  2    *
  3  from
  4  (
  5    select
  6      merchant_number,
  7      pri,
  8      count(case when pri = 1 then 1 end) over() as count_pri_one,
  9      count(case when pri = 2 then 1 end) over() as count_pri_two,
10      count(case when pri = 3 then 1 end) over() as count_pri_three,
11      case when pri = 1 then 'pri='||pri||' but oracle thinks pri=1?' end as huh1,
12      case when pri = 2 then 'pri='||pri||' but oracle thinks pri=2?' end as huh2,
13      case when pri = 3 then 'pri='||pri||' but oracle thinks pri=3?' end as huh3,
14      case when decode(pri, 1, 'one', 2, 'two', 3, 'three') = 'two' then 'huh?' end
15    from
16    (
17      select
18        case
19          when lower(ccb.client_branch) like '%edinburgh%' and ccb.client_number = '90000480' then 1
20          when ccb.client_number = '90000480' then 2
21          when lower(ccb.client_branch) like '%edinburgh%' then 3
22        end as Pri,
23        ccb.client_number as Merchant_Number
24       from ccb
25      where
26        (lower(ccb.client_branch) like '%edinburgh%' or ccb.client_number = '90000480')
27    )
28* )
MERCHANT        PRI COUNT_PRI_ONE COUNT_PRI_TWO COUNT_PRI_THREE HUH1                                                                  HUH2                                                                  HUH3                                                                  CASE
90000445          3             1             0               5                                                                                                                                             pri=3 but oracle thinks pri=3?
90000445          3             1             0               5                                                                                                                                             pri=3 but oracle thinks pri=3?
90000452          3             1             0               5                                                                                                                                             pri=3 but oracle thinks pri=3?
90000480          1             1             0               5 pri=1 but oracle thinks pri=1?
90000592          3             1             0               5                                                                                                                                             pri=3 but oracle thinks pri=3?
90000621          3             1             0               5                                                                                                                                             pri=3 but oracle thinks pri=3?
6 rows selected.what is wrong with it?

Similar Messages

  • I ran out of storage for backup. I deleted 1/2 of my pics that was on my iphone and all the videos that I had and also Apps I haven't used in awhile.  I still get a message that I can't backup my phone or Ipad.  What else can I do?

    I ran out of storage for backup.  I followed the website directions and delted 1/2 of mmy pics, all my videos and the Apps I haven't used in a while.  What else can I do?

    Hello Terri0125,
    Thank you for using Apple Support Communities!
    You have a couple of options here. First you can use this article to manage your iCloud storage:
    iCloud: Managing your iCloud storage
    http://support.apple.com/kb/ht4847
    You can manage the storage either from your device, or from a computer. Whichever is more convenient for you.
    You can also backup your device to iTunes for a local backup if you want.
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Take care,
    Sterling

  • HT3775 i need help as i'm new to iMac and still getting used to the thing. i keep trying to play stuff, movies that ive downloaded and also pictures that ive put into slideshows but keep getting told i dont have the right codec and things won,t play.

    i need to know how to get the correct formats or codecs on my iMac so i can play things back.
    please help a very confused 40 year old technophobe.

    Ap_Compsci_student_13 wrote:
    ok sorry but doesn't sscce say to post the whole code?the first S is Short, and yes, it needs to be all the code needed to illustrate the problem and let use reproduce it. If you were developing a new Web framework, your example might be short, but for a student game it's very long.

  • How to improve Oracle Veridata Compair pair performance with tables that have big (30-40MB)CLOB/BLOB fileds ?

    How to improve Oracle Veridata Compair pair performance with tables that have big (30-40MB)CLOB/BLOB fileds ?

    Can you use insert .. returning .. so you do not have to select the empty_clob back out.
    [I have a similar problem but I do not know the primary key to select on, I am really looking for an atomic insert and fill clob mechanism, somone said you can create a clob fill it and use that in the insert, but I have not seen an example yet.]

  • How can I use TopLink for querys that have two and more tables?

    I use TopLink today, and I can use one table to query, but how can I use TopLink for querys that have two and more tables?
    Thank you for see and answer this question.

    You can write a custom SQL query and map it to an object as needed. You can also use the Toplink query language "anyOf" or "get" commands to map two tables as long as you map them as one to one (get command) or one to many (anyOf command) in the toplink mapping workbench.
    Zev.
    check out oracle.toplink.expressions.Expression in the 10.1.3 API

  • ATTN: Oracle North American Payroll Customers:End of Year Phase 1 and Q3...

    ATTN: Oracle North American Payroll Customers: End of Year Phase 1 and Q3 2007 Statutory Update Released!
    Dear Oracle North American HCM Customer,
    North American End of Year Phase 1 and the United States (US) Third
    Quarter Statutory Updates (Q3), 2007 have been released!
    US Q3 2007 Statutory Update patch numbers:
    * R11i: 6155000
    * R12: 6155000
    *Note – FPK RUP2 is not required for the US Q3 2007 Statutory Update
    End of Year Phase 1 (includes Q3 Statutory Update) patch numbers:
    · R11i: 6133333
    * R12: 6133333 (targetted for October 8th release)
    We would like to make you aware of several important points. Please read
    this entire note carefully.
    1. US Q3 2007 Statutory Update highlights
    2. End of Year Phase 1 highlights
    3. Other Important Notes
    4. Lifetime Support Policy: Coverage for Applications
    5. R11i HRMS Product Information
    6. Payroll Recommended Patches
    7. HR Recommended Patches
    8. Other Information
    A. US Q3 2007 Statutory Update highlights
    * JIT and School District Updates
    * Miscellaneous Statutory Bug Fixes
    Please see the readmes on Metalink for full details:
    3rd Qtr 2007 US Payroll Readme for Rel 11i – Note: 458431.1
    B. End of Year Phase 1 highlights
    US:
    * JIT/Geocode updates
    * Annual Geocode Patch Released
    o Patch 6117000 11i one-off released 04-Sep-2007
    o Included in EOY Phase 1
    o Readme Note: 456835.1
    * Wage Accumulation
    o Significant enhancement to the way the application
    accumulates wages for reporting
    o Joint project with Vertex to enhance processing of
    reciprocity rules at state and local levels
    o Changes within the Vertex engine allow for improved handling
    of multiple work jurisdictions
    o Provides users with the ability to control how work taxes
    affect taxes at residence locations and if wages should be
    accumulated at employee’s residence location
    o Readme Note: 460678.1
    o
    Note:
    Quantum 2.9.1 will be the pre-requisite for End of Year 2007 processing
    Additional Updates included in 2.9.1:
    o 5520588 – Resident State Tax Not given credit for Work State
    County Tax Withheld (Lives in NY works where ‘local’ tax is
    withheld)
    o 5897764 - FIT W/H Should be 35% After $1M Supplemental Wages
    even if Employee is Exempt
    o 5937604 - Delaware state income tax is being over-withheld
    on the second (and subsequent) supplemental payments in the
    same pay period.
    o 5730236 - YTD EI Deduction Stopped at 729.29 INSTEAD OF 729.30
    Evergreen Forms:
    The following forms are available from Evergreen for W-2s and 1099-Rs
    · Blank perforated W-2 #5208 Window envelope 4444-1
    · Blank perforated 1099-R #5179 Window envelope 6161-1
    · Preprinted W-2 #5218 Window envelope 5151-1
    · Preprinted 1099-R #7159-4 Window envelope 7777-1
    **Note: This is the last year we will support the preprinted W-2 and
    1099R. For EOY 2008 we will only support the pdf version of these two
    reports that print on blank forms.
    Customers can order forms at 800-248-2898 or go to www.evergrn.com
    <http://www.evergrn.com>
    RR Donnelley (formerly Moore) Forms:
    The following forms are available from RR Donnelley (formerly Moore) for
    W-2s and 1099-Rs
    * Blank perforated W-2 (with printed instructions on back) -
    LW28700BW (50 PK)
    * Blank perforated W-2 (with printed instructions on back) -
    LW28700B (2000 BULK)
    * Blank perforated W-2 (blank on back) - LW28700BLANKW (50 PK)
    * Blank perforated W-2 (blank on back) - LW28700BLANK (2000 BULK)
    * Window envelope for W-2 - 7987E
    * Blank perforated 1099R (with printed instructions on back) -LR4UPB
    (50 PK)
    * Blank perforated 1099R (with printed instructions on back)
    LR4UPBBULK (2000 BULK)
    * Blank perforated 1099R (blank on back) - L4UPBLANK (50 PK)
    * Blank perforated 1099R (blank on back) - L4UPBLANKBULK (2000 BULK)
    * Window envelope for 1099R - DW4ALT
    Customers can order forms at 877-526-3885 – reference Oracle customer #
    521836
    Canada:
    * Miscellaneous Bug Fixes
    Mexico:
    * Miscellaneous Bug Fixes
    Please see the readme on Metalink for full details:
    US 2007 Payroll Year End Phase 1 Readme Rel 11i Note 456990.1
    US 2007 Payroll Year End Phase 1 Readme Rel 12Note 456991.1
    MX 2007 Payroll Year End Phase 1 Readme Rel 11i NOTE.458559.1
    MX 2007 Payroll Year End Phase 1 Readme Rel 12 NOTE.458566.1
    CA 2007 Payroll Year End Phase 1 Readme Rel 11i NOTE.458561.1
    CA 2007 Payroll Year End Phase 1 Readme Rel 12 NOTE.458563.1
    C. Other Important Notes
    US Check/Deposit Advice XML
    There are some additional dependencies for this patch that were not
    originally communicated. Applying the EOY Phase 1 patch first satisfies
    these dependencies. If there is a need to apply this patch prior to
    applying EOY Phase 1 we are exploring possible alternative
    pre-requisites and will send out a notice late next week with more
    information.
    * 11i one-off Patch 6399100 released 21-Sep-2007
    * R12 will be part of Release Update (RUP) 12.0.4
    Oracle will de-support the Live Checkwriter and Deposit Advice for US
    and Canada beginning with 2007 EOY Phase 1. Archive Checkwriter and
    Deposit Advice will continue to be supported. What this means is that
    new code changes and bug fixes will not be tested on the Live
    Checkwriter and Deposit Advice. Additionally, enhancements made to the
    Archive version will NOT be made for the Live version.
    Desupport of Standard Tax Interface
    Oracle no longer supports the Standard Tax interface. Taxes will
    continue to be calculated and tax rate changes from the Vertex Data
    Updates will continue. New code changes and bug fixes will not be tested
    on the Standard Interface and we cannot guarantee that all functionality
    will continue to work. Additionally, enhancements made to taxes will NOT
    be made for the Standard Tax Interface. We strongly recommend that you
    upgrade immediately to the Enhanced Tax interface.
    Vertex Customer Café:
    The Customer Café is a comprehensive online information source
    specifically for Vertex customers. It’s easier than ever to get the
    support and information you need to maximize your investment in Vertex
    products. Some of the many benefits to using the Customer Café include:
    o Access to monthly data download files, release bulletins, schedules
    and considerations.
    o Early notification bulletins, late rate notifications, and support
    notices.
    o Online Knowledge Center that provides quick answers to questions and
    issues.
    o Online inquiry submission
    o Access to fully-indexed online documentation for all Vertex software
    products.
    o Easy access to Vertex software training information and registration.
    To register for the Customer Café, just visit the Vertex website at
    www.vertexinc.com <http://www.vertexinc.com/>.
    Year End Information for Payroll:
    Family pack K rollup 2 (5337777) is mandatory for R11i Year End and is a
    pre-requisite for Year End Phase 1. This patch was released on Friday,
    June 22, 2007.
    The R12 RUP (12.0.2) is mandatory for year end for R12
    For the complete R12 Payroll Mandatory Patch List see Metalink Note 386434.1
    For the complete R11i Payroll Mandatory Patch List see Metalink Note
    111499.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=111499.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=111499.1>>
    For additional non-mandatory North American Payroll patches see Metalink
    Note 74292.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=74292.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=74292.1>>
    D. Lifetime Support Policy: Coverage for Applications
    Important Reminder:
    Please pay attention to the Oracle E-Business Suite Support dates for
    your point release. Statutory or regulatory updates are not available
    beyond the ‘Extended Support Date’.
    11.5.7 came out of Premier Support in May 2007
    11.5.8 will come out of Premier Support in Nov 2007
    11.5.9 will come out of Premier Support in Jun 2008
    Extended Support has not been offered for 11.5.7, 11.5.8 or 11.5.9
    Premier and Extended Support include - Tax legal and regulatory updates
    Sustaining Support Does NOT include new tax, legal, and regulatory updates.
    For the full definitions of what this means to an 11.5.7/11.5.8 customer
    please read the full fact sheet available at:-
    http://www.oracle.com/support/library/data-sheet/oracle-lifetime-support-policy-datasheet.pdf
    *NOTE: For 2007 Payroll Year End, minimally you will need to be on 11.5.9.
    E. R11i HRMS Product Information
    For the latest Oracle HRMS Product Family - Release 11i Information,
    please see Metalink Note:135266.1
    This page contains important information including:
    * High Priority Alerts
    * Mandatory Patches
    * Family Packs and Minipacks
    * Latest Legislative Data - hrglobal.drv
    * Maintenance Pack Information
    F. Payroll Recommended Patches
    The Payroll recommended patch spreadsheet Metalink Note 74292.1 contains
    additional features and functions.
    G. HR Recommended Patches
    The HR Recommended spreadsheet contains a list of patches needed to be
    in compliance for HR Statutory reporting i.e. EEO-1, VETS-100 etc.
    The spreadsheet is located on Metalink in Note number: 273196.1
    H. Other Information
    1. MetaLink - http://metalink.oracle.com <http://metalink.oracle.com/>
    <http://metalink.oracle.com/>
    MetaLink is a customer resource provided by Oracle World-wide Support.
    The Applications section of Metalink contains all the latest product
    documentation and documentation updates for Oracle’s products.
    2. Payroll World
    Payroll World is an email distribution list for North American Oracle
    Payroll customers used to quickly disseminate information regarding
    product updates, patches, and statutory changes. To be added to this
    email distribution list, send e-mail to: [email protected]
    <mailto:[email protected]>
    Subject: Oracle North American Payroll World Contact Update with your
    contact name, CSI number, and company name
    3. Metalink Service Request profiles:
    Please update all Service Request profiles on Metalink with any updates
    to Database Version, Product Version, and/or contact information
    Metalink->UserProfile button
    4. Information for NEW North American Payroll customers:
    A pamphlet is available for all North American Payroll customers
    explaining Vertex, Payroll World, SIG's, etc.
    The North American Payroll Handout document can be located in Metalink
    Note 316077.1

    Chris,
    If you are referring to (Patch 7395025 - Q3 2008 JIT SQWL UPDATE FOR R11I), then you can apply it on 11.5.9. Just make sure you have all pre-req. patches applied.
    Note: 737173.1 - 2008 US Payroll Year End Phase 1 Readme Rel 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=737173.1

  • Oracle 10g Rel2(10.2.0.3) on Vista ultimate driving me crazy, Please HELP

    Hello Folks and Expert,
    I am Certified Ora DBA and am stuck, thats a shame
    I am going to install and Test Oracle 10g on Vista as my future client will use Just Vista and no othr OS, so there is no OTHER OS options,
    I ready all the documentaiotn and release notes and also read that Oracle 10g(10.2.0.3) is certified on Vita Ultimate.
    I downloaded the DB which is frm the below link:
    Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista and Windows 2008
    *** It installs but it justdoesn't work properly, PLEASE HEEEEEEELP I am running out of time.
    steps I have done:
    1. Installed loppback and tested and it works when I ping, both ping computer and ping computer.domain with no error.
    - whic means under windows>system32>driver> etc>host I added the 10.10.10.10 and cmputer name.
    2. Under MMC I added cmputer local policy for local computer
    3. Also Under "Local security setting" under "Local Policies" Under "User right Assignment" Under "Log on as a Batch job" I added the User name which was created when weload the Vista for the first time which is the Computer Admin, ALSO REALOADED THE COMPUTER WITH TH FACTORY SETTING AND AFTER THE FIST BOOT, UNLOCKED THE "ADMINISTRATOR" USER OF THE OS AND TESTED WITH THE ADMIN USER AS WELL WHICH WAS ADDED TO THIS lOG ON AS A BATCH JOB.
    4. Restarted the Computer on all the step that I had to
    5. Downloaded the DB and installed the DB, it installled without any Error
    ******************My Questions are as belooooowww ******************
    When Oracle installd he prduct, usually under the
    Start menu> All programs we should have 4 folders (Application Development, Configuration and Migration, Integrated management tools, Oralce installlation products) and DATABASE CONTROL - ORCL
    a - when installation finishesh it JSUT DOESN't CREATE ------> DATABASE CONTROL - ORCL Whyyyyy ? (It is driving me crazy, I have another xp machine and it has also I had EVEN Vista Home premium and I was able to install on it before to test)
    b - I can loging to the database after i type the adress I remembered manually in the browser, it logs in without any errror, but
    When I want to shutdown the database It passes the host crendential once and I wait and it does nothing and a little windown pops up and says
    *"Enterprise manager stopped working"*
    C - To test and stop Listener also it just doesn't stop it and doest the samething,
    I just wannna CRYYY, it is getting me Crazy,
    PLEASE HELP ME with all THREE QUESTONS A,B,C PLEASE HELLLLLLPPPPP
    Rgrds,

    Hello Folks and Expert,
    I am Certified Ora DBA and am stuck, thats a shame
    I am going to install and Test Oracle 10g on Vista as my future client will use Just Vista and no othr OS, so there is no OTHER OS options,
    I ready all the documentaiotn and release notes and also read that Oracle 10g(10.2.0.3) is certified on Vita Ultimate.
    I downloaded the DB which is frm the below link:
    Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista and Windows 2008
    *** It installs but it justdoesn't work properly, PLEASE HEEEEEEELP I am running out of time.
    steps I have done:
    1. Installed loppback and tested and it works when I ping, both ping computer and ping computer.domain with no error.
    - whic means under windows>system32>driver> etc>host I added the 10.10.10.10 and cmputer name.
    2. Under MMC I added cmputer local policy for local computer
    3. Also Under "Local security setting" under "Local Policies" Under "User right Assignment" Under "Log on as a Batch job" I added the User name which was created when weload the Vista for the first time which is the Computer Admin, ALSO REALOADED THE COMPUTER WITH TH FACTORY SETTING AND AFTER THE FIST BOOT, UNLOCKED THE "ADMINISTRATOR" USER OF THE OS AND TESTED WITH THE ADMIN USER AS WELL WHICH WAS ADDED TO THIS lOG ON AS A BATCH JOB.
    4. Restarted the Computer on all the step that I had to
    5. Downloaded the DB and installed the DB, it installled without any Error
    ******************My Questions are as belooooowww ******************
    When Oracle installd he prduct, usually under the
    Start menu> All programs we should have 4 folders (Application Development, Configuration and Migration, Integrated management tools, Oralce installlation products) and DATABASE CONTROL - ORCL
    a - when installation finishesh it JSUT DOESN't CREATE ------> DATABASE CONTROL - ORCL Whyyyyy ? (It is driving me crazy, I have another xp machine and it has also I had EVEN Vista Home premium and I was able to install on it before to test)
    b - I can loging to the database after i type the adress I remembered manually in the browser, it logs in without any errror, but
    When I want to shutdown the database It passes the host crendential once and I wait and it does nothing and a little windown pops up and says
    *"Enterprise manager stopped working"*
    C - To test and stop Listener also it just doesn't stop it and doest the samething,
    I just wannna CRYYY, it is getting me Crazy,
    PLEASE HELP ME with all THREE QUESTONS A,B,C PLEASE HELLLLLLPPPPP
    Rgrds,

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • ORACLE RAC 10g 10.2  on linux_86  linux1(node1) rebooted and crs stop

    hi
    i am a little bit new in rac world
    i am 100% following the otn.oracle.com (build your own rac on iscsi)
    power surge and linux1 was down
    please some body help me to bring it back i am facing one error
    PRKH-1010 : Unable to communicate with CRS services.and
    linux1:orcl1:/u01/app/crs/bin:>crs_stat
    CRS-0184: Cannot communicate with the CRS daemon.
    Result of CLUVRFY utility
    System requirement failed for 'database'
    Checking CRS integrity...
    Checking daemon liveness...
    Check: Liveness for "CRS daemon"
    Node Name Running
    linux4 yes
    linux1 no
    Result: Liveness check failed for "CRS daemon".
    Checking daemon liveness...
    Check: Liveness for "CSS daemon"
    Node Name Running
    linux4 yes
    linux1 no
    Result: Liveness check failed for "CSS daemon".
    Checking daemon liveness...
    Check: Liveness for "EVM daemon"
    Node Name Running
    linux4 yes
    linux1 no
    Result: Liveness check failed for "EVM daemon".
    Liveness of all the daemons
    Node Name CRS daemon CSS daemon EVM daemon
    linux4 yes yes yes
    linux1 no no no
    Checking CRS health...
    Check: Health of CRS
    Node Name CRS OK?
    linux4 yes
    Result: CRS health check passed.
    CRS integrity check failed.
    Checking node application existence...
    Checking existence of VIP node application
    Node Name Required Status Comment
    linux4 yes exists passed
    linux1 yes exists passed
    Result: Check passed.
    Checking existence of ONS node application
    Node Name Required Status Comment
    linux4 no exists passed
    linux1 no exists passed
    Result: Check passed.
    Checking existence of GSD node application
    Node Name Required Status Comment
    linux4 no exists passed
    linux1 no exists passed
    Result: Check passed.
    Message was edited by:
    shakil_zubair
    Message was edited by:
    shakil_zubair

    In addition to Chandra's steps , also make sure that the Shared Voting and OCR disks are visible from Linux1 and have the same device mappings as were before the Node reboot.
    If the CRS stack fails to come up , you should be looking at the
    following files to start with :
    a) The OS Messages file to check if there are any messages logged from the
    the time when you attempted to start the stack manually.
    b) The /tmp mountpoint sometimes contains files names crsctl* which could
    also indicate what the problem is.
    c) The logs under
    $ORA_CRS_HOME/log/<nodename>/ocssd
    $ORA_CRS_HOME/log/<nodename>/crsd
    $ORA_CRS_HOME/log/<nodename>/client
    Let's know if there are any messages in these files which might help us analyze
    this further.
    Vishwa

  • Oracle HTTP server could not be started.. Urgent....  help me!!!

    Dear oracle professionals,
    I've installed 9iAS in my win2000 server. and it was working well but yesterday when i started my oracle http server service it says the following error in a message box,
    "Apache.Exe - Entry point not found
    The procedure entry point OCIUserCallBackRegister could not be located in the dynamic link library OCI.dll "
    and service failed without starting. my day to day operations in this server have been stopped now. anybody can help me noww????
    Thanks in advance!!
    Kathir

    Hi,
    what's the version of iAS you are using. If it is iAS v2, you shouldn't start / stop HTTP server stand-alone. You should use opmnctl script $ORCALE_HOME/opmn/bin. This "opmn" service is also listed in you win*2000 machines service list.
    Hope that helps.
    Ved

  • Can I cluster a web app that uses Spring and iBATIS?

    I have a web app that uses Spring and iBATIS. It runs great on a single server. I am now trying to get it to run in a cluster. I went through the code and made all the classes serializable. Also, I added the distributable tag to the web.xml. I then deployed it to two clustered app servers.
    When I logon and use the web app, everything goes well. Then, as a test, I determine which app server is being used and stop the web app on it. As I try to continue my session, the following exceptions are generated from the other node:
    java.lang.IllegalArgumentException: No SqlMapClient specified.
    The exception is being thrown from the Spring code. Is there something else I need to do to get Spring and iBatis to work in a clustered environment.
    Also, I see a lot of references to Terracotta as a clustering solution. Will Terracotta work with Oracle App Server?

    Thanks for the response.
    I think my session information is being shared. I've configured the default application in my OC4J configured for peer-to-peer clustering. Before I did this, if I shut down the instance I was using, it would fail-over to the other application server but my session would be gone and I would be forced to logon again. But once I was logged on, everything ran smoothly.

  • Which cluster attribute should you modify to ensure that load balancing and

    An EJB is targeted to a cluster. Remote EJB clients can therefore take advantage of WebLogic Server’s load balancing and failover capabilities.
    However, a proxy server exists between the clients and cluster, which performs IP address transaction.
    Which cluster attribute should you modify to ensure that load balancing and failover work correctly?
    A. Multicast Address
    B. Persistent Store
    C. Cluster Address
    D. Migration Basis
    E. Replication Channel

    http://docs.oracle.com/cd/E13222_01/wls/docs81/config_xml/Cluster.html
    Cluster address

  • Importing data from Microsoft excel file to Oracle Database with Multiple Data Tables. Need expert advice and guidance

    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this

    e90f478a-c529-4c48-b189-51eebeaed477 wrote:
    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this
    We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
    We don't know where you posted said query.
    We don't know what "some answer and reference" you received "from the forum."
    We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
    So on what basis are we supposed to "help or direct" to "to an expert that can help "?

  • How do I delete "My Web Search" toolbar that just appeared and where did it come from?

    how do I delete "My Web Search" toolbar that just appeared and where did it come from?

    You have an item installed that is considered malware/spyware/adware. To see the Plugins reported with your question, click "More system details..." to the right of your original question or, on the Firefox menu, click Tools > Add-ons > Plugins.
    *My Web Search Plugin Stub for 32-bit Windows
    This type of pest is usually installed along with software you download from the internet; generally free programs, but not always. Carefully watch for "extra" items that will be installed and un-check or opt-out of them.
    #You can check to see if you have any of these from [http://www.google.com/search?q=%22Fun+Web+Products%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-ES:official&client=firefox-a|"Fun Web Products"] installed:
    #*Control Panel > Add or Remove Programs, click on any that you find and click "Remove": Ask.com Bar, My Search Bar, MyWay Speed Bar, My Web Search Bar, Fun Web Products Easy Installer
    #*See:
    #**http://www.safer-networking.com/removemywebsearch.php
    #**[http://www.pchell.com/support/mywebsearch.shtml PC Hell: My Web Search Removal Instructions]
    #**http://helpint.mywebsearch.com/intlinfo/help/toolhelp.jhtml#q3
    #Also see: http://kb.mozillazine.org/Uninstalling_toolbars
    #'''<u>You '''MAY''' need to change a preference</u>''' if when typing one or two words in the URL/Location/Address Bar sends you to some search page other than the one you expect. To reset your default URL/location bar search provider:
    #*Enter '''about:config''' in the address/URL bar and press the Enter key
    #*If you see a warning, accept it (Promise that you will be careful)
    #*Filter = keyword.URL
    #*Below the Filter, if keyword.URL is '''bold''', right-click on keyword.URL and choose "Reset"
    #*Restart Firefox (File > Restart Firefox)
    #*See: http://kb.mozillazine.org/Keyword.url
    #'''<u>You '''MAY''' need to reset your homepage</u>''' if some search page that you do not want or expect opens when you start Firefox. Firefox can open multiple home pages. Home pages are separated by the "|" symbol.
    #*See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe Shockwave for Director Netscape plug-in, version 10.1
    *Adobe PDF Plug-In For Firefox and Netscape 8.2.6
    **Very old version. You may want to remove/un-install in Control Panel > Add or Remove Programs before installing the new version.
    **Current versions are 9.2.4 and 10.0.1
    **Info about version 10:
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Shockwave Flash 10.1 r102
    *Next Generation Java Plug-in 1.6.0_22 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Two iTunes movies that I purchased and downloaded to my iPhone do not show up when I try to sync to iTunes on my iMac.

    I purchased the X-Men Bundle of 5 movies. I downloaded the first 3 onto my iPhone. Only 1 of the 3 (the first film) shows up as an option to sync to iTunes on my iMac. I do it this way because I have access to free hi-speed wifi at work but not at home.
    I have verified that the other 2 films are actually on the phone and will play on the phone.
    I have tried various settings and restarted both devices but to no avail.

    Thanks Alex! That did the trick! I just saw your reply. I thought no one had replied because I did not get an email alert. I think I had turned that feature off and forgot I had done so. Now it seems so obvious but for some reason I didn't look there. This is a big help. I can download stuff at work but at home I have only cellular data using a mobile wi-fi device and downloading movies, especially HD movies is just not an affordable option. Taking my iMac to the office would be crazy. I downloaded only my MacBook Air and copied the files onto a thumb drive but those were not recognized. I was at my wit's end. Thanks again!

Maybe you are looking for