Cannot convert msaccess update query to view

Hello,
I am trying to migrate an msaccess database to oracle using oracle sql developer. The problem is that I get error messages when I convert the captured access model to an oracle model.
I only get error messages on the converted views. These are originally update queries in access like the following example:
UPDATE [Tbl Zuguebersicht CMA] INNER JOIN 1_PrioTab ON [Tbl Zuguebersicht CMA].Zugnummer = [1_PrioTab].ZugNr SET [Tbl Zuguebersicht CMA].Prioritaet = [1_PrioTab]![InternePrio];
In the captured model this query is already listed under the node for views. When I convert the model, I get the error message that it cannot be converted.
If I got it right, an update query cannot be converted to a view, is that correct? So it should rather be a function. I couldn't find a possibility to change this!
Or am I on the wrong track and there is just a special problem with exactly this update query? But then again, all the update queries could not be converted!
Help would greatly be appreciated! Thanks in advance...
Edited by: user8772417 on Sep 17, 2009 8:54 AM

Thanks for your answers!
Well I guess then I I have to create the stored procedures myself after the conversion and delete the useless views. That shouldn't be a big deal! I only wanted to avoid searching for the code lines where the stored procedure has to be called - therefore, the automatic way would have been much more comfortable :-)
I will request this feature on the sql developer page. I can't imagine I am the only one facing this particular MS Access conversion problem.
Thanks again,
Max

Similar Messages

  • Viewlink between Custom VO "Cannot set user query to view"

    We have an application where we have extended custom VO and EO’s to get data from flat files. It all looks fine till we create a viewlink for a LOV with two related VO’s. The viewlink VO fails we get message of the form -Cannot set user query to view "CustomVO1" because it is a destination in a view link”. Are there any methods to override in the custom VO/EO or any parameter to be added to configs. Has someone tried this out

    Thanks for the update and for sharing the solution!
    Regards,
    Hussein

  • Query and update a table/view

    What is the best & fastest way to do this?
    1) Put up a query input region for users to enter parameters.
    2) Run a query on a table/view using those parameters.
    3) Allow the output in (2) to be modified by user (multiple rows at a time) and then Submit the updates back to update th table/view
    I can do (1) and (2) easily. How can I do (3)?
    Thanks

    Make a report on the table. Go to the definition of
    the report column and change the "Display As" type to
    text field or select list or whcih ever is
    applicable. Write a process on submit to insert these
    values back to the table. You will have control over
    which columns the user can modify.Thats a good idea and I was able to start on it. But how can my after submit process tell which rows to modify? i.e. what will my after submit process look like?
    for rec in (....)
    loop
    update my_table set
    end loop;
    Help? Thanks

  • I cannot access the online site or view my converted file!!!

    I downloaded two 16pg word documents last night. This morning I went to view them and one of them was successfully converted. I went to view pdf and another screen popped up and went gray but froze. I closed it down and went to try again this time I got a white screen and it froze. I exited once again but now I can't even get in to see my orders. I am trying to log on to creatpdf.adobe.com and it will not not even let me in. WHAT IS GOING ON!!! I am paying $10 a month for a website I cannot even access.
    HELP!
    Dawn Berry

    I downloaded two 16pg word documents last night. This morning I went to view them and one of them was successfully converted. I went to view pdf and another screen popped up and went gray but froze. I closed it down and went to try again this time I got a white screen and it froze. I exited once again but now I can't even get in to see my orders. I am trying to log on to creatpdf.adobe.com and it will not not even let me in. WHAT IS GOING ON!!! I am paying $10 a month for a website I cannot even access.
    HELP!
    Dawn

  • Cannot set user query to view "{0}" because it is a destination in a view link

    Hi
    11.1.1.7 - I have 2 programatically view objects. I have created a viewLink between them and I am getting the error:
    Cannot set user query to view "MyView2" because it is a destination in a view link.
    Does anyone know what are the methods I need to implement? I have follow the Frank Nimphius Post: Oracle ADF: Service, Please! and it is working fine. However, after seeing this example: Decompiling ADF Binaries: Building programmatically managed business components - Part 2 - I realised that I am missing some other stuff to make the view link work. There are too many methods and its quite difficult to understand and digest all classes and methods etc.
    Anyone can please point me in the right direction?
    Regards

    Which version are you using? Could you maybe turn on logging (http://blog.goverco.com/p/psmalogging.html) and post content of log file if you still have the issue...
    Also, remember that even though you set credentials in the PARAM section, these values are overwritten by the ones specified on the properties of the MA - so make sure that you specify correct creds on the MA. Specifying creds directly in the script makes
    for an easy way of testing from the PowerShell prompt, but not for running the script from the MA / Run Profiles
    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

  • Updatable View issues:  cannot select FOR UPDATE from view with DI

    Hi All,
    I have a simple view XY and an instead of trigger on that to insert data into one table which is used in the my view. When I do insert statement on view XY it is working fine from sql but when i used same thing with page process of " Process Row of XY Automatic Row Processing (DML) " i am getting following error. I am using APEX 3.0 . Please help me.
    ORA-20001: Error in DML: p_rowid=xxxx, p_alt_rowid=abc, p_rowid2=, p_alt_rowid2=. ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    Thanks

    James,
    are you already on 3.0.1.00.07 or 3.0.1.00.08? Have a look at the release notes, it says something about a bug fix for some occurrences of ORA-02014.
    Also have a look at the new substitution value/item FSP_DML_LOCK_ROW which turns locking off if you set it to FALSE. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_readme.html#CHDIDIAF and also http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BCGFDAIJ
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Cannot convert from IPrivate{cn}view.I{cn}Element to IPublicTabComp.IPeople

    Hi,
    I have 2 context node Person and People in a view context and context node People in component controller's context ,now i want to create new People element in the implementation of view
    so when i had written code below in eventhandler method in view implementation:
    IPeopleElement newPerson = wdContext.nodePeople().createPeopleElement();
    it gives me an error :
    Cannot convert from IPrivateview.IElement to IPublicTabComp.IPeopleElement
    Any help will be appreciated.
    Thanks,
    Rashmi.

    Hi,
    i hope you mapped the component controller context "People "to view .
    then to create a element do like this,
    IPrivate<View Nmae>View.IPeopleNode pnode= wdContext.nodePeople().createPeopleElement();
    Regards,
    ramesh

  • Cannot display updated data in view

    I am connect to Oracle 10gR2 using SQL Developer 1.2.1 Build Main-32.13
    I have a table Table_A and a sample view View_A which is "select * from table_A".
    Firstly, I open the Table_A and View_A in two tab.
    After I update the record in Table_A using Data Tab (without clicking commit),
    I cannot see the updated record in View_A (even I click the refresh in View_A Data tab).
    Is is a bugs ? Because I think the two tab should share the same session.

    This is the current behaviour; the tab collects all updates until commit.
    I'd like to see the changes posted upon leaving each row too (like Toad does). The only way to be able to rollback changes is not using the Data tab, only the worksheet. And without posting(/committing), there's no way of knowing the outcome of triggers.
    Not a bug, just a missing feature.
    I see 2 possible solutions: an Autopost Changes preference in Database - ObjectViewer Parameters, and/or a Post button next to the Commit and Rollback buttons in the Data tab.
    Adding this to the Exchange in http://htmldb.oracle.com/pls/otn/f?p=42626:39:2374531395921602::NO::P39_ID:8901. Please go vote to get this implemented.
    Thanks,
    K.

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • ORA-12015: cannot create a fast refresh materialized view from a complex qu

    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - ProductionI'm trying to create a fast refresh materialized view that uses a column of xmltype. The problem is I cannot create an MV log that accounts for the xmltype column. I tried excluding it and got the above error. Is there another way I can incrementally update a materialized view where I don't have to do a COMPLETE refresh or use FAST refresh?
    CREATE TABLE "DAS_DESC"."AUTHORITY_TEST"
        "NAID"      NUMBER(20,0) NOT NULL ENABLE,
        "AUTH_TYPE" VARCHAR2(40 BYTE),
        "XML_DATA" "SYS"."XMLTYPE" ,
        "TERM_NAME" VARCHAR2(4000 BYTE)
    CREATE TABLE "DAS_DESC"."AUTH_ASSC_TEST"
        "NAID"    NUMBER(20,0),
        "P_NAID" NUMBER(20,0),
        "REL_TYPE"    VARCHAR2(25 BYTE),
        "XML_DATA" "SYS"."XMLTYPE"
    CREATE
    MATERIALIZED VIEW person_mv
    AS
    SELECT  p.naid
          , p.auth_type
          , INSERTCHILDXML
              p.xml_data                 -- Parent XML Column
            , '//*[contains(local-name(), ''person'')]' --XPATH to Person
            , 'nonPreferredHeadingArray'                -- Value for new child element
            (                                                       -- Sub query for injecting new variant person array
              SELECT XMLELEMENT
                "nonPreferredHeadingArray"
              , XMLAGG -- Aggregator for Variant Persons Array
                  XMLELEMENT
                    "variantPersonName"                    -- Wrapper for each entry in array
                  , extract(a.xml_data,'*/*')
              FROM auth_assc_table -- Link table
              WHERE a.p_naid = p.naid
          ) AS XML_DATA
    FROM authority p -- Parent table
    WHERE p.auth_type = 'Person';The views are created fine and they work perfectly for what we need. The problem is the refresh when we edit the base tables. Ideally, it should take a couple seconds. Right now, it takes a couple minutes. XMLTYPE is one problem and the Complex Query exception is the other. If there is a work-around for fast refresh, please let me know. Greatly appreciated.

    jjmdb wrote:
    I'm trying to create a fast refresh materialized view that uses a column of xmltype. The problem is I cannot create an MV log that accounts for the xmltype column. I tried excluding it and got the above error. Is there another way I can incrementally update a materialized view where I don't have to do a COMPLETE refresh or use FAST refresh? Besides XMLTYPE column, your MV definition has a subquery which prevents it from being fast refreshable.
    I could not find any specific reference in documentation about restriction on XMLTYPE (or CLOB) columns but it seems logical that oracle will not be able to keep track of changes to binary data. What does DBMS_MVIEW.EXPLAIN_MVIEW generate for your MV definition? That should tell you which all conditions (for FAST REFRESH) your MV violates. Since you can not create a MV LOG to include XMLTYPE column, it will not be possible to create a FAST REFRESHABLE MV that includes the XMLTYPE column.
    I am afraid there is not much you can do here unless you are prepared to change the way data is stored in your base tables. If you can store data in base tables using standard data types instead of binary/XML storage, you might be able to create a FAST REFRESHABLE MV.

  • ORA-01445: cannot select ROWID from a join view without a key-preserved tab

    Hi All,
    I have 2 windows in a form. When i click on a button in first window, then 2nd window will be opened. (Note: both windows are based have master-details relationship with Table1 and Table2 respectively)
    When i enter the information in 2nd window and click the SAVE Button it has to save those values to database. It used to work fine earlier. now, i am getting the following error.
    FRM-40501: ORACLE error: unable to reserve record for update or delete.
    ORA-01445: cannot select ROWID from a join view without a key-preserved table
    Please help me, how can i resolve this error. Also, guide me what is a key-preserved table.
    Thanks in advance,
    Amar

    Firstly: - Please make sure that you have not opened the same record somewhere else in any other form and trying to update from there.
    Secondly: - In your window 1 have you opened the same record which you are querying, editing and saving in window 2 ? If yes then this will givbe you error as you are trying to update a record which is already being updated somewhere else.
    Please mark if it helps

  • Optimization of Update Query???

    Hello guys!
    I just finished writing an update query, which works but takes forever (approximately 20-30 seconds). Do you have any ideas how it can be optimized in order to run faster? Would it be reccomendable to create a new view that includes only the required columns for the Inner-Select Statement? Right now there are about 20 columns in VT_TBL_PUNKTDATEN_JOIN. Could the statement be written differently to speed up the execution???
    Here is the statement:
    begin
    UPDATE TBL_PUNKTDATEN v SET v.INT_ZAEHLFAKTOR_BESTAND = :P700_INT_ZAEHLFAKTOR_BESTAND
    WHERE EXISTS (SELECT p.INV_PT_ID_SUB FROM VT_PUNKTDATEN_JOIN p WHERE
    (p.STR_GEBIET_MAIN = :P700_STR_GEBIET) and (p.STR_LRT_MAIN = :P700_STR_LRT) and (v.INV_PT_ID_SUB = p.INV_PT_ID_SUB));
    end;I'm really curious if you have any solution for this!
    I Appreciate your effort!
    Bye,
    Sebastian

    skahlert wrote:
    @ Sven W.
    I receive an ORA-01779 error (cannot modify a column which maps to a non key-preserved table).I thought that this would happen (based on your table names), but it was worth a try.
    The problem is which table is the parent and which one is the child table. When joining two tables via a foreign key relationship the child table will be the so-called key-preserved table. This means one row from the source table can be matched to exactly one row in the joined output (=view).
    In your case you can't use the update construct I suggested. It would work if you want to update the other table p.
    However you could measure how long the join select is running and compare that to the update part. This can give a first indication if the select is slow or the update.
    A further try can be to change the correlated subquery into an uncorrelated subquery. I doubt that this will help since the oracle optimzier can do this transformation by itself. Other than that you need to give us more information about table sizes and execution plans. You can always trace the update and see where the time is spent.
    uncorrelated
    UPDATE TBL_PUNKTDATEN v
    SET v.INT_ZAEHLFAKTOR_BESTAND = :P700_INT_ZAEHLFAKTOR_BESTAND
    WHERE v.INV_PT_ID_SUB IN (SELECT p.INV_PT_ID_SUB FROM VT_PUNKTDATEN_JOIN p
                   WHERE p.STR_GEBIET_MAIN = :P700_STR_GEBIET
                   and p.STR_LRT_MAIN = :P700_STR_LRT);Edited by: Sven W. on Aug 19, 2009 1:17 PM

  • I cannot perform security update with Mac OS X v10.411

    I cannot perform security update with Mac OS X v10.411.  My Mac Book Pro is super behind concerning updates and security.

    Yes, I too have that problem.  And, I have actually been hacked into, had all of my files, folders, photos, applications, sys pref, (in-other-words) EVERYTHING copied and recopied.   It has been a nightmare.  My identity was completely stolen.  What makes it worse is that when I told apple ~ I was told by 1 Apple Supervising Technician that I was out of my mind and that it wasn't possible.  He was very dismissive and treated me if I were some kind of idiot.  Well, check out below.  This is since Saturday or Sunday last.  I didn't authorize this and I sure as **** don' know who any of these people are. 
    I installed the 10.5 disk.  And I too, like many Macbook Pro users had the "Black Screen" bug.  So I had to go back to 10.4.  I went back and this is what I inherited.   I now rarely have control over the computer, never my printer and I my security has been and is constantly being compromised.  I believe that Apple needs to own up to this and, perhaps, do something about it?  Am I asking too much?
    Last login: Wed Sep 14 20:28:35 on console
    Welcome to Darwin!
    localhost:~ cat$ who
    cat      console  Sep 14 20:28
    cat      ttyp1    Sep 14 20:28
    localhost:~ cat$ whois
    usage: whois [-aAbdgiIlmQrR6] [-c country-code | -h hostname] [-p port] name ...
    localhost:~ cat$ finger
    Login    Name                 TTY  Idle  Login  Time   Office  Phone
    cat      catherine ronalds   *con    56  Wed    20:28
    cat      catherine ronalds    p1         Wed    20:28
    localhost:~ cat$ whois *con
    Whois Server Version 2.0
    Domain names in the .com and .net domains can now be registered
    with many different competing registrars. Go to http://www.internic.net
    for detailed information.
       Server Name: CON.ZZBB.COM
       IP Address: 203.231.42.121
       Registrar: INAMES CO., LTD.
       Whois Server: whois.inames.co.kr
       Referral URL: http://www.inames.co.kr
       Server Name: CON.VENUS.ORDERBOX-DNS.COM
       IP Address: 74.54.56.236
       IP Address: 74.54.56.227
       IP Address: 74.54.56.231
       Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
       Whois Server: whois.PublicDomainRegistry.com
       Referral URL: http://www.PublicDomainRegistry.com
       Server Name: CON.TOM.RU
       Registrar: REGIONAL NETWORK INFORMATION CENTER, JSC DBA RU-CENTER
       Whois Server: whois.nic.ru
       Referral URL: http://www.nic.ru
       Server Name: CON.MERCURY.ORDERBOX-DNS.COM
       IP Address: 67.15.253.251
       IP Address: 67.15.47.189
       IP Address: 67.15.253.220
       Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
       Whois Server: whois.PublicDomainRegistry.com
       Referral URL: http://www.PublicDomainRegistry.com
       Server Name: CON.MARS.ORDERBOX-DNS.COM
       IP Address: 74.52.140.84
       IP Address: 74.52.140.82
       IP Address: 74.52.140.83
       Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
       Whois Server: whois.PublicDomainRegistry.com
       Referral URL: http://www.PublicDomainRegistry.com
       Server Name: CON.MAIYEUBE.NET
       IP Address: 207.218.250.214
       Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE
       Whois Server: whois.melbourneit.com
       Referral URL: http://www.melbourneit.com
       Server Name: CON.MAFIAWORLDCONFLICT.COM
       IP Address: 96.125.168.211
       Registrar: DOMAIN.COM, LLC
       Whois Server: whois.domain.com
       Referral URL: http://www.domain.com
       Server Name: CON.KONKAK.COM
       IP Address: 67.214.175.71
       Registrar: TUCOWS.COM CO.
       Whois Server: whois.tucows.com
       Referral URL: http://domainhelp.opensrs.net
       Server Name: CON.KANGX.COM
       IP Address: 210.118.234.6
       Registrar: YESNIC CO. LTD.
       Whois Server: whois.yesnic.com
       Referral URL: http://www.yesnic.com
       Server Name: CON.JCSMEDIA.COM
       IP Address: 216.199.69.35
       Registrar: WILD WEST DOMAINS, INC.
       Whois Server: whois.wildwestdomains.com
       Referral URL: http://www.wildwestdomains.com
       Server Name: CON.HNIP.CO.KR
       Registrar: INAMES CO., LTD.
       Whois Server: whois.inames.co.kr
       Referral URL: http://www.inames.co.kr
       Server Name: CON.ETVILLE.COM
       IP Address: 112.220.108.114
       Registrar: ASADAL, INC.
       Whois Server: whois.asadal.com
       Referral URL: http://www.asadal.com
       Server Name: CON.EARTH.ORDERBOX-DNS.COM
       IP Address: 67.15.253.252
       IP Address: 67.15.47.188
       IP Address: 67.15.253.219
       Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
       Whois Server: whois.PublicDomainRegistry.com
       Referral URL: http://www.PublicDomainRegistry.com
       Server Name: CON.DIABLOIII.PRO
       Registrar: OVH
       Whois Server: whois.ovh.com
       Referral URL: http://www.ovh.com
       Server Name: CON.DELDC.COM
       IP Address: 210.91.181.71
       Registrar: YESNIC CO. LTD.
       Whois Server: whois.yesnic.com
       Referral URL: http://www.yesnic.com
       Server Name: CON.CONFESIONESDESOFIA.COM
       IP Address: 174.121.246.152
       Registrar: MYDOMAIN, INC.
       Whois Server: whois.namesdirect.com
       Referral URL: http://www.namesdirect.com
       Server Name: CON.CAUTO.COM
       IP Address: 12.31.226.135
       Registrar: NETWORK SOLUTIONS, LLC.
       Whois Server: whois.networksolutions.com
       Referral URL: http://www.networksolutions.com
       Server Name: CON.BLAZINGREALMS.COM
       IP Address: 68.67.78.230
       Registrar: OVH
       Whois Server: whois.ovh.com
       Referral URL: http://www.ovh.com
       Server Name: CON.BELLSFERRY.COM
       IP Address: 216.199.69.35
       Registrar: WILD WEST DOMAINS, INC.
       Whois Server: whois.wildwestdomains.com
       Referral URL: http://www.wildwestdomains.com
       Domain Name: CON.NET
       Registrar: UNIVERSAL REGISTRATION SERVICES INC. DBA NEWDENTITY.COM
       Whois Server: whois.newdentity.com
       Referral URL: http://www.newdentity.com
       Name Server: NS1.SEDOPARKING.COM
       Name Server: NS2.SEDOPARKING.COM
       Status: clientDeleteProhibited
       Status: clientTransferProhibited
       Status: clientUpdateProhibited
       Updated Date: 04-may-2011
       Creation Date: 03-may-2003
       Expiration Date: 03-may-2012
       Domain Name: CON.COM
       Registrar: TUCOWS.COM CO.
       Whois Server: whois.tucows.com
       Referral URL: http://domainhelp.opensrs.net
       Name Server: NS1.CON.COM
       Name Server: NS2.CON.COM
       Status: clientTransferProhibited
       Status: clientUpdateProhibited
       Updated Date: 05-nov-2010
       Creation Date: 05-dec-1993
       Expiration Date: 04-dec-2011
    >>> Last update of whois database: Thu, 15 Sep 2011 04:25:10 UTC <<<
    NOTICE: The expiration date displayed in this record is the date the
    registrar's sponsorship of the domain name registration in the registry is
    currently set to expire. This date does not necessarily reflect the expiration
    date of the domain name registrant's agreement with the sponsoring
    registrar.  Users may consult the sponsoring registrar's Whois database to
    view the registrar's reported date of expiration for this registration.
    TERMS OF USE: You are not authorized to access or query our Whois
    database through the use of electronic processes that are high-volume and
    automated except as reasonably necessary to register domain names or
    modify existing registrations; the Data in VeriSign Global Registry
    Services' ("VeriSign") Whois database is provided by VeriSign for
    information purposes only, and to assist persons in obtaining information
    about or related to a domain name registration record. VeriSign does not
    guarantee its accuracy. By submitting a Whois query, you agree to abide
    by the following terms of use: You agree that you may use this Data only
    for lawful purposes and that under no circumstances will you use this Data
    to: (1) allow, enable, or otherwise support the transmission of mass
    unsolicited, commercial advertising or solicitations via e-mail, telephone,
    or facsimile; or (2) enable high volume, automated, electronic processes
    that apply to VeriSign (or its computer systems). The compilation,
    repackaging, dissemination or other use of this Data is expressly
    prohibited without the prior written consent of VeriSign. You agree not to
    use electronic processes that are automated and high-volume to access or
    query the Whois database except as reasonably necessary to register
    domain names or modify existing registrations. VeriSign reserves the right
    to restrict your access to the Whois database in its sole discretion to ensure
    operational stability.  VeriSign may restrict or terminate your access to the
    Whois database for failure to abide by these terms of use. VeriSign
    reserves the right to modify these terms at any time.
    The Registry database contains ONLY .COM, .NET, .EDU domains and
    Registrars.
    No match "*con."
    localhost:~ cat$

  • SQLSERVER to ORACLE conversion - Update query

    Hi,
    I have a query in sqlserver :
    UPDATE
    netVIEWplus.dbo.DIM_OUC_Latest
    SET
    OUC = LatestFixed.OUC,
    OUC_Desc = LatestFixed.OUC_Desc,
    OUC_Level = LatestFixed.OUC_Level,
    Parent_OUC = LatestFixed.Parent_OUC,
    CC_Type = LatestFixed.CC_Type,
    GFR = LatestFixed.GFR,
    CORP = LatestFixed.CORP,
    SOB = LatestFixed.SOB,
    Div_Unit = LatestFixed.Div_Unit,
    Div_Desc = LatestFixed.Div_Desc,
    L1_OUC = LatestFixed.L1_OUC, L1_DEPT_DESC = LatestFixed.L1_DEPT_DESC,
    L2_OUC = LatestFixed.L2_OUC, L2_DEPT_DESC = LatestFixed.L2_DEPT_DESC,
    L3_OUC = LatestFixed.L3_OUC, L3_DEPT_DESC = LatestFixed.L3_DEPT_DESC,
    L4_OUC = LatestFixed.L4_OUC, L4_DEPT_DESC = LatestFixed.L4_DEPT_DESC,
    L5_OUC = LatestFixed.L5_OUC, L5_DEPT_DESC = LatestFixed.L5_DEPT_DESC,
    L6_OUC = LatestFixed.L6_OUC, L6_DEPT_DESC = LatestFixed.L6_DEPT_DESC,
    L7_OUC = LatestFixed.L7_OUC, L7_DEPT_DESC = LatestFixed.L7_DEPT_DESC,
    L8_OUC = LatestFixed.L8_OUC, L8_DEPT_DESC = LatestFixed.L8_DEPT_DESC,
    Current_Flag = LatestFixed.Current_Flag,
    INF_Div_Unit_Only = LatestFixed.INF_Div_Unit_Only,
    INF_DIM_OUC_Id_Used = LatestFixed.DIM_OUC_Id
    FROM
    netVIEWplus.dbo.DIM_OUC_Latest
    INNER JOIN
    netVIEWplus.dbo.DIM_OUC HistoryDIM
    ON
    HistoryDIM.DIM_OUC_Id = netVIEWplus.dbo.DIM_OUC_Latest.DIM_OUC_Id
    INNER JOIN
    netVIEWplus.dbo.DIM_OUC LatestDIM
    ON
    LatestDIM.DIM_OUC_ID = HistoryDIM.Latest_Id
    INNER JOIN
    netVIEWplus.dbo.DIM_OUC LatestFixed
    ON
    netVIEWplus.dbo.DIM_OUC_Latest.OUC = LatestFixed.OUC
    WHERE
    LatestDIM.INF_Updateable = 1
    AND
    LatestFixed.Valid_From =
    SELECT MAX(Valid_From)
    FROM netVIEWplus.dbo.DIM_OUC
    WHERE OUC = LatestFixed.OUC
    AND INF_Updateable = 0
    Which I want to convert in oracle like below :
    UPDATE
    netVIEWplus.DIM_OUC_Latest T1
    SET (OUC,OUC_Desc,OUC_Level,Parent_OUC,CC_Type,GFR,CORP,SOB,Div_Unit,Div_Desc,L1_OUC,L1_DEPT_DESC,L2_OUC,
    L2_DEPT_DESC,L3_OUC,L3_DEPT_DESC,L4_OUC,L4_DEPT_DESC,L5_OUC,L5_DEPT_DESC,L6_OUC,L6_DEPT_DESC,L7_OUC,L7_DEPT_DESC,
    L8_OUC,L8_DEPT_DESC,Current_Flag,INF_Div_Unit_Only,INF_DIM_OUC_Id_Used) =
    (SELECT LatestFixed.OUC OUC,LatestFixed.OUC_Desc OUC_Desc,
    LatestFixed.OUC_Level OUC_Level,LatestFixed.Parent_OUC Parent_OUC,LatestFixed.CC_Type CC_Type,LatestFixed.GFR GFR,
    LatestFixed.CORP CORP,LatestFixed.SOB SOB,LatestFixed.Div_Unit Div_Unit,LatestFixed.Div_Desc Div_Desc,
    LatestFixed.L1_OUC L1_OUC,LatestFixed.L1_DEPT_DESC L1_DEPT_DESC,LatestFixed.L2_OUC L2_OUC,LatestFixed.L2_DEPT_DESC L2_DEPT_DESC,
    LatestFixed.L3_OUC L3_OUC,LatestFixed.L3_DEPT_DESC L3_DEPT_DESC,LatestFixed.L4_OUC L4_OUC,
    LatestFixed.L4_DEPT_DESC L4_DEPT_DESC,LatestFixed.L5_OUC L5_OUC,LatestFixed.L5_DEPT_DESC L5_DEPT_DESC,
    LatestFixed.L6_OUC L6_OUC,LatestFixed.L6_DEPT_DESC L6_DEPT_DESC,LatestFixed.L7_OUC L7_OUC,
    LatestFixed.L7_DEPT_DESC L7_DEPT_DESC,LatestFixed.L8_OUC L8_OUC,LatestFixed.L8_DEPT_DESC L8_DEPT_DESC,
    LatestFixed.Current_Flag Current_Flag,LatestFixed.INF_Div_Unit_Only INF_Div_Unit_Only,
    LatestFixed.DIM_OUC_Id INF_DIM_OUC_Id_Used
    FROM
    netVIEWplus.DIM_OUC HistoryDIM,netVIEWplus.DIM_OUC LatestDIM,netVIEWplus.DIM_OUC LatestFixed
    where
    HistoryDIM.DIM_OUC_Id = T1.DIM_OUC_Id
    AND
    LatestDIM.DIM_OUC_ID = HistoryDIM.Latest_Id
    and
    T1.OUC = LatestFixed.OUC
    and
    LatestFixed.INF_Updateable = 1
    AND
    LatestFixed.Valid_From =
    SELECT MAX(Valid_From)
    FROM netVIEWplus.DIM_OUC
    WHERE OUC = LatestFixed.OUC
    AND INF_Updateable = 0
    and rownum=1)
    where exists
    (SELECT 1
    FROM
    netVIEWplus.DIM_OUC HistoryDIM,netVIEWplus.DIM_OUC LatestDIM,netVIEWplus.DIM_OUC LatestFixed
    where
    HistoryDIM.DIM_OUC_Id = T1.DIM_OUC_Id
    AND
    LatestDIM.DIM_OUC_ID = HistoryDIM.Latest_Id
    and
    T1.OUC = LatestFixed.OUC
    and
    LatestFixed.INF_Updateable = 1
    AND
    LatestFixed.Valid_From =
    SELECT MAX(Valid_From)
    FROM netVIEWplus.DIM_OUC
    WHERE OUC = LatestFixed.OUC
    AND INF_Updateable = 0
    Problem is, it is taking long time to execute in oracle. Find the explain plan of the oracle query :
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    UPDATE STATEMENT Optimizer Mode=ALL_ROWS          1           19 M                    
    UPDATE     NETVIEWPLUS.DIM_OUC_LATEST                                   
    HASH JOIN SEMI          1      216      19 M                    
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC_LATEST     299 K     55 M     1550                     
    VIEW     SYS.VW_SQ_3     4 G     90G     12 M                    
    HASH JOIN          4 G     208G     12 M                    
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC     298 K     2 M     2009                     
    MERGE JOIN CARTESIAN          4 G     167G     1664177                     
    HASH JOIN          14 K     516 K     4873                     
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC     53 K     945 K     2030                     
    VIEW     SYS.VW_SQ_2     81 K     1 M     2841                     
    SORT GROUP BY          81 K     1 M     2841                     
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC     245 K     4 M     2030                     
    BUFFER SORT          298 K     1 M     1664177                     
    INDEX FAST FULL SCAN     NETVIEWPLUS.DIM_OUC_PK     298 K     1 M     113                     
    COUNT STOPKEY                                        
    NESTED LOOPS          1      253      4062                     
    NESTED LOOPS          1      235      2032                     
    NESTED LOOPS          1      15      2                     
    TABLE ACCESS BY INDEX ROWID     NETVIEWPLUS.DIM_OUC     1      10      2                     
    INDEX UNIQUE SCAN     NETVIEWPLUS.DIM_OUC_PK     1           1                     
    INDEX UNIQUE SCAN     NETVIEWPLUS.DIM_OUC_PK     298 K     1 M     0                     
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC     1      220      2030                     
    VIEW     SYS.VW_SQ_1     1      18      2030                     
    SORT GROUP BY          3      54      2030                     
    TABLE ACCESS FULL     NETVIEWPLUS.DIM_OUC     3      54      2030                     
    Can any one suggest how to efficiently write the update query.
    Regards,
    Koushik

    Hi,
    Have you gathered stats as well ? Did the query use index(es) as well ?
    Without any more info like explain plan, indexes, etc., further help will be unable.
    Nicolas.

  • Select from table and Update to a view

    Hi,
    Can anybody let me if this is possible.
    I have a Master(single record)/detail(multi record) form. I would want to query/select the details from the base table but when I update/delete I would want to update/delete the details to a view.
    Is this doable?
    Thanks
    KAvitha

    Hi Kavitha,
    Solution 1 :-
    Why cann't you trap the ON-TRIGGERS (like ON-INSERT /On-update/ON-DELETE) of that block and put your piece of code to update/delete the view.
    SOlution 2 (I didn't try this ,so please try)
    I am not sure whether it will help you but can try !!Sorry if not working and let me know if you have a solution
    Create a package with Insert /Update/Delete sub procedures which does DML on view (as per ur requirement).
    Call this Procedure on DML Target Name of Advanced Database .
    Regards

Maybe you are looking for

  • Missing hard drive space: 600GB?

    I have a mid 2011 21.5" 2.7 GHZ I5 IMac with a 1 TB HDD.  It is reporting that the startup disk is full (<8gb left). I have surveyed the hard drive and found the "\users" folder is using 972GB. The sole "user" folder (me) is using 972 GB An explorati

  • Compilation Error: "class or interface expected" for simple EAR???

    Dear all, I have access to the customers NW CE 7.1 SP07 and of course I am using the corresponding NWDS 7.1 SP07 that comes with this CE installation. I am trying to study JEE 5 @ SAP and I have created a very simple Application (from the Book http:/

  • Problem in Printing the work area

    Hi Everybody, I'm working in upgrade project. in 4.7 version, directly trying to print the work area and assign to some other fields. Eg: write: Mara. text = mara. but in 6.0, its not allowing to assign directly like this. Plz help me urgently. B'coz

  • Adobe Air SQLite Concurrency/Best Practices

    Hello Everyone,   I posted this on Stackoverflow, but I was wondering if there were any I guess design patterns or hints concerning the usage of a SQLite DB.  I'm asking this mostly because with the Adobe Air sqlite implementation, you can't modify t

  • Archiving feature R/3 vs BW!

    Hi all, can any one here tell me the diffrent archiving features in R/3 and BW? i guess a little extent that archiving features are more profound in R/3 when compared with BW. But i am not sure .If u have any idea or documents reagrding this pls shar