What is the exception for finding more than one row?

What is the exception if you do a select and get more than one row? no_data_found is the exception for not finding any, what is the exception for finding "too much". Thx

Funnily enough there is a complete list of predefined exceptions in the documentation .
Cheers, APC

Similar Messages

  • What's the point of having more than one computer "Authorized"?

    Why must it delete all my data just because i want to sync one song from either of my computers. this is stupid and i cannot stand Apple. why can't i sync between both of my computers? <Edited by Moderator>

    Sorry, but I have no clear idea what your problem is or what it is you are trying to accomplish. I know you're frustrated and update; if you calm down and post your situation and goals clearly and calmly, I'm sure someone here can help you sort things out.
    If you're referring to synching to an iPod (my crystal ball is in the shop so I'm guessing) and are trying to put content onto the iPod from more than one computer, you have to set it to manual management.
    Managing content manually on iPod

  • Java.lang.OutOfMemoryError Exception for data more than 20k rows

    Hi There,
    We are evaluating Coherence for our requirements and I am quite impressed with filtering, near cache, etc
    We are running on Windows XP, 3GB RAM, jdk1.6.0_04 and tests are simple – 2 cache instances and one instance of ExtendTcpCacheService sitting between client and distributed cache.
    It just fly’s when inserting/putting about 20k rows/objects in to cache but doesn’t seem to fly for more data.
    eg: with 200k objects/rows, we get the following exception
    java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in C:\BUILD_AREA\jdk6_04\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
    But, the exception is not consistent. We also get following
    2008-03-20 11:36:23.415 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Service Cluster left the cluster
    2008-03-20 11:36:25.009 Oracle Coherence GE 3.3.1/389 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
    2008-03-20 11:36:25.899 Oracle Coherence GE 3.3.1/389 <D5> (thread=ExtendTcpProxyServiceWorker:1, member=4): Repeating $PutAllRequest for 10000 out of 10000 items due to re-distribution
    2008-03-20 11:36:25.931 Oracle Coherence GE 3.3.1/389 <D5> (thread=ExtendTcpProxyServiceWorker:2, member=4): Repeating $PutAllRequest for 10000 out of 10000 items due to re-distribution
    2008-03-20 11:36:26.024 Oracle Coherence GE 3.3.1/389 <D5> (thread=ExtendTcpProxyServiceWorker:4, member=4): Repeating $PutAllRequest for 10000 out of 10000 items due to re-distribution
    2008-03-20 11:36:26.024 Oracle Coherence GE 3.3.1/389 <D5> (thread=ExtendTcpProxyServiceWorker:0, member=4): Repeating $PutAllRequest for 10000 out of 10000 items due to re-distribution
    2008-03-20 11:36:26.040 Oracle Coherence GE 3.3.1/389 <D5> (thread=ExtendTcpProxyServiceWorker:3, member=4): Repeating $PutAllRequest for 10000 out of 10000 items due to re-distribution
    2008-03-20 11:36:26.899 Oracle Coherence GE 3.3.1/389 <D5> (thread=Proxy:ExtendTcpProxyService, member=4): Stopped: TcpAcceptor
    2008-03-20 11:36:26.899 Oracle Coherence GE 3.3.1/389 <D4> (thread=Proxy:ExtendTcpProxyService, member=4): Exception occured during exiting:
    java.lang.NullPointerException
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.isClusterThread(Service.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.drainOverflow(Service.CDB:7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.post(Service.CDB:17)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.send(Service.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ClusterService.doServiceLeft(ClusterService.CDB:25)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:65)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onExit(Service.CDB:12)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:58)
    at java.lang.Thread.run(Thread.java:619)
    Would appreciate if someone can point me the right direction.
    Regards,
    K

    Hi Gene,
    Thanks for getting back.
    Tried with JDK 1.5 but no joy.
    I am trying to insert 200k POJO's each with 10 memebers/fields and have set 1GB memory. Here are the logs
    08-03-26 15:20:36.644 Oracle Coherence GE 3.3.1/389 <Error> (thread=DistributedCache, member=3): Error sending MapEvent to Channel(Id=1317419375, Connection=0x00000118EBA651F39101EDDBDC0FAA24C838BCE665617F8AC1064ADB4297F30E, Open=true): java.lang.OutOfMemoryError
         at sun.misc.Unsafe.allocateMemory(Native Method)
         at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:99)
         at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
         at com.tangosol.coherence.component.comm.connectionManager.acceptor.TcpAcceptor$ByteBufferPool.instantiateResource(TcpAcceptor.CDB:7)
         at com.tangosol.coherence.component.comm.connectionManager.acceptor.TcpAcceptor$ByteBufferPool.acquire(TcpAcceptor.CDB:26)
         at com.tangosol.coherence.component.comm.connectionManager.acceptor.TcpAcceptor$ByteBufferPool.allocate(TcpAcceptor.CDB:4)
         at com.tangosol.io.MultiBufferWriteBuffer.advance(MultiBufferWriteBuffer.java:870)
         at com.tangosol.io.MultiBufferWriteBuffer.<init>(MultiBufferWriteBuffer.java:32)
         at com.tangosol.coherence.component.comm.connectionManager.acceptor.TcpAcceptor$TcpConnection.allocateWriteBuffer(TcpAcceptor.CDB:3)
         at com.tangosol.coherence.component.comm.Connection.send(Connection.CDB:16)
         at com.tangosol.coherence.component.comm.Channel.doSend(Channel.CDB:4)
         at com.tangosol.coherence.component.comm.Channel.send(Channel.CDB:38)
         at com.tangosol.coherence.component.net.extend.proxy.MapListenerProxy.onMapEvent(MapListenerProxy.CDB:9)
         at com.tangosol.coherence.component.net.extend.proxy.MapListenerProxy.entryInserted(MapListenerProxy.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap$ProxyListener.dispatch(DistributedCache.CDB:22)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap$ProxyListener.entryInserted(DistributedCache.CDB:1)
         at com.tangosol.util.MapListenerSupport$WrapperSynchronousListener.entryInserted(MapListenerSupport.java:856)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
         at com.tangosol.coherence.component.util.CacheEvent.dispatchSafe(CacheEvent.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.dispatch(DistributedCache.CDB:86)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache.onMapEvent(DistributedCache.CDB:31)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$MapEvent.onReceived(DistributedCache.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache.onNotify(DistributedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
         at java.lang.Thread.run(Thread.java:619)
    # An unexpected error has been detected by Java Runtime Environment:
    # java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?
    # Internal Error (allocation.cpp:120), pid=4052, tid=6048
    # Error: ChunkPool::allocate
    # Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode windows-x86)
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x65f21400): JavaThread "CompilerThread1" daemon [_thread_in_native, id=6048, stack(0x662d0000,0x66320000)]
    Stack: [0x662d0000,0x66320000]
    [error occurred during error reporting (printing stack bounds), id 0x80000001]
    Current CompileTask:
    C2:972 ! sun.nio.cs.SingleByteEncoder.encodeArrayLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult; (475 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x66425400 JavaThread "DistributedCache:EventDispatcher" daemon [_thread_blocked, id=6024, stack(0x66b10000,0x66b60000)]
    0x665ca400 JavaThread "TcpAcceptor:TcpProcessor" daemon [_thread_blocked, id=1164, stack(0x66fc0000,0x67010000)]
    0x6656cc00 JavaThread "TcpAcceptor" daemon [_thread_blocked, id=5996, stack(0x66ed0000,0x66f20000)]
    0x666ee800 JavaThread "ExtendTcpProxyServiceWorker:4" daemon [_thread_blocked, id=5056, stack(0x66e80000,0x66ed0000)]
    0x666ee400 JavaThread "ExtendTcpProxyServiceWorker:3" daemon [_thread_blocked, id=3232, stack(0x66e30000,0x66e80000)]
    0x664d1000 JavaThread "ExtendTcpProxyServiceWorker:2" daemon [_thread_blocked, id=1932, stack(0x66de0000,0x66e30000)]
    0x66685000 JavaThread "ExtendTcpProxyServiceWorker:1" daemon [_thread_blocked, id=2496, stack(0x66d90000,0x66de0000)]
    0x6668c400 JavaThread "ExtendTcpProxyServiceWorker:0" daemon [_thread_blocked, id=2256, stack(0x66d40000,0x66d90000)]
    0x66595400 JavaThread "Cluster:EventDispatcher" daemon [_thread_blocked, id=6112, stack(0x66cf0000,0x66d40000)]
    0x66584400 JavaThread "Proxy:ExtendTcpProxyService" daemon [_thread_blocked, id=6132, stack(0x66ca0000,0x66cf0000)]
    0x666f7400 JavaThread "Proxy:ExtendTcpProxyService:EventDispatcher" daemon [_thread_blocked, id=852, stack(0x66c50000,0x66ca0000)]
    0x666fdc00 JavaThread "DistributedCache" daemon [_thread_blocked, id=5380, stack(0x66c00000,0x66c50000)]
    0x663da400 JavaThread "TcpRingListener" daemon [_thread_in_native, id=5576, stack(0x66b60000,0x66bb0000)]
    0x6651d400 JavaThread "Cluster" daemon [_thread_blocked, id=6084, stack(0x66ac0000,0x66b10000)]
    0x66419400 JavaThread "PacketSpeaker" daemon [_thread_blocked, id=4240, stack(0x66a70000,0x66ac0000)]
    0x6651f800 JavaThread "PacketPublisher" daemon [_thread_blocked, id=6088, stack(0x66a20000,0x66a70000)]
    0x6647e800 JavaThread "PacketReceiver" daemon [_thread_blocked, id=6080, stack(0x669d0000,0x66a20000)]
    0x6647e400 JavaThread "PacketListener1" daemon [_thread_in_native, id=6072, stack(0x66980000,0x669d0000)]
    0x6656d800 JavaThread "PacketListenerN" daemon [_thread_blocked, id=6076, stack(0x66930000,0x66980000)]
    0x664da800 JavaThread "Logger@9233091 3.3.1/389" daemon [_thread_blocked, id=4908, stack(0x66880000,0x668d0000)]
    0x65f23c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5580, stack(0x66320000,0x66370000)]
    =>0x65f21400 JavaThread "CompilerThread1" daemon [_thread_in_native, id=6048, stack(0x662d0000,0x66320000)]
    0x65f1c800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6040, stack(0x66280000,0x662d0000)]
    0x65f1b400 JavaThread "Attach Listener" daemon [_thread_blocked, id=6004, stack(0x66230000,0x66280000)]
    0x65f1ac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6032, stack(0x661e0000,0x66230000)]
    0x65d4cc00 JavaThread "Finalizer" daemon [_thread_blocked, id=6020, stack(0x66190000,0x661e0000)]
    0x65f12800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6036, stack(0x66140000,0x66190000)]
    0x00386000 JavaThread "main" [_thread_blocked, id=5040, stack(0x003a0000,0x003f0000)]
    Other Threads:
    0x65f11000 VMThread [stack: 0x660f0000,0x66140000] [id=5992]
    0x65f25400 WatcherThread [stack: 0x66370000,0x663c0000] [id=5492]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00385790/0x00002724] Safepoint_lock - owner thread: 0x65f11000
    [0x003857f0/0x00002714] Threads_lock - owner thread: 0x65f11000
    [0x00385990/0x000026d4] Heap_lock - owner thread: 0x666fdc00
    Heap
    PSYoungGen total 158464K, used 147632K [0x5af00000, 0x655a0000, 0x655a0000)
    eden space 146496K, 100% used [0x5af00000,0x63e10000,0x63e10000)
    from space 11968K, 9% used [0x63e10000,0x63f2c000,0x649c0000)
    to space 11712K, 0% used [0x64a30000,0x64a30000,0x655a0000)
    PSOldGen total 1365376K, used 1054407K [0x079a0000, 0x5af00000, 0x5af00000)
    object space 1365376K, 77% used [0x079a0000,0x47f51f70,0x5af00000)
    PSPermGen total 16384K, used 10909K [0x039a0000, 0x049a0000, 0x079a0000)
    object space 16384K, 66% used [0x039a0000,0x04447748,0x049a0000)
    Dynamic libraries:

  • What are the consequences of having more than one iphone connected to the same itunes on 1 computer?

    I'm wondering if there are any weird problems or glitches to be expected when 2 iphones are connected to the same itunes on a single computer.  My wife and I both have iphone 5's with separate apple IDs.  We only have one computer with one user account so both iphones are signed in to the same itunes.  This seems to be a totally normal thing to do.  Both phones appear when I open itunes and itunes lets me choose which phone I want to look at the information for, sync, etc.  However I have noticed some unusual behavior.  For example, sometimes when I am checking apps or installing new apps on my iphone, even when I am away from home and our computer, her apple ID will show up.  I have never entered her ID into my phone.  Are there any other quirks I should know about and is there anything else to watch out for when we both have our phones connected to one computer in this way?

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • How to implement the patch for maintaining more than one cookie with http?

    HI all,
    I have seen the patch for CommonsHTTPSender.java and HTTPSender.java in
    http://issues.apache.org/jira/browse/AXIS-895?page=comments#action_63350 , but I don't know how can I implement the patch. Could anyone suggest me how to do it please. Thank you in advance.

    If I must use StringTokenizer, How can I do it? You completely misunderstand how StringTokenizer works.
    StringTokenizer st = new StringTokenizer(output,"#####");Each character is used as a delimiter. So you have specified the same delimiter 5 times.
    As suggested above you would need to rewrite the entire code, to treat the String as a delimiter, intead of each character as a delimiter.

  • Update gives "single-row subquery returns more than one row"

    Hi,
    I have to update a table by getting values from two other tables. While doing that the inner query returns more than one value. I am not sure how to implement the logic without returning more than one row in sub quesry. Need help on that.
    My query:
    update buf_office_str o
    set o.manager_ident =
    (select sp.ident
    from se2_r_src_sourceperson sp ,
    (select distinct director_name, team_name from buf_sales_dump )t
    where SP.SRCNAME = upper(substr(t.director_name,instr(t.director_name,' ')+1,length(t.director_name))||', '||substr(t.director_name,1,instr(t.director_name,' ')-1 ) )
    and o.office_descr = t.team_name
    Basically the query gets teh manager id from sp table where sp.srcname = t.team-name.
    The office descr should be equal to the team_name.
    This is the logic I am working towards:
    For each office, i get the office_descr and get corresponding team_name. Match the team's director_name (from table t) with the sp.name and return the employee's id (sp.ident) for that office_descr.
    I need to update all 50 offices with corresponding managerid for that office in buf_office_str table.
    Is it possible to get done in one update? Pls let me know.

    Hi,
    "Single-row subquery returns more than one row" is one of those error messages that actually means what it says: the correlated sub-query in your SET clause is sometimes returning 2 or more rows .
    The solution could be as simple as making the sub-query SELECT DISTINCT , as its in-line view, t, already is.
    It's possible you have bad data, or a mistake in your statement.
    To find the problem cases, you can run something like this:
    WITH  sub_q     AS
                       SELECT  -- DISTINCT ?
                                sp.ident
                       ,         t.team_name
                       ,         COUNT (*) OVER (PARTITION BY t.team_name)     AS cnt
                       FROM    se2_r_src_sourceperson     sp
                       ,         (  SELECT DISTINCT director_name
                                   ,                  team_name
                               FROM            buf_sales_dump
                             )                    t
                       WHERE   sp.srcname     = UPPER ( SUBSTR ( t.director_name
                                                         , INSTR ( t.director_name
                                                  ) + 1
                                                , LENGTH (t.director_name)
                                          || ', '
                                          || SUBSTR ( t.director_name
                                                          , 1
                                                   , INSTR ( t.director_name
                                                        ) - 1
    SELECT     o.*     -- or whatever helps you
    ,     sq.*
    FROM     buf_office_str     o
    JOIN     sub_q          sq     ON     o.office_descr = sq.team_name
    WHERE     sq.cnt          > 1
    ;If you'd like more help, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables as they exist before the UPDATE, and the results you want from that data (that is, the contents of buf_office_str after the UPDATE). Make sure the problem occurs with the sample data you post.

  • What do you think about using exceptions for something more than errors

    if you look the java.lang.Exception description at the JDK javadoc, you can see the following text:
    "The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch."
    ... we can�t see "error" word anywhere!!
    What do you think about using exceptions for something more than errors? Can be possible use them as a way for send information to upper layers?
    Thankx in regards...

    it seems that what you say is a functional way of achiveing that, yes
    but Exceptions are generally reserverd for "Exceptional" situations ie program messing up or invalid data
    it does require a fair bit of processor time to actually generate and throw an Exception.
    so, all in all its "better" to use "normal" condition flow control to achive what you want.. you can always return early, break loops, call methods to pass information

  • What is the range for Find my iPhone

    What is the range for Find my iPhone

    Both devices have to be connected to either WiFi or Cellular and have location services enabled. Find My iPhone does not require that you be close to the phone you're trying to find. If it's connected to a network thousands of miles away, it should still work.

  • Fetching more than one row from a table after selecting one value from the dropdown

    Hi Experts,
    How can we fetch more than one row from a table after selecting one value from the dropdown.
    The scenario is that I have some entries in the dropdown like below
      A               B               C        
    11256          VID          911256  
    11256          VID          811256
    11256          SONY      11256
    The 'B' values are there in the dropdown. I have removed the duplicate entries from the dropdown so now the dropdownlist has only two values.for eg- 'VID' and'SONY'. So now, after selecting 'VID' from the dropdown I should get all the 'C' values. After this the "C' values are to be passed to other methods to fetch some data from other tables.
    Request your help on this.
    Thanks,
    Preeetam Narkhede.

    Hi Preetam!
    I hope I understand your request proberly, since this is more about Java and less about WebDynpro, but if I'm wrong, just follow up on this.
    Supposed you have some collection of your original table data stored in variable "origin". Populate a Hashtable using the values from column "B" (let's assume it's Strings) as keys and an ArrayList of whatever "C" is (let's assume String instances, too) as value (there's a lot of ways to iterate over whatever your datasource is, and since we do not know what your datasource is, maybe you'll have to follow another approach to get b and c vaues,but the principle should remain the same):
    // Declare a private variable for your Data at the appropriate place in your code
    private Hashtable temp = new Hashtable<String, ArrayList<String>>();
    // Then, in the method you use to retrieve backend data and populate the dropdown,
    // populate the Hashtable, too
    Iterator<TableData> a = origin.iterator();
    while (a.hasNext()) {
         TableData current = a.next();
         String b = current.getB();
         String c = current.getC();
         ArrayList<String> values = this.temp.get(b);
         if (values == null) {
              values = new ArrayList<String>();
         values.add(c);
         this.temp.put(b, values);
    So after this, you'll have a Hashtable with the B values als keys and collections of C values of this particular B as value:
    VID --> (911256, 811256)
    SONY --> (11256)
    Use
    temp.keySet()
    to populate your dropdown.
    After the user selects an entry from the dropdown (let's say stored in variable selectedB), you will be able to retrieve the collection of c's from your Hashtable
    // In the metod you handle the selection event with, get the c value collection
    //and use it to select from your other table
    ArrayList<String> selectedCs = this.temp.get(selectedB);
    // now iterate over the selectedCs items and use each of these
    //to continue retrieving whatever data you need...
    for (String oneC : selectedCs) {
         // Select Data from backend using oneC in the where-Clause or whatever...
    Hope that helps
    Michael

  • The "Measures" dimension contains more than one hierarchy... Collation issue

    It appears that an Excel query pased through to SSAS has a "measures" with lowercase "m" when analysis services expects an uppercase "M" so it should look like "Measures". Is there a fix in excel to allow
    the correct passing of "Measures" member name to the cube?
    BTW, I have NO Calculations in the cube.
    In excel 2013 when I pivot with a pivot table connected to a case sensitive collation (non default config)
    cube and perform a filter by "Keep only Selected Items" I get the error "The 'Measures' dimension contains more than one hierarchy, therefore the hierarchy must be explicity specified".
    When I revert back to server wide setting to case insensitive, and I preform the exact same pivoting function it works without error. The problem appears to be that excel does not understand the server collation setting.
    When I run SQL Server Profilier I narrowed down the MDX statement run in Excel that gives me an error to this:
    with
    member measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Playing around with the query I discovered that if I capitalize the first letter of the "with measures" member, the statement works.
    with
    member Measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member Measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member Measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Also, I realise that I could change the collation on just the cube itself to case insenstive to get this to work, but I really don't want to do an impact analysis of running a mixed collation environment.
    So, my question is: Is there an excel fix that will allow me to run a case sensitve cube and allow me to click on filter and filter by "keep only selected items" or "Hide selected Items"? All other filtering works, it's only those two
    filtering options error for me.
    Here are the versions I'm working with:
    Excel 2013 (15.0.4535.1507) MSO(15.0.4551.1007) 32-bit Part of Microsoft Office Professional Plus 2013
    Microsoft Analysis Server Enterprise 2012 11.0.3000.0
    Any help would be appreciated. Thank you in advance!

    Hi, i assume this logic is for Dimension formula?
    If you have multiple hierarchy like ParentH1 and ParentH2 you should use FormulaH1 and FormulaH2 and not FORMULA column.
    in FORMULAH1
    [Account.H1].[Account_A] / [Account.H1].[Account_B]

  • How to find out which sub query returns more than one row

    Hi all,
    Can any one give me clue ,how to find out which sub query returns more than one row in the following query .
    /* Formatted on 2011/05/17 19:22 (Formatter Plus v4.8.8) */
    SELECT a.*, ROWNUM AS rnm
      FROM (SELECT DISTINCT '1' AS "Page View", ou.org_unit_name AS "Org",
                            prxm.mbr_idntfr AS "Beneficiary ID",
                               md.last_name
                            || ', '
                            || md.first_name AS "Beneficiary Name",
                            pci.idntfr AS "Tracking No.",
                            TO_CHAR (TRUNC (req.pa_rqst_date),
                                     'MM/dd/yyyy'
                                    ) AS "Request Date",
                            sts.status_name AS "Status",
                            req.pa_rqst_sid AS "Request #",
                            prxm.mbr_sid AS "Mbr_sid",
                            TO_CHAR
                                  (TRUNC (req.pa_revision_date),
                                   'MM/dd/yyyy'
                                  ) AS "Last Updated",
                            TO_CHAR (psd.TO_DATE, 'MM/dd/yyyy') AS "TO_DATE",
                            prxpl.prvdr_lctn_iid AS "PRVDR_LCTN_IID",
                            pd.prvdr_sid AS "PRVDR_SID", 'Y' AS "State View",
                            DECODE
                               ((SELECT DISTINCT pd.national_prvdr_idntfr
                                            FROM pa_request_x_provider_location prxplo
                                           WHERE prxplo.pa_rqst_sid =
                                                                   req.pa_rqst_sid
                                             AND prxplo.oprtnl_flag = 'A'
                                             AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
                                0, (SELECT prxplo.prvdr_lctn_idntfr
                                      FROM pa_request_x_provider_location prxplo
                                     WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
                                       AND prxplo.oprtnl_flag = 'A'
                                       AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
                                NULL, (SELECT prxplo.prvdr_lctn_idntfr
                                         FROM pa_request_x_provider_location prxplo
                                        WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
                                          AND prxplo.oprtnl_flag = 'A'
                                          AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
                                (SELECT DISTINCT pd.national_prvdr_idntfr
                                            FROM pa_request_x_provider_location prxplo
                                           WHERE prxplo.pa_rqst_sid =
                                                                   req.pa_rqst_sid
                                             AND prxplo.oprtnl_flag = 'A'
                                             AND prxplo.pa_prvdr_type_lkpcd = 'RR')
                               ) AS "NPI/ID",
                            DECODE
                               ((SELECT pd.org_bsns_name
                                   FROM pa_request_x_provider_location prxplo
                                  WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
                                    AND prxplo.oprtnl_flag = 'A'
                                    AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
                                NULL, (SELECT    pd.last_name
                                              || ', '
                                              || pd.first_name
                                              || ' '
                                              || pd.middle_name
                                         FROM pa_request_x_provider_location prxplo
                                        WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
                                          AND prxplo.oprtnl_flag = 'A'
                                          AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
                                (SELECT pd.org_bsns_name
                                   FROM pa_request_x_provider_location prxplo
                                  WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
                                    AND prxplo.oprtnl_flag = 'A'
                                    AND prxplo.pa_prvdr_type_lkpcd = 'RR')
                               ) AS "Prvdr Name",
                            TO_CHAR (psd.from_date,
                                     'MM/dd/yyyy'
                                    ) AS "Srvc From Date",
                            TO_CHAR (req.validity_start_date,
                                     'MM/DD/YYYY'
                                    ) AS "Due Date",
                            (fn_get_busniess_days (TRUNC (req.validity_start_date))
                            ) AS "Days<br>Left",
                            req.pa_mode_type_lkpcd AS "Source",
                            TO_CHAR (TRUNC (wmdtl.rtng_date),
                                     'MM/dd/yyyy'
                                    ) AS "Assigned On",
                            NVL (wmdtl.assigned_to_user_name,
                                 'Not Assigned'
                                ) AS "Assigned To",
                            req.org_unit_sid AS "OrgUnitSid",
                            TO_CHAR
                                 (wmdtl.modified_date,
                                  'MM/dd/yyyy hh24:mi:ss'
                                 ) AS "WTRD_MODIFIED_DATE",
                            TO_CHAR (wmdtl.rtng_date,
                                     'MM/dd/yyyy'
                                    ) AS "WTRD_RTNG_DATE",
                            req.status_cid AS "PA_STATUS_CID",
                            TO_CHAR (req.modified_date,
                                     'MM/dd/yyyy'
                                    ) AS "PA_REQ_MODIFIED_DATE",
                            prs.state_pa_srvc_type_code
                                                     AS "STATE_PA_SRVC_TYPE_CODE",
                            wmdtl.wm_pa_task_rtng_dtl_sid
                                                        AS "WM_TASK_RTNG_DTL_SID",
                            wmdtl.assigned_to_user_acct_sid
                                              AS "WTRD_Assigned_to_user_acct_sid",
                            (fn_get_busniess_days (TRUNC (req.validity_start_date))
                            ) AS "Days<br>LeftSort",
                            wmdtl.assigned_to_org_unit_sid
                                                  AS "WTRD_Assigned_to_OrgUntSid",
                            DECODE
                               ((SELECT COUNT (*)
                                   FROM pa_request_status prs
                                  WHERE prs.pa_rqst_sid = req.pa_rqst_sid
                                    AND prs.status_cid = 5
                                    AND prs.oprtnl_flag = 'I'),
                                0, 'N',
                                'Y'
                               ) AS "SHOW_UTILIZATION"
                       FROM   pa_request req,
                             pa_certification_identifier pci,
                             status sts,
                             pa_request_x_member prxm,
                             wm_pa_task_routing_detail wmdtl,
                             pa_service_date psd,
                             org_unit ou,
                             pa_request_service prs,
                             pa_request_x_provider_location prxpl,
                             provider_location pl,
                             provider_detail pd,
                             provider p,
                             mbr_dmgrphc md
                      WHERE req.oprtnl_flag = 'A'
                        AND req.status_cid NOT IN
                                     (20, 30, 70, 25, 80, 96, 85, 5, 97, 98, 101)
                        AND req.org_unit_sid IN
                               (3057, 3142, 3058, 3143, 3059, 3144, 3060, 3145,
                                3061, 3146, 3062, 3147, 3063, 3148, 3064, 3149,
                                3065, 3150, 3066, 3151, 3067, 3152, 3068, 3153,
                                3069, 3154, 3070, 3155, 3071, 3156, 3072, 3157,
                                3073, 3158, 3074, 3159, 3075, 3160, 3076, 3161,
                                3077, 3162, 3078, 3163, 3079, 3164, 3080, 3165,
                                3081, 3166, 3082, 3167, 3083, 3168, 3084, 3169,
                                3085, 3170, 3086, 3171, 3087, 3172, 3088, 3173,
                                3089, 3174, 3090, 3175, 3091, 3176, 3092, 3177,
                                3093, 3178, 3094, 3179, 3095, 3180, 3096, 3181,
                                3097, 3182, 3098, 3183, 3099, 3184, 3100, 3185,
                                3101, 3186, 3102, 3187, 3103, 3003, 75000104,
                                75000108, 2006, 75000103, 75000102, 75000113,
                                75000111, 75000109, 2001, 2009, 75000105,
                                75000107, 2004, 2010, 2013, 2014, 2005, 2011,
                                75000112, 2002, 1001, 2012, 75000106, 2007,
                                75000101, 2003, 75000110, 2008, 3001, 3002, 3019,
                                3104, 3020, 3105, 3021, 3106, 3022, 3107, 3023,
                                3108, 3024, 3109, 3025, 3110, 3026, 3111, 3027,
                                3112, 3028, 3113, 3029, 3114, 3030, 3115, 3031,
                                3116, 3032, 3117, 3033, 3118, 3034, 3119, 3035,
                                3120, 3036, 3121, 3037, 3122, 3038, 3123, 3039,
                                3124, 3040, 3125, 3041, 3126, 3042, 3127, 3043,
                                3128, 3044, 3129, 3045, 3130, 3046, 3131, 3047,
                                3132, 3048, 3133, 3049, 3134, 3050, 3135, 3051,
                                3136, 3052, 3137, 3053, 3138, 3054, 3139, 3055,
                                3140, 3056, 3141)
                        AND req.pa_rqst_sid = prs.pa_rqst_sid
                        AND prs.oprtnl_flag = 'A'
                        AND prs.pa_rqst_srvc_sid = psd.pa_rqst_srvc_sid
                        AND psd.oprtnl_flag = 'A'
                        AND req.pa_rqst_sid = pci.pa_rqst_sid
                        AND pci.oprtnl_flag = 'A'
                        AND req.pa_rqst_sid = prxm.pa_rqst_sid
                        AND prxm.oprtnl_flag = 'A'
                        AND md.oprtnl_flag = 'A'
                        AND md.status_cid = 2
                        AND TRUNC (SYSDATE) BETWEEN md.from_date AND md.TO_DATE
                        AND prxm.mbr_sid = md.mbr_sid
                        AND ou.org_unit_sid = req.org_unit_sid
                        AND ou.oprtnl_flag = 'A'
                        AND req.pa_rqst_sid = prxpl.pa_rqst_sid
                        AND prxm.pa_rqst_sid = prxpl.pa_rqst_sid
                        AND pci.pa_rqst_sid = prxm.pa_rqst_sid
                        AND pci.pa_rqst_sid = wmdtl.subsystem_task_sid
                        AND pci.pa_rqst_sid = prxpl.pa_rqst_sid
                        AND prxpl.pa_prvdr_type_lkpcd = 'RR'
                        AND prxpl.oprtnl_flag = 'A'
                        AND req.status_cid = sts.status_cid
                        AND sts.status_type_cid = 3
                        AND sts.oprtnl_flag = 'A'
                        AND prxpl.prvdr_lctn_iid = pl.prvdr_lctn_iid
                        AND p.prvdr_sid = pd.prvdr_sid
                        AND p.prvdr_sid = pl.prvdr_sid
                        AND pd.oprtnl_flag = 'A'
                        AND pd.status_cid = 2
                        AND TRUNC (SYSDATE) BETWEEN pd.from_date AND pd.TO_DATE
                        AND wmdtl.subsystem_task_sid = req.pa_rqst_sid
                        AND wmdtl.subsystem_lkpcd = 'PA'
                        AND wmdtl.oprtnl_flag = 'A'
                        AND req.pa_rqst_date > (SYSDATE - 365)
                                       ORDER BY TO_DATE ("Request Date", 'MM/dd/yyyy hh24:mi:ss') DESC,
                            "Beneficiary Name" ASC) a
    WHERE ROWNUM < 102;regards,
    P Prakash
    Edited by: BluShadow on 17-May-2011 15:01
    added {noformat}{noformat} tags around the code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    833560 wrote:
    Can any one give me clue ,how to find out which sub query returns more than one row in the following query .This is why smaller, simpler queries are easier to work with than huge ones - when something like this goes wrong smaller queries are much eaiser to debug. Unfortunately using smaller, easier-to-work with queries is not always an option
    Ganesh is right - you will have to dissect the big query bit by bit until you find the offending subquery. If there is another way I would like to find out about it too.
    The easiest way to do this is probably to use block comments to isolate parts of the query bit by bit until you find the offending part. If you carefully examine the subqueries you might be able to figure out which one is returning multiple rows without commenting everything
    Good luck!

  • Change this code to retrieve more than one row in the drop out menu

    How I can change this code, it only works when the cursor retrieves one row
    like this
    201410
    Fall 2013
    If it returns 2 rows, I only get the fir one in the drop out menu 
    201410
    Fall 2013
    201420
    Spring 2014
    I try to put a loop but it does not work..
    I need to be able to display any term that is retrieve by the cursor  (can be more than one)
    Term Fall 2013
    Spring 2014
    PROCEDURE p_enter_term
    IS
    v_code  stvterm.stvterm_code%TYPE;
    v_desc   stvterm.stvterm_desc%TYPE;
    CURSOR select_term_c IS
    SELECT
    stvterm_code,
    stvterm_desc
    from
    stvterm,
    sobterm
    where
    sobterm_dynamic_sched_term_ind = 'Y'
    and sobterm_term_code = stvterm_code;
    select_term_rec  select_term_c%rowtype;
    BEGIN
    --check for open cursor
    if select_term_c%isopen
    then
    close   select_term_c;
    end if;
    open    select_term_c;
    fetch select_term_c into v_code,v_desc; 
    HTP.p ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
       HTP.p ('<FORM ACTION="/test/btsewl.p_sel_crse" METHOD="POST" onSubmit="return checkSubmit()">');
       HTP.p ('<TABLE  CLASS="dataentrytable" summary="This layout table is used for term selection."width="50%"><CAPTION class="captiontext">Search by Term: </CAPTION>');
       HTP.p ('<TR>');
       HTP.p ('<TD class="dedefault"><LABEL for=term_input_id><SPAN class="fieldlabeltextinvisible">Term</SPAN></LABEL>');
       HTP.p ('<SELECT NAME="p_term" SIZE="1" ID="term_input_id">');
       HTP.p ('<OPTION VALUE="'||v_code||'">');
       HTP.p (v_desc);
        HTP.p ('</OPTION>');
       HTP.p ('</SELECT>');
       HTP.p ('</TD>');
       HTP.p ('</TR>');
       HTP.p ('</TABLE>');
       HTP.p ('<BR>');
       HTP.p ('<BR>');
       HTP.p ('<INPUT TYPE="submit" VALUE="Submit">');
       HTP.p ('<INPUT TYPE="reset" VALUE="Reset">');
       HTP.p ('</FORM>');
    END;

    You are using the Eclipse Dali plugin to generate tables from your entities, not the EclipseLink JPA provider at runtime, so the settings in your persistence.xml are ignored.  The documentation for the Dali table Wizards state it will drop and create tables.  If you want to use the EclipseLink persistence settings to just create tables, access your persistence unit in a test case or deployment. 

  • Can we copy the same quotation to more than one sales order?

    Can we copy the same quotation to more than one sales order?is it posibble.......pls reply

    Hi vepa venkat suhas.,
                                       If the quotation quantity is 100,with reference to quotaion if you raise a sales order for 100 materials then you cannot raise other sales order with reference to the quotation.untill your quatity of 100 in quotation is finished you can raise a sales order
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • How to bring the more than one rows from the table into the script

    Hi
    I have to bring more than one rows from the table into the Main windows of the script. so plz help me out.
    Thanks in Advance
    Ananya

    Hi Ananya,
       Bring more than one row into main window of script.
       For this you need to do some changes for data which you pass to main window.At a time you need to pass more than one row,so for this you need to define one structure.See below code.
    Types:begin of ty_rows,
         include structure (your row_structure),
         include structure (your row_sturcture),
    Types:end of ty_rows.
    for example....
    If i need to pass 2 vendor details at a time to main window then the structure should be like this.
    Types:begin of ty_rows,
           vendor1 like lfa1-lifnr,
           vendor1_name like lfa1-name1,
           vendor2 like lfa1-lifnr,
           vendor2_name like lfa1-name1,
          end of ty_rows.
    Data:i_main type standard table of ty_rows,
         wa_main type ty_rows.
    Based on condition you can pass more than one rows of your actual internal table data to i_main internal table.
    Then you can pass i_main internal table to your main window.
        I think this will help you.
    Cheers,
    Bujji

  • Can I labled the same song to more than one albums? As you know, some songs are repeated in different albums.

    Can I labled the same song to more than one albums? As you know, some songs are repeated in different albums.

    You can make a copy of an existing song, then change the album, artwork and track number details. You cannot make the same physical file show up in two different albums.
    tt2

Maybe you are looking for

  • Issue with Blank Value selection in Dropdown List

    Hello Experts,                     I am facing one strange issue in Adobe Forms Drop Down(DD) list. Foll. is the list data which contains a several item data & blank value. After item data selection user must be able to select blank value in case he

  • HP D110 All-in-one Printer thinks there is no paper but there is.

    Hi all- I have had a problem with this printer, despite multiple troubleshooting attempts and downloading the HP Printer Diagnostics program, for 6 months. It says there is no paper in the tray. Clearly there is. I have even watched the illustration

  • 15" macbook pro heat/abuse limitations

    ok. Im about to buy a 15" MBP with the retina and the 2.8GHZ quad i7 procesor and the nvidia 650m and the beautiful 16g memory. ive always owned PCs and have put em through some taxings games and applications. how hot can you get these peices of hard

  • Incoming called URI number manipulation in Call manager 10.5

    Dear Experts, can we manipulate the called URI number like we manipulate the digits (e.g Translation pattern) ? can we have manipulate the incoming called number to match a route pattern for eg. the called uri is 955XXXX@CUCM-address route pattern 95

  • How to call labview DLL from C#, passing char, char[], float[], long, short

    Hi, I'm having trouble calling labview dll from C# to perform certain function. The function supposed to return the values in the float Analysis[] array. However, when I execute it it only returns zero values. It seems that some parameters are not pr