Arithmetic subtraction fails in 10g, works in 11g

With this setup:
create table person (id number, version number, groupscount number);
create table groupfollower (followerid number, followingid number);
insert into person values (1,1,0);
insert into person values (2,1,0);
insert into groupfollower values (1,2);
UPDATE Person
SET version =version+1,
groupsCount=
*(SELECT COUNT(followingg1_.followerId)*
FROM GroupFollower followingg1_
WHERE Person.id=followingg1_.followerId
*)-1*
WHERE id IN
(SELECT groupfollo2_.followerId
FROM GroupFollower groupfollo2_
WHERE groupfollo2_.followingId=2
10g produces an error -- ora-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended" Cause: Action: Error at Line:16 Column:4 Line 16 is the ")-1"
should this not be valid? The query actually works just fine you put the 1- in front, but these queries are being generated by hibernate, and I'm not sure how to override this behavior-

It is a known issue in 10g. Put constans an the beginning of subquery expression:
SQL> UPDATE Person
  2  SET version =version+1,
  3  groupsCount=
  4  (SELECT COUNT(followingg1_.followerId)
  5  FROM GroupFollower followingg1_
  6  WHERE Person.id=followingg1_.followerId
  7  )-1
  8  WHERE id IN
  9  (SELECT groupfollo2_.followerId
10  FROM GroupFollower groupfollo2_
11  WHERE groupfollo2_.followingId=2
12  )
13 
14 
15  /
)-1
ERROR at line 7:
ORA-00933: SQL command not properly ended
SQL> UPDATE Person
  2  SET version =version+1,
  3  groupsCount= -1 +
  4  (SELECT COUNT(followingg1_.followerId)
  5  FROM GroupFollower followingg1_
  6  WHERE Person.id=followingg1_.followerId)
  7  WHERE id IN
  8  (SELECT groupfollo2_.followerId
  9  FROM GroupFollower groupfollo2_
10  WHERE groupfollo2_.followingId=2
11  )
12  /
1 row updated.
SQL> SY.

Similar Messages

  • Does Designer 10g work on 11g

    I have a client that wants to install 11g DB and use designer 10g. A colleage of mine says that Designer 10g does not install on database 11g, however it does work if the Db was 10g and Designer was installed prior to upgrade to 11g.
    Please help.
    Rick

    Hi Roel,
    I have Oracle11g and Designer 10.1.2.4 (non-versioned) on my laptop (Windows 2003)and there was no issue during installation. I am facing a couple of problems:
    1. When I delete an application system from RON I got an error:
    Message
    RME-02014: Database connection lost
    Message
    RME-02124: Failed to execute SQL statement: declare
    utility varchar2(3);
    curr_el integer;
    begin
    savepoint rm_dispatch;
    rmmes.clear;
    curr_el := 0;
    CIOAPPLICATION_SYSTEM.DEL(:p1_el0);
    :errcnt := 0;
    exception when others then
    rmmes.get_error_state(utility,:excode);
    rmmes.get_product(utility,:exprod);
    :exutil := utility;
    :errcnt := rmmes.getsize;
    :sqlcod := SQLCODE;
    :sqlmsg := SQLERRM;
    :currel := curr_el;
    rollback to savepoint rm_dispatch;
    end;
    Message
    RME-00222: Failed to dispatch operation to Repository
    Message
    RME-02102: Not connected to a database
    Message
    RME-02121: Failed to open cursor
    Message
    RME-02124: Failed to execute SQL statement: select NVL(x.number_of_times_modified,0),
    X.NAME,
    NULL,
    X.DISPLAY_TITLE,
    X.AUTHORITY,
    X.OWNING_USER,
    X.DATAWAREHOUSE_FLAG,
    X.PRIORITIES,
    X.CONSTRAINTS,
    X.REMARK,
    X.OS_TIMESTAMP,
    X.SYSTEM_ELEMENT_FLAG
    FROM CI_APPLICATION_SYSTEMS X where X.irid = :B1
    2. When I did reverse engineer in Design Editor, during validating stage, I got an error:
    Message
    CDD-23572: The connection to Oracle has been lost. Unsaved changes will be lost.
    Message
    RME-02102: Not connected to a database
    Message
    RME-02121: Failed to open cursor
    Message
    RME-02124: Failed to execute SQL statement: select E.WNPS_FLAG, E.WNDS_FLAG, E.USER_DEFINED_PROPERTY_9, E.USER_DEFINED_PROPERTY_8, E.USER_DEFINED_PROPERTY_7, E.USER_DEFINED_PROPERTY_6, E.USER_DEFINED_PROPERTY_5, E.USER_DEFINED_PROPERTY_4, E.USER_DEFINED_PROPERTY_3, E.USER_DEFINED_PROPERTY_2, E.USER_DEFINED_PROPERTY_19, E.USER_DEFINED_PROPERTY_18, E.USER_DEFINED_PROPERTY_17, E.USER_DEFINED_PROPERTY_16, E.USER_DEFINED_PROPERTY_15, E.USER_DEFINED_PROPERTY_14, E.USER_DEFINED_PROPERTY_13, E.USER_DEFINED_PROPERTY_12, E.USER_DEFINED_PROPERTY_11, E.USER_DEFINED_PROPERTY_10, E.USER_DEFINED_PROPERTY_1, E.USER_DEFINED_PROPERTY_0, E.TYPE_MEMBER_ORDERING, E.SOURCE_PATHNAME, E.SCOPE, E.RNPS_FLAG, E.RNDS_FLAG, E.RETURN_TYPE, E.REPEATABLE_FLAG, E.PLSQL_MODULE_TYPE, E.JAVA_RETURN_TYPE, E.JAVA_PARAMETER_LIST, E.JAVA_METHOD, E.IMPLEMENTATION_NAME, E.FREE_FORMAT_TEXT_FLAG, E.ORACLE_TYPE_REFERENCE, E.ORACLE_OBJECT_TYPE_REFERENCE, E.JAVA_MODULE_REFERENCE, E.TOP_LEVEL_FLAG, E.TASK_CODE, E.SIZE_OF_MODULE, E.SHORT_NAME, E.PURPOSE, E.PROJECT_CODE, E.PARENT_IVID, E.PAC_REFERENCE, E.NAME, E.MODULE_TYPE, E.ESTIMATE_UNITS, E.ESTIMATE, E.COMPLEXITY, E.COMPLETION_STATUS, E.CANDIDATE_FLAG, E.ACTIVITY_CODE, E.ELEMENT_TYPE_NAME, E.IVID, E.IRID, E.TYPES, E.NUMBER_OF_TIMES_MODIFIED, E.ID, E.DATE_CREATED, E.DATE_CHANGED, E.CREATED_BY, E.CHANGED_BY, DOM_FM.FOLDER_REFERENCE, DOM_OV.STATE from CI_PLSQL_MODULES E
    , SDD_FOLDER_MEMBERS DOM_FM , SDD_FOLDERS DOM_F , I$SDD_OBJECT_VERSIONS DOM_OV where E.IRID = :id0
    AND DOM_FM.MEMBER_OBJECT = E.IRID AND DOM_F.IVID = DOM_FM.PARENT_IVID and DOM_FM.OWNERSHIP_FLAG = 'Y' and E.IVID = DOM_OV.IVID AND DOM_OV.IVID = E.IVID and E.IVID = DOM_OV.IVID /*CDOM_IC_PlsqlModule*/
    Message
    RME-02125: Failed to fetch next row(s)
    Thanks

  • Is it possible to install oracle developer suite 10g in windows 7(64 bit), I have tried to install but failed so. Though, database 11g gets install in Windows 7.  If possible, Kindly provide me the website link.

    Is it possible to install oracle developer suite 10g in windows 7(64 bit), I have tried to install but failed so. Though, database 11g gets install in Windows 7.
    If possible, Kindly provide me the website link.

    Pl do not post duplicates
    Is 1GB ram is enough for the installation of oracle developer suite 10g and database 11g??? And which one to install fi…
    I want to install oracle database 11g and oracle developer suite 10g (latest) in my system. As i'm quite new to oracle ,…
    Continue the discussions in your original threads

  • 10g stopped working after 11g installed. Getting ORA-12514: error

    I had Oracle 10g installed in win2000 sp2. with port 1521.
    I have installed Oracle 11g on the same system. with port 1522.
    I am able to start both the instances and tnslistener but I am not able to connect to Oracle10g database. Getting following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I have done the following check.
    c:\> tnsping tek10g
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-MAR-2
    008 13:04:26
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\app\mmurugai\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = PC456)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = tek10g) (SRVR = DE
    DICATED)))
    OK (50 msec)
    2) Checked lsnrctl services
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PC456.SYNTELORG.COM)(PO
    T=1522)))
    Services Summary...
    Service "orcl11g" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "orcl11gXDB" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: PC456, pid: 284>
    (ADDRESS=(PROTOCOL=tcp)(HOST=PC456.SYNTELORG.COM)(PORT=2963))
    Service "orcl11g_XPT" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL>
    I am not able to see my tek10g 10g database details.
    I also checked my tnsnames.ora file which has the entries properly.
    Sqlnet.ora file has
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    How to solve this issue? Is that possible to run oracle 10g and oracle 11g in same host?
    Thanks in Advance...
    regards,
    Manikandan

    The approach I would take, in general is:
    1) pick a listener, and only one. Get that working.
    2) Make sure all the databases register to that listener
    3) Fix the TNSNAMES.ORA files appropriately.
    To fix the listener
    1) Verify the listener address matches the current environment
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)     << - MUST point to correct HOME
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
      )where
    myHOST is this host's resolvable name or IP address
    myPORT is the port (default 1521) that the listener should monitor
    The HOST is often a problem if the machine uses DHCP.
    2) Register the databases
    On startup, database will auto-register to the listener defined in the init parameter 'LOCAL_LISTENER', which defaults to 'HOST={current_host}, PORT=1521'
    After startup, if the listener is taken down, you can register each database manually using the DBA command
    ALTER SYSTEM REGISTER;
    Either way, it should show up in the output of 'lsnrctl status'
    While you are accessing the database, you might want to find out which services the database supports. That can be done in SQLPlus using the command
    SHOW PARAMETER SERVICE_NAMES
    Note that the database name is the default service name.
    3) Fix [all] the TNSNAMES.ORA file[s].
    Each SERVICE_NAME from the previous list that you want to access from this client, yu should find an entry that looks like
    myTEST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mySERVICE)
    myTEST is the alias I want to look up by using it as the connect target string.
    myHOST should match the HOST= entry in the LISTENER.ORA
    myPORT MUST match the PORT= entry in the LISTENER.ORA
    mySERVICE is the Service to which I am asking the listener to connect me, as found in the lsnrctl status output

  • Expdp impdp fails from 10g to 11g db version

    Hello folks,
    Export DB Version : 10.2.0.4
    Import DB Version : 11.2.0.1
    Export Log File
    Export: Release 10.2.0.4.0 - Production on Wednesday, 03 November, 2010 2:19:20
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, Data Mining and Real Application Testing options
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 45 GB
    . . exported "DYM"."CYCLE_COUNT_MASTER" 39.14 GB 309618922 rows
    Master table "DYM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for DYM.SYS_EXPORT_SCHEMA_01 is:
    Job "DYM"."SYS_EXPORT_SCHEMA_01" successfully completed at 02:56:49
    Import Log File
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "DYM_PRJ4"."CYCLE_COUNT_MASTER" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at 10:54:38
    from 10g expdp to 11g impdp is not allowed ? any thoughts appreciated ??

    Nope , I do not see any error file.
    Current log# 2 seq# 908 mem# 0:
    Thu Nov 04 11:58:20 2010
    DM00 started with pid=530, OS id=1659, job SYSTEM.SYS_IMPORT_FULL_02
    Thu Nov 04 11:58:20 2010
    DW00 started with pid=531, OS id=1661, wid=1, job SYSTEM.SYS_IMPORT_FULL_02
    Thu Nov 04 11:58:55 2010
    DM00 started with pid=513, OS id=1700, job SYSTEM.SYS_IMPORT_FULL_02
    Thu Nov 04 11:58:55 2010
    DW00 started with pid=520, OS id=1713, wid=1, job SYSTEM.SYS_IMPORT_FULL_02
    Thu Nov 04 12:00:54 2010
    Thread 1 cannot allocate new log, sequence 909
    Private strand flush not complete
    Current log# 2 seq# 908 mem# 0: ####################redo02.log
    Thread 1 advanced to log sequence 909 (LGWR switch)
    Current log# 3 seq# 909 mem# 0: ###################redo03.log
    Thu Nov 04 12:01:51 2010
    Thread 1 cannot allocate new log, sequence 910
    Checkpoint not complete
    Current log# 3 seq# 909 mem# 0:###################redo03.log

  • Query  Regarding Updation/Migration of ODI 10g To ODI 11g.

    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

    neeraj_singh wrote:
    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.You can install ODI 11.1.1.5 but you have to upgrade your repositories using upgrade assistant
    refer http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/tasklist.htm#CIHGIDFG
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.No need to create new repositories. You just upgrade them. But you need to takecare of certain things as you are a 10g user. Refer below link for the prerequisite
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/prevusers.htm
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?Not clear about the question ?
    >
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

  • Problems in creating Materialized View from 10g R2  to 11g

    Hi,
    We have two databases in 10g Release 2. These databases are on two different servers and we use
    Materialized views to replicate data between these servers. We are currently using 64 bit version of
    oracle 10g release 2 for LINUX.
    Oracle Database 10g Release 10.2.0.1.0 - 64 bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    We use CENTOS 5 - 64 bit edition
    We upgraded one of the databases to 11g (We exported the data from old database and
    imported it in new database) . Then we tried to create a Materialized view with incremental refresh
    on it where the base table is in the second Oracle 10g database.
    The problem is that it is not letting us create the view with FAST Refresh. It kept on giving ORA-12028
    error. We tried different remedies suggested on forums like creating a view with ROWID, but still it
    continued giving us the same error. We also synchronized the characterset of Oracle 10g and Oracle 11g
    installations but still it did not work.
    Our base table size is pretty large (over 10 Million records) and if we do a full refresh, it takes hours to
    refresh it.
    Without incremental refresh, we will not be able to fucntion, and to upgrade both database simultaneously
    we will need a large down-time which also we can not afford.
    Please advise what should we do.
    Best Regards
    Madhup
    Edited by: Madhup on Mar 2, 2009 10:45 AM

    Hello,
    Yesterday I met the same problem and very sad about this, however, my story is much more complicated (I think so).
    I have 6 databases:
    2 - 11g
    2 - 10g
    2 - 9i
    Every database of each release has different characterset(UTF8 and AL16UTF16).
    I am trying to create Materialized view with FAST REFRESH on Oracle 11g, when master tables are located on 10g database and 9i database.
    Materialized view, which points to 9i database, was successfully created.
    Materialized view, which points to 10g database, gets ORA-12028
    Like you, I tried many notes from METALINK and thought at the begining that the problem is my characterset. But, when the materialized views were successfully built on Oracle 9i database, I understood that the problem is something else.
    Did you find the actual reason why this issue does not work??
    Thanks,
    Alex

  • Oracle 10g OLAP to 11g OLAP upgrade ?

    We currently are planning on a upgrade from 10g OLAP => 11g OLAP. We currently have 12 AWM's in 10g OLAP which we need to move over with associated DML programs and additional SQL reporting views.
    Questions:
    1. Is there any documentation available on necessary steps for 10g OLAP => 11g OLAP upgrade?
    2. What would happen to existing AWM's prepared in 10g, would they be migrated to 11g transparently or have to be re-created?
    3. Is there any specific documentation related to changes in way cube builds are done programatically?
    4. Any changes in the way limit maps work in 11g?
    Please advise.
    Thanks,
    Sudip

    Migrating a 10g cube to 11g depends on whether you are talking about 11gR1 or 11gR2. 10g cubes continue to operate in the "10g way" even after a database upgrade. They will not become "11g cubes" until they are rebuilt after the database upgrade. In 11gR2, there is a supported way to migrate 10g cubes to 11g cubes, both with AWM and with PL/SQL. Sorry to say... this functionality doesn't exist in 11gR1: you'll have to rebuild your cubes from the ground up.
    The SQL relational views built using the AWM plugin in 10g are no longer applicable in 11g. That's because OLAP cubes in 11g are registered in the oracle data dictionary (just like other Oracle objects), and the SQL relational views are managed in the database and a recognized part of the product. The SQL relational views are quite different in 11g, so you will likely have to rewrite queries against them.
    LIMIT map syntax is the same, but performance is much better.
    See if this blog entry helps:
    http://www.rittmanmead.com/2009/10/09/olap-10gr2-and-dense-looping/
    Edited by: Stewart Bryson on Feb 19, 2010 8:40 AM

  • Oracle Designer 10g With Oracle 11g DB possible

    Hi,
    Please clarify my below query,
    we are currently using oracle designer 10g and deploying the components to production DB which is in oracle 9i, We are planning to migrate to oracle supported version 11g DB, since oracle designer 11g is not there we would be sticking to oracle 10g itself, Now my question is, will we be having issues or road blocks with this combination Oracle designer 10g and Oracle 11g DB???
    Regards
    Bala

    @Erik
    Don't have a doc id. You have to go to the certication tab in My Oracle Support. Search for Oracle Designer 10.1.2.6.0 there you will find the three supported database version.
    Oracle Designer 10.1.2.6.0 is certified with Oracle Database 11.2.0.1.0 on Microsoft Windows (32-bit) XP
    Oracle Designer 10.1.2.6.0 with Oracle Database 11.2.0.1.0
    Customers must review MetaLink Doc 1299040.1 Application Design Transformer Hangs at 65% when running against Oracle 11gR2
    Certified with:
    Oracle Fusion Middleware 10g 10.1.2.0.2 Oracle Developer Suites 10g 10.1.2.0.2 Oracle AS/DS Patch Set 10g 10.1.2.3.0
    @Bala
    Colleagues of mine have imported a designer repository inside 11gR2 and where not able to change objects inside the repository. When they imported the same designer dump inside an 11gR1 database it worked fine.
    In the other post (Re: 11G compatibility it is also written that there are some major bugs and those bugs will not be fixed.

  • Insertion of user name failing in 10g--very very urgent

    Hi
    I have this insert statement:
    INSERT INTO tHistory(Client_ID,Table_Ref,Table_ID,Entry_Type,Subject,User_Name
    ,Parent_ID,content)
    VALUES( 'D5555555','tClient','D555555','edit','Edit By '||user,user,0,'test');
    all fields are non nullable.
    However when I run it it does accept the user for user name column and throws an error saying user cant b blank.
    This same stmnt works fine in 9i but fails in 10g.
    Could anyone please help.
    Thanks in Advance

    are you running this from some other environment or as string from some program.
    here is the test case.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> create table test_table(n varchar2(200))
      2  /
    Table created.
    SQL> insert into test_table values('Hello '||user)
      2  /
    1 row created.
    SQL>
    SQL> select * from test_table
      2  /
    N
    Hello SCOTT
    SQL>
    SQL> show user
    USER is "SCOTT"

  • Dehydration - BPEL 10g vs BPEL 11g

    Hi,
    Could you please share information around differences in Dehydration Mechanism in BPEL 10g and BPEL 11g (wrt to functioning, schema, and other imp parameters)?
    Thanks & Regards,
    chaitanya

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • Integration UCM 10g with IRM 11g

    Hi,
    is it possible to integrate UCM 10g with IRM 11g ?
    Thanks..
    J.

    Hello J,
    Sorry no you can't do this. IRM Server 10g had a basic integration with UCM 10g. The integration will not work with IRM 11g. I know there is an internal project to integrate UCM 11g with IRM 11g and that this will be far far superior to the rather simple implementation that was done in 10g. It's a ground up revision driven by UCM which tells IRM what the sealing requirements are in UCM's world, rather than a rather cobbled together meeting of two separate worlds as was done in 10g. No idea when it will be ready of course...
    Regards,
    Frank.
    Edited by: Frank Abela on Sep 2, 2010 3:43 PM

  • UCM 10g with IBR 11g

    hi,
    In relation to my previous post: does anyone knows if UCM10g will work with IBR11g?
    regards
    Maarten

    Hi Srinath,
    I assume you mean UCM 10g and IBR 11g? If so, this is pretty awesome.
    My first experiences with IBR 11g (in combination with OutsideIn) have been very positive.
    Regards,
    Fabian

  • Oracle 10g vs Oracle 11g query performance

    Hi everyone,
    We are moving from Oracle 10g to Oracle 11g database.
    I have a query which in Oracle 1g takes 85 seconds to run, but when I run the same query in Oracle 11g database, it takes 635 seconds.
    I have confirmed that all indexes on tables involved are enabled.
    Does anyone have any pointers, what should I look into. I have compared explain plans and clearly they are different. Oracle 11g is taking a different approach than Oracle 1g.
    Thanks

    Pl post details of OS versions, exact database versions (to 4 digits) and init.ora parameters of the 10g and 11g databases. Have statistics been gathered after the upgrade ?
    For posting tuning requests, pl see these threads
    HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long ...
    Pl see if the SQL Performance Analyzer can help - MOS Doc 562899.1 (TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER)
    HTH
    Srini

  • Dbms_metadata.get_ddl not working in 11g

    Hi All,
    I need a quick help from you. Following is not working in 11g.
    dbms_metadata.get_ddl( 'MATERIALIZED_VIEW', Mview_name, owner )
    It is throwing me an error saying the Materialized view does not exist, though its exist.
    Please let me know, what is wrong here with 11g.

    Please let me know, what is wrong here with 11g.No problem here: Can you reproduce these steps:
    SQL> select * from v$version where rownum = 1
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production         
    1 row selected.
    SQL> create materialized view mv_dummy as select * from dual
    Materialized View created.
    SQL> select dbms_metadata.get_ddl ('MATERIALIZED_VIEW', 'MV_DUMMY', user) ddl from dual
    DDL                                                                            
      CREATE MATERIALIZED VIEW "MICHAEL"."MV_DUMMY" ("DUMMY")                      
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOG
    GING                                                                           
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645        
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)             
      TABLESPACE "USERS"                                                           
      BUILD IMMEDIATE                                                              
      USING INDEX                                                                  
      REFRESH FORCE ON DEMAND                                                      
      USING DEFAULT LOCAL ROLLBACK SEGMENT                                         
      USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE                             
      AS select * from dual                                                        
    1 row selected.?

Maybe you are looking for

  • Automatically adding free goods in SO

    I have a finished good that I would like to sell with a third-party free good. I have set up both materials in MM. How do I link the 2 together such that when I create a SO for the finished good, the free good will be added automatically? Is there an

  • How to set printer settings

    I have created report for purchase register. i am taking print this on epson printer. i have created my own page size as below width is 40 cms and height is 30 cms. how can i assign above width and height for my printer.

  • Change Case in Column header when designing reports in BIDS

    Hi I have used a key short-cut to change the case of headers when adding them to the header of a Tablix, but I can't remember the key combination, Any help much appretiated Regards Andy CRM 4, SQL Server and .Net developer using C#

  • Intel Imac Won't Start Up

    Hello all, this is my first post here. Any help gratefully received! My Intel Core Duo Imac (bought march 2006) is having some recurring problems with starting up (and sometimes awaking from sleep). It's a 17" Rev A, 1.83GHZ, 160GB, with an extra 512

  • IPad mini FaceTime/iMessage can't log in

    I bought my iPad mini back in June 2014 in Australia. I moved back to Canada in November 2014 and have not been able to get FaceTime or iMessage to work on my ipad mini. I own an iPhone and MacBook pro and have not had issues with either of them. I c