Merge Statement !!!! difference in Oracle 9i and Oracle XE

Hi All ,
I am using a Merge statement for multiplying a column......which works fine in XE but not in Oracle 9i
CODE
*======*
MERGE INTO MULTIPLY T USING
(SELECT CONV,ITEM FROM MULTIPLY WHERE TYP='P') X ON
(T.ITEM= X.ITEM)
WHEN MATCHED THEN UPDATE SET T.CONV =X.CONV * T.CONV WHERE TYP!='P'
What shud I need to do in order to get the same result in Oracle 9i.....
I understand that I used use one more line WHEN NOT MATCHED ..... but I am getting an Error in the Update statement where clause , whether it is not possible to combine where clause in the Merge statement
Sample data:
ITM     CONV     TYP
===============
A     2     
A     5     
A     4     P
A     2     
Output; which I am getting in Oracle XE but not in Oracle 9i
======================================
ITM CONV TYP
=== ==== =====
A 2 *4
A 5 *4
A 4 P
A 2*4
BANNER
==========
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE     10.2.0.1.0     Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
BANNER_
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
PL/SQL Release 9.2.0.5.0 - Production
CORE     9.2.0.6.0     Production
TNS for 32-bit Windows: Version 9.2.0.5.0 - Production
NLSRTL Version 9.2.0.5.0 - Production
Can you please guide me on this
Thanks
Ananda
Edited by: Ananda on Nov 13, 2008 3:49 PM
Edited by: Ananda on Nov 13, 2008 8:56 PM

Hi ,
Thanks for ur reply....
I am getting an Error as Missing Keyword and points to the WHERE in the update statement ..............
Am i doin anything wrong here in the syntax ...........but if i do the same without the where statement in Update ....... Merge works fine but with wrong output
Thanks
Ananda
Edited by: Ananda on Nov 13, 2008 4:06 PM

Similar Messages

  • Select query differences between oracle 9 and oracle 8.

    Hi,
    I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
    ex:
    With oracle7
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP 'CHAMP
    champ1 champ2
    With Oracle 9
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP1' 'CHAMP2'
    champ1 champ2
    So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
    Thanx.

    Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
    This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
    My suggestion is -> First Go through the basics Of SQL in general.
    Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
    And, finally learn the advanced commands of that DB.
    You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
    Anyway,
    You can get the quite familier output by first type the following command ->
    set lin 310Regards.
    Satyaki De.

  • What are the major differences between oracle 10g and oracle express 10g

    Hi
    Can anyone tell, What are the major differences between[b] oracle 10g and oracle express 10g.
    Or if you know any URL, then please do let me know.
    Advance Thanks
    JC

    Dear sir,
    here it is.
    http://www.oracle.com/database/product_editions.html

  • Differences in NLS_LANGWE8ISO8859 between Oracle 8i and Oracle 9i or higher

    Are there any differences in NLS_LANG WE8ISO8859P1between Oracle 8i and Oracle 9i or higher?
    please, there is a document that explains what.
    thank you very much.

    Ok,      
    I want to know whether there was any difference when using this NLS_LANG between 8 and oracle 9.
    I read many documet about unicode, but i want to know this question.
    If NLS_LANG is a standard there isn´t changes between the to versions.

  • Differences between Oracle BAM and Oracle BI and Question BAM  Data Objects

    Hi,
    I have two questions.
    1. Can someone tell me differences between Oracle BAM and Oracle BI?
    My understanding about Oracle BAM is, we use BAM to build Dashboards or Reports.
    We can also build DashBoards or reports using Oracle BI.
    I am not able to understand why Oracle has two tools for same purpose?
    Which tool is more powerful and user friendly(Oracle BI or Oracle BAM)?
    2. Every time we plan to develop Dashboard or report in BAM, we need to create BAM ADC Data Object to store Data (i.e first step is to get data from external database or application and second step is to store data in BAM ADC data object).
    My understanding is we have an extra step(i.e creating Data Object) in Oracle BAM to develop a report or DashBoard
    I am wrong pl correct me?
    Regards,
    Shanti Nagulapalli.

    Oracle 11g has many advanced features in PL/SQL over Oracle 9i.
    refer here,
    http://www.oracle.com/technetwork/database/features/manageability/9i-to-11g-real-world-customer-exper-133754.pdf
    http://www.oracle.com/global/de/upgradecommunity/artikel/upgrade11gr2_workshop2.pdf
    http://www.compuworks.com/events/view/233.pdf
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D52601GC10&p_org_id=15942&lang=US
    Thanks

  • Architectural Difference between Oracle 8i and Oracle 9i

    hello there
    anybody can tell me precisely what is the architecture difference in Oracle 8i and Oracle 9i.
    or provide me the link where i can get it.
    waiting for reply

    What do you mean by "architectural differences"? Fundamentally, Oracle architecture hasn't changed a whole lot in a couple of decades. Certain implementations within the overall Oracle architecture will change over time, normally to support some new feature.
    Locally managed tablespaces, for example, automatic segment space management, and automatic extent allocation are pretty important new features, but they don't fundamentally change the architecture of allocating space for objects to store data.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Difference between oracle 8i and oracle 10g

    Hi,
    i need to know the difference between oracle 8i and oracle 10g. Also, to know the depreciated and delimited features in oracle 10g, as compared to oracle 8i.
    Earlier response is appreciated.

    Differences between 9i and 10g are detailed here: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    Differences between 9i and 8i are detailed here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm

  • Is any difference in oracle 11i and oracle 12 interfaces tables

    Dear All,
    Can someone tells me .. Is any difference in oracle 11i and oracle R12 interface tables?? My company want to upgrade Oracle 11i to EBS R12
    PS
    Edited by: PS on Jul 13, 2012 3:07 PM

    Please also see:
    Identifying Data Model Changes Between EBS 12.1.3 and Prior EBS Releases
    https://blogs.oracle.com/stevenChan/entry/ebs_data_model_1213
    EBS File Comparison Report Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_file_comparison_report_now
    EBS Seed Data Comparison Reports Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_seed_data_comparison_reports
    Thanks,
    Hussein

  • What are major differences between SAP BI and Oracle BI?

    Hi Experts,
    I am new to Oracle BI. But I want to know about major differences between SAP BI and Oracle BI?.
    Please help me....
    Thanks & Regards,
    A. kavya kumari.

    There are at least five major differences :
    S P O r c l e
    but important to also be aware of the minor difference:
    A/a

  • What is Difference between ANSI SQL and ORACLE SQL

    Hi,
    I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL?
    I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both.
    Thanks
    Merina Roslin

    Basically there is syntax difference between both of them.
    Lets say i want to join two table EMP and DEPT based on DEPTNO.
    With Oracle SQL format its like this.
    select e.*
      from emp e, dept d
    where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
    With ANSI SQL format its like this.
    select e.*
      from emp e
      join dept d
        on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
    Oracle supports ANSI SQL starting from 9i version.
    You can read more about the syntax difference Here

  • Difference between oracle reports and oracle report writer

    I would like to know the diffrence between oracle reports and oracle report writer.I would appreciate if i get more details of oracle report writer.
    Thanks
    Rajesh

    Hi;
    May I know the difference between Oracle reports and Oracle discovererDiscoverer vs. Oracle Reports
    http://businessintelligence.ittoolbox.com/documents/discoverer-vs-oracle-reports-17819
    http://www.oraclechamps.com/index.php?option=com_content&view=article&id=316:oracle-reports-vs-discoverer-difference-between-oracle-reports-6i-and-oracle-discoverer&catid=62:oracle-technical-documents&Itemid=104
    Discoverer Vs. Oracle Reports
    PS: Be notice here is oracle database related forum side. For your future issue please use Forum Home » E-Business Suite* forum side*
    Regard
    Helios

  • What is the difference between Open-Script and Oracle functional testing

    Hi All,
    Please help me in spotting out the difference between the Openscript and Oracle Functional Testing for Web Application.
    Does Oracle Functional Testing for Web Application have any special features when compared with Open-Script.
    Please help me out.
    Thanks in Advance,
    Nishanth Soundararajan.

    Nishanth
    OFT is the old version of OpenScript, which will no longer be part of ATS as per the next major realize 9.20.
    I would recommend to to spend any time looking at it.
    Regards
    Alex

  • Difference between oracle client and oracle server?

    Hi,
    could any one please tell me the difference between these things?
    1.)oracle client and oracle server
    2.) installtion of oracle client and oracle server
    Thanks in advance.

    Take a look at the general client - server computing model, described e.g. in this wiki.
    edit:
    corrected bad link
    Message was edited by:
    orafad

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Comparison of Oracle 8i and Oracle 9i

    Hello everyone,
    I would like to know all the diferences between the Oracle 8i and Oracle 9i.The diference in features of these 2 versions and the technical difference between the two. If anywhere the data type gets changed between the 2 versions, that also please let me know
    I am going to create a database which is being flooded with lots of data and each table having millions of rows.Please suggest me the optimal software.
    I had designed the structure keeping in mind the Oracle 8.
    thanks
    Rishi

    Is this what you are looking for:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/901_doc/server.901/a90120/toc.htm
    http://download-east.oracle.com/docs/cd/A87860_01/doc/index.htm

  • Diff between oracle 8i and oracle 9i

    difference between oracle 8i and oracle 9i interms if architecture wide any other differences.

    difference between oracle 8i and oracle 9i No difference. These are both:
    1. very old
    2. coming form the "i" post-fix era
    3. in dire need for an upgrade to 11g (although we are also still on 9i and keep postponing upgrades, sigh :-( )

Maybe you are looking for

  • Installed Leopard and can no longer connect to my shared hard drive

    I had a sweet set up with a Drobo (fancy external hard drive) connected to my Airport Extreme base station. Before I upgraded to Leopard, my MacBook Pro would discover the Drobo disk and run scheduled backups without me having to do anything. Since I

  • Microsoft Word 2008 issue

    Hey there, I wanted to kill two stones with one bird in this thread :P First off, whenever I open Word, I never see the standard toolbar immediately. I have to go to view, and it says it's enabled, but it's not there, and so I disable it and re-enabl

  • Corrupted package errors with pacman

    I'm trying to install ardour with pacman.  I issue the sudo pacman -S ardour command and get the following pakages are corrupted. liblo-0.25-1-i686.pkg.tar.gz libsamplerate-0.1.7-1-i686.pkg.tar.gz aubio-0.3.2-3-i686.pkg.tar.gz ardour-2.5-1-i686.pkg.t

  • Computer died how do I recover files?

    How do I get my purchased downloads back?

  • My new ipod touch 4G shows lock symbol, how to release?

    My new ipod touch bought from USA showing lock symbol and connect to itunes symbol, how to release the lock, please help me any one