How to put an end to my monthly storage iCloud - iPad

I want to put an end to my monthly storage iCloud on my iPad.  How do I do this without losing the photos, applications etc. that are already on the cloud?

Rosalind

Mmake that all your files are copied or synced to your computer. Then only unsubscribe icloud.

Tags: iCloud

Similar Questions

  • How can I cancel my monthly storage iCloud?

    Can how I cancel my monthly storage iCloud?

    iPhone, iPad, or iPod touch:

    1. If you use the iOS 8 or later, go to settings > iCloud > storage. If you are using an older version of iOS, go to settings > iCloud > storage and backup
    2. Tap buy more storage or change storage Plan.
    3. Choose an upgrade, then buy and enter your Apple ID.

    iCloud and downgrades - Apple Support storage upgrades

  • How many documents can contain 50 GB of storage iCloud?

    I think to upgrade my storage iCloud to plan.99 $50 GB and I was wondering how many documents (Pages, Numbers, Keynote, Word, Exel, Powerpoint) that will contain.  I tried Bing and Google to get the answer, but so far they have been no help.  I would like to just a detroit direct answer to my question.  If someone could help me with this I would be very happy, thank you.

    Unfortunately this is not something that can be easily or accurately answered, as the number of documents, you can place in the 50 GB would be directly related to the file size of the combined documents.   Its like asking how many pounds you can put in a box of some dimensions? Well its going to depend on the size of the books.

    If you have documents, what size of file is about 5 MB (megabytes) you could probably get about 10 000 these documents in 50 GB. But if you have files of 10 MB (presentations, large spreadsheets etc...)  Then you would be able to adapt the 5 000 files instead.

    Keynote and PowerPoint presentations are usually larger than text documents.

  • How can I remove the documents in my storage iCloud on my Mac with IOS Sierra?

    How can I remove my documents on storage iCloud, and how I can cancel with documents stored in iCloud?

    Select them and press Delete on your keyboard.

  • Determine the end of the month and then run the script

    Hi all

    OK, I'm stumped. I can get all kinds of data to date... but I did not find a way (or the same example script) that shows how to retrieve the end of the month.


    Why?


    I have a master script that runs as a scheduled task. It runs every day and call other scripts based on the date. It is great for things like weekly reports that I just used $dow = {get-date}. DayofWeek but I need to run scripts at the end of the month.

    I can something together that gets the day, and then performs a logical ugly pop-based < or > but I don't know there's a smoother way to do.

    As always, any help greatly appreciated.

    See you soon

    Hello, medalklector-

    One way to do it, it is described by RMToups, Jr. at http://activelydirect.blogspot.com/2011/01/determine-last-day-of-month-in.html.  You should be able to set the output to fit your needs.  How does do for you?

  • I often get frequent blue screens on internet sites. Blue screen too fast for me to record specific error message. How can I put an end to the blue screen to get the error message?

    frequent blue screens often to internet sites.  Blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    en blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    If your computer is restarted when the BSOD appears, then you must change the by default for what to do in case of system error. It is easy to do, but takes a lot of mouse clicks to get there:

    Start | Control Panel | System | Advanced system settings (need for credentials for the administrator to spend here |) Advanced | Startup and recovery / settings.

    On this screen, uncheck the box under system failure that says automatically restart. The next time the BSOD appears, your computer will not do anything else until you press the reset button, so you'll have all the time you need to read and copy the error codes. Paste here, verbatim, and someone should be able to point in the right direction.

    ``````~~~~`````

    In the control panel choose reports on problems and Solutions (problem of type in the START search box), go to historical problem, right-click your error and choose check for the Solution. You can also examine the details.

    In administrative tools, choose the reliability and performance monitor and click on MonitoringTools then the reliability monitor (type reliability in research on Start). This list is a chart of the software installs, uninstalls, updated Windows and crashes by date. See if your plant has started to happen after you installed or uninstalled something.

    It may be useful to eliminate equipment defects

    Type of memory in the search box of start and choose Memory diagnosis

    In a command prompt (type command in the start search box then right click and choose Run as administrator) type

    CHKDSK c: /r

    If you have more than one drive replace C: with the other drive letters.

    Search for corrupted files by typing at the command prompt

    sfc/scannow

    You can clean boot troubleshooting http://support.microsoft.com/kb/331796

  • What the F... How difficult it must be to put an end to an order, only speaking in Indian English, no att communication all in standard internet communication, like all easy doors are closed, couhgt I have a trap.

    What the F... How difficult it must be to put an end to an order, only speaking in Indian English, no att communication all in standard internet communication, like all easy doors are closed, couhgt I have a trap.

    Hello

    I apologize for the inconvenience, you face.

    Please confirm if you wish to cancel your Adobe membership?

    Kind regards

    Sheena

  • Portege M400-S4031: how to change the end of the pen?

    I have a Portege M400-S4031.
    How to change the end of the pen?

    Hello

    I put t know if you hear this part but check this page:
    http://www3.shopping.com/xPO-5PK_TABLET_PEN_REPLACEMENT_NIBS_AND_NIB_PULLER

    I studied in this forum and bingo! I found this very same topic:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=16807&MessageID=61264

    I hope that helps!

  • How to put all through traffic the easy vpn client VPN server

    Hi people

    I want to ask you, how to put all of the server the easy vpn client VPN traffic through.

    I mean, I have a server vpn at home, and if I connect to the vpn from outside server, to be with an IP address of my home.

    There is the configuration up to now. Where is the problem?

    ROUTER1 #sh running-config

    Building configuration...

    Current configuration: 5744 bytes

    !

    ! Last configuration change at 19:51:18 UTC Wed Sep 4 2013 by cska

    !

    version 15.1

    horodateurs service debug datetime msec

    Log service timestamps datetime msec

    no password encryption service

    !

    ROUTER1 hostname

    !

    boot-start-marker

    usbflash0:CVO boot-BOOT Setup. CFG

    boot-end-marker

    !

    !

    !

    AAA new-model

    !

    !

    AAA authentication login ciscocp_vpn_xauth_ml_1 local

    AAA authorization ciscocp_vpn_group_ml_1 LAN

    !

    !

    !

    !

    !

    AAA - the id of the joint session

    !

    Service-module wlan-ap 0 autonomous bootimage

    Crypto pki token removal timeout default 0

    !

    Crypto pki trustpoint TP-self-signed-1604488384

    enrollment selfsigned

    name of the object cn = IOS - Self - signed - certificate - 1604488384

    revocation checking no

    !

    !

    TP-self-signed-1604488384 crypto pki certificate chain

    certificate self-signed 01

    3082022B 30820194 02020101 300 D 0609 2A 864886 F70D0101 04050030 A0030201

    2 060355 04031326 494F532D 53656 C 66 2 AND 536967 6E65642D 43657274 31312F30

    69666963 31363034 34383833 6174652D 3834301E 170 3133 30383239 31313539

    32395A 17 0D 323030 31303130 30303030 305A 3031 06035504 03132649 312F302D

    4F532D53 5369676E 656C662D 43 65727469 66696361 74652 31 36303434 65642D

    38383338 3430819F 300 D 0609 2A 864886 01050003, 818, 0030, 81890281 F70D0101

    8100CD 57 F1436ED2 8D9E8B99 B6A76D45 FE56716D D99765A9 1722937C F5603F9F

    528E27AF 87A24C3D 276FBA1C A5E7C580 CE99748E 39458C 74 862C 2870 16E29F75

    7A7930E1 15FA5644 D7ECF257 BF46C470 A3A17AEB 7AB56194 68BFB803 144B7B10

    D3722BDD D1FD5E99 8068B77D A1703059 9F0578C7 F7473811 0421490D 627F25C5

    4 HAS 250203 010001A 3 53305130 1 130101 FF040530 030101FF 301F0603 0F060355

    551 2304 18301680 141B 1326 C111DF7F 9F4ED888 EFE2999A 4C50CDD8 06 12301

    03551D0E 04160414 1B1326C1 11DF7F9F 4ED888EF E2999A4C 50CDD812 300 D 0609

    2A 864886 04050003 81810096 BD0C2B16 799DB6EE E2C9B7C4 72FEAAAE F70D0101

    FF87465C FB7C5248 CFA08E68 522EA08A 4B18BF15 488D D53D9A43 CB400B54 8006

    CB21BDFB AA27DA9C C79310B6 BC594A7E D6EDF81D 0DB7D2C1 9EF7251B 19A 75403

    211B1E6B 840FE226 48656E9F 67DB4A93 CE75045B A986F0AD 691EE188 7FB86D3F

    E43934FA 3D62EC90 8F37590B 618B0C

    quit smoking

    IP source-route

    !

    !

    !

    !

    CISCO dhcp IP pool

    import all

    network 192.168.1.0 255.255.255.0

    DNS-server 195.34.133.21 212.186.211.21

    default router 192.168.1.1

    !

    !

    IP cef

    No ipv6 cef

    !

    Authenticated MultiLink bundle-name Panel

    license udi pid CISCO892W-AGN-E-K9 sn FCZ1530C209

    !

    !

    username privilege 15 secret 5 cska $1$ $8j6G 2sMHqIxJX8MQU6vpr75gp1

    !

    !

    !

    !

    !

    !

    crypto ISAKMP policy 1

    BA 3des

    preshared authentication

    Group 2

    !

    Configuration group customer isakmp crypto VPNGR

    vpngroup key

    DNS 212.186.211.21 195.34.133.21

    WINS 8.8.8.8

    domain chello.at

    pool SDM_POOL_1

    ACL 120

    netmask 255.255.255.0

    ISAKMP crypto ciscocp-ike-profile-1 profile

    match of group identity VPNGR

    client authentication list ciscocp_vpn_xauth_ml_1

    ISAKMP authorization list ciscocp_vpn_group_ml_1

    client configuration address respond

    virtual-model 1

    !

    !

    Crypto ipsec transform-set esp-SHA-ESP-3DES-3des esp-sha-hmac

    !

    Profile of crypto ipsec CiscoCP_Profile1

    security association idle time 86400 value

    game of transformation-ESP-3DES-SHA

    set of isakmp - profile ciscocp-ike-profile-1

    !

    !

    Bridge IRB

    !

    !

    !

    !

    interface Loopback0

    192.168.4.1 IP address 255.255.255.0

    IP nat inside

    IP virtual-reassembly in

    !

    interface BRI0

    no ip address

    encapsulation hdlc

    Shutdown

    Multidrop ISDN endpoint

    !

    interface FastEthernet0

    !

    interface FastEthernet1

    !

    interface FastEthernet2

    !

    interface FastEthernet3

    !

    interface FastEthernet4

    !

    interface FastEthernet5

    !

    FastEthernet6 interface

    !

    interface FastEthernet7

    !

    interface FastEthernet8

    no ip address

    Shutdown

    automatic duplex

    automatic speed

    !

    type of interface virtual-Template1 tunnel

    IP unnumbered Loopback0

    ipv4 ipsec tunnel mode

    Tunnel CiscoCP_Profile1 ipsec protection profile

    !

    interface GigabitEthernet0

    Description Internet

    0023.5a03.b6a5 Mac address

    customer_id GigabitEthernet0 dhcp IP address

    NAT outside IP

    IP virtual-reassembly in

    automatic duplex

    automatic speed

    !

    wlan-ap0 interface

    description of the Service interface module to manage the embedded AP

    192.168.9.2 IP address 255.255.255.0

    ARP timeout 0

    !

    interface GigabitEthernet0 Wlan

    Description interface connecting to the AP the switch embedded internal

    !

    interface Vlan1

    no ip address

    Bridge-Group 1

    Bridge-Group 1 covering-disabled people

    !

    interface BVI1

    IP 192.168.1.1 255.255.255.0

    IP nat inside

    IP virtual-reassembly in

    !

    local IP SDM_POOL_1 192.168.4.3 pool 192.168.4.245

    IP forward-Protocol ND

    !

    !

    IP http server

    local IP http authentication

    IP http secure server

    overload of IP nat inside source list 110 interface GigabitEthernet0

    IP nat inside source static tcp 192.168.1.5 3389 interface GigabitEthernet0 3389

    IP nat inside source static udp 192.168.1.5 3389 interface GigabitEthernet0 3389

    IP nat inside source static tcp 192.168.1.5 21 interface GigabitEthernet0 21

    IP nat inside source static udp 192.168.1.5 21 interface GigabitEthernet0 21

    IP nat inside source static tcp 192.168.1.4 3389 interface GigabitEthernet0 3390

    IP nat inside source static udp 192.168.1.4 3389 interface GigabitEthernet0 3390

    overload of IP nat inside source list 120 interface GigabitEthernet0

    IP route 0.0.0.0 0.0.0.0 dhcp

    !

    exploitation forest esm config

    access list 101 ip allow a whole

    access-list 110 permit ip 192.168.1.0 0.0.0.255 any

    access list 111 permit tcp any any eq 3389

    access-list 120 allow ip 192.168.4.0 0.0.0.255 any

    !

    !

    !

    !

    !

    !

    !

    control plan

    !

    Bridge Protocol ieee 1

    1 channel ip bridge

    !

    Line con 0

    line 2

    no activation-character

    No exec

    preferred no transport

    transport of entry all

    transport output pad rlogin udptn ssh telnet

    line to 0

    line vty 0 4

    privilege level 15

    preferred transport ssh

    entry ssh transport

    transportation out all

    !

    Thanks in advance

    To do this you must make the following changes:

    (1) disable split Tunneling by deleting the ACL of your configuration of the client group.
    (2) enable NAT for VPN traffic by adding 'ip nat inside' to your virtual model of the client network to the ACL that controls your PAT.

    Edit: Theses are the changes to your config (also with a little cleaning):

    Configuration group customer isakmp crypto VPNGR

    No 120 LCD

    !

    type of interface virtual-Template1 tunnel

    IP nat inside

    !

    no nat ip inside the source list 120 interface GigabitEthernet0 overload

    !

    access-list 110 permit ip 192.168.4.0 0.0.0.255 any

    no access-list 120 allow ip 192.168.4.0 0.0.0.255 any

    Sent by Cisco Support technique iPad App

  • TIME REMAINING IN SECONDS FROM THE END OF THE MONTH

    Dear all,

    How to calculate the time remaining is seconds to the end of the month?

    time difference in seconds of sysdate to the last day of the month till 23:59:59

    Thanks in advance

    Hello

    SELECT (ADD_MONTHS (TRUNC (SYSDATE, 'MONTH')

    1

    )

    -SYSDATE

    ) * 24 * 60 * 60 AS seconds_left

    DOUBLE;

    SYSDATE is the date and time.

    TRUNC (SYSDATE, 'MONTH') is the beginning of the current month

    ADD_MONTHS (TRUNC (SYSDATE, 'MONTH'), 1) is the beginning of the next month

    ADD_MONTHS (TRUNC (SYSDATE, 'MONTH'), 1)-SYSDATE is the number of days (not necessarily an integer) by the end of the month

    (ADD_MONTHS (TRUNC (SYSDATE, 'MONTH'), 1)-SYSDATE) * 24 is the number of hours (not necessarily an integer) by the end of the month

    ...

  • Put an end to my creative cloud account

    Hi, I would like to put an end to one of my two accounts of creative cloud that I don't need more. How can I do this? Help, please. See you soon.

    To do this, contact support.

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    https://helpx.Adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp

    Concerning

    Stéphane

  • Member IF ('A1' &gt; 0) formula, THEN put an END to 'A1' + IF ("A2" &gt; 0) THEN 'A2' END

    Hallo,

    how it is possible to create members as
    IF ('A1' > 0), THEN put an END to 'A1' + IF ("A2" > 0) THEN put an END to 'A2 '.

    thx a lot

    Funny, I present this as part of my way of thinking outside of the box presentation to KScope. As a more general formula without if statements that you could do

    'A1' * ('A1' > 0) + "a2" * ("A2" > 0);
    A1 > 0 return 0 if it is 0 or negative, and 1 if it is positive. Ditto for the comparison of the A2. The only problem with this is that you will get zeros if both are negative. to be more complete, you will need to

    'A1' * ('A1' > 0 /("A1">0) + "a2" * ("A2" > 0 / ("A2" > 0);))

    from A1 will be equal to 0 or 1 you get 1/1 which = 1 or 0/0, which = #missing all time #missing is #missing

  • How to put my Pro 8 to the latest version.  Windows 7

    How to put my Pro 8 to the latest version.  Windows 7

    Please go to Adobe.com and you can buy the version upgrade to Acrobat 11 or now you can also buy monthly or annual 11 Acrobat on Adobe.com

    Kind regards

    Jatin derfoufi

  • Error: Put an end to this cluster node due to unrecoverable service failure

    Our group had some kind of fault which appeared only today. The origin seems to have been almost a month ago, but the symptoms have shown barely.

    The node in question is a stand-alone instance running a DistributedCache service with local storage. It produces the following to standard output the Jan-22:

    Coherence < error >: put an end to this cluster node due to unrecoverable service failure

    It has definitely failed today with OutOfMemoryError: Java heap space.

    We lack consistency - 3.5.2.jar.

    Q1: Looks like this node failed on Jan - 22 and yet we have not noticed. What is the best way to monitor the status of the node?
    Q2: What could be the root cause of such a mistake?

    I found the following in the log:

    2011-01-22 01:18:58, 296 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:18:58.296/9910749.462 Oracle coherence EE 3.5.2/463 < error > (thread = Cluster, Member = 33): attempt to retrieve (due to soft timeout) guard {Daemon = DistributedCache}
    2011-01-22 01:18:58, 296 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:18:58.296/9910749.462 Oracle coherence EE 3.5.2/463 < error > (thread = Cluster, Member = 33): attempt to retrieve (due to soft timeout) guard {Daemon = DistributedCache}
    2011-01-22 01:19:04, 772 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:04.772/9910755.938 Oracle coherence EE 3.5.2/463 < error > (thread = Cluster, Member = 33): termination monitored running (due to hard timeout) guard {Daemon = DistributedCache}
    2011-01-22 01:19:04, 772 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:04.772/9910755.938 Oracle coherence EE 3.5.2/463 < error > (thread = Cluster, Member = 33): termination monitored running (due to hard timeout) guard {Daemon = DistributedCache}
    2011-01-22 01:19:05, 785 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:05.785/9910756.951 Oracle coherence EE 3.5.2/463 < error > (thread = thin wire, Member = 33): Full Thread Dump

    Thread [reference Manager 10, System]
    java.lang.Object.wait (Native Method)
    java.lang.Object.wait(Object.java:485)
    java.lang.ref.Reference$ ReferenceHandler.run (Reference.java:116)

    Thread [DistributedCache, 5, Cluster]
    java.nio.Bits.copyToByteArray (Native Method)
    java.nio.DirectByteBuffer.get(DirectByteBuffer.java:224)
    com.tangosol.io.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:123)
    java.io.DataInputStream.readFully(DataInputStream.java:178)
    java.io.DataInputStream.readFully(DataInputStream.java:152)
    com.tangosol.util.Binary.readExternal(Binary.java:1066)
    com.tangosol.util.Binary. < init > (Binary.java:183)
    com.tangosol.io.nio.BinaryMap$ Block.readValue (BinaryMap.java:4304)
    com.tangosol.io.nio.BinaryMap$ Block.getValue (BinaryMap.java:4130)
    com.tangosol.io.nio.BinaryMap.get(BinaryMap.java:377)
    com.tangosol.io.nio.BinaryMapStore.load(BinaryMapStore.java:64)
    com.tangosol.net.cache.SerializationPagedCache$ WrapperBinaryStore.load (SerializationPagedCache.java:1547)
    com.tangosol.net.cache.SerializationPagedCache$ PagedBinaryStore.load (SerializationPagedCache.java:1097)
    com.tangosol.net.cache.SerializationMap.get(SerializationMap.java:121)
    com.tangosol.net.cache.SerializationPagedCache.get(SerializationPagedCache.java:247)
    com.tangosol.net.cache.AbstractSerializationCache$ 1.getOldValue(AbstractSerializationCache.java:315)
    com.tangosol.net.cache.OverflowMap$ Status.registerBackEvent (OverflowMap.java:4210)
    com.tangosol.net.cache.OverflowMap.onBackEvent(OverflowMap.java:2316)
    com.tangosol.net.cache.OverflowMap$ BackMapListener.onMapEvent (OverflowMap.java:4544)
    com.tangosol.util.MultiplexingMapListener.entryDeleted(MultiplexingMapListener.java:49)
    com.tangosol.util.MapEvent.dispatch(MapEvent.java:214)
    com.tangosol.util.MapEvent.dispatch(MapEvent.java:166)
    com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
    com.tangosol.net.cache.AbstractSerializationCache.dispatchEvent(AbstractSerializationCache.java:338)
    com.tangosol.net.cache.AbstractSerializationCache.dispatchPendingEvent(AbstractSerializationCache.java:321)
    com.tangosol.net.cache.AbstractSerializationCache.removeBlind(AbstractSerializationCache.java:155)
    com.tangosol.net.cache.SerializationPagedCache.removeBlind(SerializationPagedCache.java:348)
    com.tangosol.util.AbstractKeyBasedMap$ KeySet.remove (AbstractKeyBasedMap.java:556)
    com.tangosol.net.cache.OverflowMap.removeInternal(OverflowMap.java:1299)
    com.tangosol.net.cache.OverflowMap.remove(OverflowMap.java:380)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ Storage.clear (DistributedCache.CDB:24)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onClearRequest(DistributedCache.CDB:32)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ ClearRequest.run (DistributedCache.CDB:1)
    com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheRequest.onReceived(DistributedCacheRequest.CDB:12)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [finalizer, 8, System]
    java.lang.Object.wait (Native Method)
    java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    java.lang.ref.Finalizer$ FinalizerThread.run (Finalizer.java:159)

    Thread [PacketReceiver, 7, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onWait(PacketReceiver.CDB:2)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [RMI TCP Accept 0, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketSpeaker, 8, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.queue.ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
    com.tangosol.coherence.component.util.queue.ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
    com.tangosol.coherence.component.util.Queue.remove(Queue.CDB:1)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketSpeaker.onNotify(PacketSpeaker.CDB:62)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread[logger@9216774 3.5.2/463,3,main]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketListener1, 8, Cluster]
    java.net.PlainDatagramSocketImpl.receive0 (Native Method)
    java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    java.net.DatagramSocket.receive(DatagramSocket.java:712)
    com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
    com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [main, 5, main]
    java.lang.Object.wait (Native Method)
    com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:79)
    com.networkfleet.cacheserver.Launcher.main(Launcher.java:122)

    Thread [dispatcher Signal, 9, System]

    Thread [RMI TCP Accept-41006, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Cluster thread
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [TcpRingListener, 6, Cluster]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    com.tangosol.coherence.component.net.socket.TcpSocketAccepter.accept(TcpSocketAccepter.CDB:18)
    com.tangosol.coherence.component.util.daemon.TcpRingListener.acceptConnection(TcpRingListener.CDB:10)
    com.tangosol.coherence.component.util.daemon.TcpRingListener.onNotify(TcpRingListener.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketPublisher, 6, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.onWait(PacketPublisher.CDB:2)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [RMI TCP Accept 0, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.management.jmxremote.LocalRMIServerSocketFactory$ 1.accept(LocalRMIServerSocketFactory.java:34)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketListenerN, 8, Cluster]
    java.net.PlainDatagramSocketImpl.receive0 (Native Method)
    java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    java.net.DatagramSocket.receive(DatagramSocket.java:712)
    com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
    com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [Invocation: management, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [DistributedCache:PofDistributedCache, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [Invocation: management: EventDispatcher, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.Service$ EventDispatcher.onWait (Service.CDB:7)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [Thread termination, 5, Cluster]
    java.lang.Thread.dumpThreads (Native Method)
    java.lang.Thread.getAllStackTraces(Thread.java:1487)
    sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.tangosol.net.GuardSupport.logStackTraces(GuardSupport.java:791)
    com.tangosol.coherence.component.net.Cluster.onServiceFailed(Cluster.CDB:5)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ Guard.terminate (Grid.CDB:17)
    com.tangosol.net.GuardSupport$ 2.run(GuardSupport.java:652)
    java.lang.Thread.run(Thread.java:619)

    2011-01-22 01:19:05, 785 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:05.785/9910756.951 Oracle coherence EE 3.5.2/463 < error > (thread = thin wire, Member = 33): Full Thread Dump

    Thread [reference Manager 10, System]
    java.lang.Object.wait (Native Method)
    java.lang.Object.wait(Object.java:485)
    java.lang.ref.Reference$ ReferenceHandler.run (Reference.java:116)

    Thread [DistributedCache, 5, Cluster]
    java.nio.Bits.copyToByteArray (Native Method)
    java.nio.DirectByteBuffer.get(DirectByteBuffer.java:224)
    com.tangosol.io.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:123)
    java.io.DataInputStream.readFully(DataInputStream.java:178)
    java.io.DataInputStream.readFully(DataInputStream.java:152)
    com.tangosol.util.Binary.readExternal(Binary.java:1066)
    com.tangosol.util.Binary. < init > (Binary.java:183)
    com.tangosol.io.nio.BinaryMap$ Block.readValue (BinaryMap.java:4304)
    com.tangosol.io.nio.BinaryMap$ Block.getValue (BinaryMap.java:4130)
    com.tangosol.io.nio.BinaryMap.get(BinaryMap.java:377)
    com.tangosol.io.nio.BinaryMapStore.load(BinaryMapStore.java:64)
    com.tangosol.net.cache.SerializationPagedCache$ WrapperBinaryStore.load (SerializationPagedCache.java:1547)
    com.tangosol.net.cache.SerializationPagedCache$ PagedBinaryStore.load (SerializationPagedCache.java:1097)
    com.tangosol.net.cache.SerializationMap.get(SerializationMap.java:121)
    com.tangosol.net.cache.SerializationPagedCache.get(SerializationPagedCache.java:247)
    com.tangosol.net.cache.AbstractSerializationCache$ 1.getOldValue(AbstractSerializationCache.java:315)
    com.tangosol.net.cache.OverflowMap$ Status.registerBackEvent (OverflowMap.java:4210)
    com.tangosol.net.cache.OverflowMap.onBackEvent(OverflowMap.java:2316)
    com.tangosol.net.cache.OverflowMap$ BackMapListener.onMapEvent (OverflowMap.java:4544)
    com.tangosol.util.MultiplexingMapListener.entryDeleted(MultiplexingMapListener.java:49)
    com.tangosol.util.MapEvent.dispatch(MapEvent.java:214)
    com.tangosol.util.MapEvent.dispatch(MapEvent.java:166)
    com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
    com.tangosol.net.cache.AbstractSerializationCache.dispatchEvent(AbstractSerializationCache.java:338)
    com.tangosol.net.cache.AbstractSerializationCache.dispatchPendingEvent(AbstractSerializationCache.java:321)
    com.tangosol.net.cache.AbstractSerializationCache.removeBlind(AbstractSerializationCache.java:155)
    com.tangosol.net.cache.SerializationPagedCache.removeBlind(SerializationPagedCache.java:348)
    com.tangosol.util.AbstractKeyBasedMap$ KeySet.remove (AbstractKeyBasedMap.java:556)
    com.tangosol.net.cache.OverflowMap.removeInternal(OverflowMap.java:1299)
    com.tangosol.net.cache.OverflowMap.remove(OverflowMap.java:380)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ Storage.clear (DistributedCache.CDB:24)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onClearRequest(DistributedCache.CDB:32)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ ClearRequest.run (DistributedCache.CDB:1)
    com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheRequest.onReceived(DistributedCacheRequest.CDB:12)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [finalizer, 8, System]
    java.lang.Object.wait (Native Method)
    java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    java.lang.ref.Finalizer$ FinalizerThread.run (Finalizer.java:159)

    Thread [PacketReceiver, 7, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onWait(PacketReceiver.CDB:2)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [RMI TCP Accept 0, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketSpeaker, 8, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.queue.ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
    com.tangosol.coherence.component.util.queue.ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
    com.tangosol.coherence.component.util.Queue.remove(Queue.CDB:1)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketSpeaker.onNotify(PacketSpeaker.CDB:62)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread[logger@9216774 3.5.2/463,3,main]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketListener1, 8, Cluster]
    java.net.PlainDatagramSocketImpl.receive0 (Native Method)
    java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    java.net.DatagramSocket.receive(DatagramSocket.java:712)
    com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
    com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [main, 5, main]
    java.lang.Object.wait (Native Method)
    com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:79)
    com.networkfleet.cacheserver.Launcher.main(Launcher.java:122)

    Thread [dispatcher Signal, 9, System]

    Thread [RMI TCP Accept-41006, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Cluster thread
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [TcpRingListener, 6, Cluster]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    com.tangosol.coherence.component.net.socket.TcpSocketAccepter.accept(TcpSocketAccepter.CDB:18)
    com.tangosol.coherence.component.util.daemon.TcpRingListener.acceptConnection(TcpRingListener.CDB:10)
    com.tangosol.coherence.component.util.daemon.TcpRingListener.onNotify(TcpRingListener.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketPublisher, 6, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.onWait(PacketPublisher.CDB:2)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [RMI TCP Accept 0, 5, System]
    java.net.PlainSocketImpl.socketAccept (Native Method)
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    java.net.ServerSocket.implAccept(ServerSocket.java:453)
    java.net.ServerSocket.accept(ServerSocket.java:421)
    sun.management.jmxremote.LocalRMIServerSocketFactory$ 1.accept(LocalRMIServerSocketFactory.java:34)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.executeAcceptLoop (TCPTransport.java:369)
    sun.rmi.transport.tcp.TCPTransport$ AcceptLoop.run (TCPTransport.java:341)
    java.lang.Thread.run(Thread.java:619)

    Thread [PacketListenerN, 8, Cluster]
    java.net.PlainDatagramSocketImpl.receive0 (Native Method)
    java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    java.net.DatagramSocket.receive(DatagramSocket.java:712)
    com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
    com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    java.lang.Thread.run(Thread.java:619)

    Thread [Invocation: management, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [DistributedCache:PofDistributedCache, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:9)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [Invocation: management: EventDispatcher, 5, Cluster]
    java.lang.Object.wait (Native Method)
    com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
    com.tangosol.coherence.component.util.daemon.queueProcessor.Service$ EventDispatcher.onWait (Service.CDB:7)
    com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
    java.lang.Thread.run(Thread.java:619)

    Thread [Thread termination, 5, Cluster]
    java.lang.Thread.dumpThreads (Native Method)
    java.lang.Thread.getAllStackTraces(Thread.java:1487)
    sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.tangosol.net.GuardSupport.logStackTraces(GuardSupport.java:791)
    com.tangosol.coherence.component.net.Cluster.onServiceFailed(Cluster.CDB:5)
    com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ Guard.terminate (Grid.CDB:17)
    com.tangosol.net.GuardSupport$ 2.run(GuardSupport.java:652)
    java.lang.Thread.run(Thread.java:619)

    2011-01-22 01:19:06, 738 consistency Logger@9216774 3.5.2/463 INFO 2011-01-22 01:19:06.738/9910757.904 Oracle coherence EE 3.5.2/463 < Info > (thread = main, Member = 33): Restarting Service: DistributedCache
    2011-01-22 01:19:06, 738 consistency Logger@9216774 3.5.2/463 INFO 2011-01-22 01:19:06.738/9910757.904 Oracle coherence EE 3.5.2/463 < Info > (thread = main, Member = 33): Restarting Service: DistributedCache
    2011-01-22 01:19:06, 738 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:06.738/9910757.904 Oracle coherence EE < error > 3.5.2/463 (thread = main, Member = 33): could not restart services: java.lang.IllegalStateException: failed to unregister: Distr
    butedCache {Name = DistributedCache State = (SERVICE_STARTED), LocalStorage = active, PartitionCount = 257, BackupCount = 1, AssignedPartitions = 16, BackupPartitions = 16}
    2011-01-22 01:19:06, 738 consistency Logger@9216774 3.5.2/463 ERROR 2011-01-22 01:19:06.738/9910757.904 Oracle coherence EE < error > 3.5.2/463 (thread = main, Member = 33): could not restart services: java.lang.IllegalStateException: failed to unregister: Distr
    butedCache {Name = DistributedCache State = (SERVICE_STARTED), LocalStorage = active, PartitionCount = 257, BackupCount = 1, AssignedPartitions = 16, BackupPartitions = 16}

    Hello

    It seems that the problem is in this case the call to clear() which will attempt to load all the entries stored in the overflow system to emit events of cache to the listeners. Probably, this requires much more memory, there are lots of Java available, so the OOM.

    Our recommendation in that case is to call destroy() as this will bypass the same shot.

    / Charlie

  • The end of the month selection

    Hi all

    We have a table say xyz with two columns month_cd and end_date where month is a code for each month and the end of the month is an end date of the regular calendar months and months where the end of the month is a day of weekend so for these months End_date is entered by a user in this table by another application. and we will have this information for al months in privious and current of the year

    for ex:

    Month_cd end_date
    201101 01/30/2011
    201102 03/04/2011
    201103 03/31/2011
    201104 04/30/2011
    201105 06/04/2011

    Now I have pick months based on the end_date, I mean everytime I run a query to select month_cd it must show date of cd for the month up to the endof month (maybe not a calendar end date)

    How can achieve us? Please help me.

    SQL and PL - SQL forum would be more appropriate for this type of question, and you should always mention the full version of Oracle you are using (for example, 10.2.0.4).

    Depending on the version of Oracle, there are several possible solutions. Here are a few that you can try:

    --sample data:
    with t as (
    select 201101 as month_cd, to_date('01/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201102 as month_cd, to_date('03/04/2011','mm/dd/yyyy') as end_date from dual union all
    select 201103 as month_cd, to_date('03/31/2011','mm/dd/yyyy') as end_date from dual union all
    select 201104 as month_cd, to_date('04/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201105 as month_cd, to_date('06/04/2011','mm/dd/yyyy') as end_date from dual
    )
    --end of sample data
    select max(month_cd) keep (dense_rank first order by case when end_date >= trunc(sysdate) then end_date end nulls last) as month_cd
    from t;
    
    --sample data:
    with t as (
    select 201101 as month_cd, to_date('01/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201102 as month_cd, to_date('03/04/2011','mm/dd/yyyy') as end_date from dual union all
    select 201103 as month_cd, to_date('03/31/2011','mm/dd/yyyy') as end_date from dual union all
    select 201104 as month_cd, to_date('04/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201105 as month_cd, to_date('06/04/2011','mm/dd/yyyy') as end_date from dual
    )
    --end of sample data
    select month_cd from (
    select month_cd, end_date, (lag(end_date,1,to_date('01/01/1900','mm/dd/yyyy')) over(order by end_date))+1 as begin_date
    from t
    )
    where trunc(sysdate) between begin_date and end_date
    ;
    

    or

    --sample data:
    with t as (
    select 201101 as month_cd, to_date('01/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201102 as month_cd, to_date('03/04/2011','mm/dd/yyyy') as end_date from dual union all
    select 201103 as month_cd, to_date('03/31/2011','mm/dd/yyyy') as end_date from dual union all
    select 201104 as month_cd, to_date('04/30/2011','mm/dd/yyyy') as end_date from dual union all
    select 201105 as month_cd, to_date('06/04/2011','mm/dd/yyyy') as end_date from dual
    )
    --end of sample data
    select month_cd
    from t
    where end_date=(
      select min(end_date)
      from t where end_date >= trunc(sysdate)
      )
    ;
    

    Kind regards
    Bob

Maybe you are looking for

  • iPhone 5 Gets the apple logo, but does not start

    My iphone 5 won't start/start. Appearance of the Apple logo on a black background, but eventually, the screen will Dim. The last update of the operating system has not happened because she would not complete the upgrade process and I gave up. Any rec

  • Mixing in 5.1 without material surround

    I recently bought NX of waves which, among other features, allows you to mix 5.1 in your headphones. I would like to test this feature on but may not know how to set up a surround project in logic. I find myself always with stereo, which means that I

  • Stack Bluetooth for Windows XP 64-bit edition?

    Hello I recently bought a LevelOne Bluetooth USB, which contained the Toshiba Bluetooth Stack on its driver CD. Unfortunately I can not use this battery on my 64-bit edition of Windows XP, as Setup installs only the monitor, but not the necessary dri

  • Driver problem Keithley 27xx

    I downloaded the driver and unpacked to C:\Program NIUninstaller Instruments\LabVIEW 2009\instr.lib\ke27xx I'm trying to access the files from the example and it keeps telling me that it cannot find the files... I added it below. They are there, I ch

  • New configuration of the printer without cartridge installation

    I have client of mine recently bought a Photosmart 7520 and had problems of implementation. When I went to check, said naturally printer "Please insert cartridges setup." They were told by the geniuses at Best Buy, the printer did not come with ink a