Speed up per day calculation

Hi,
I want to speed up /change below query.
WITH unique_runs AS
        SELECT     date'2012-01-01' AS day_date, 1 AS item_id, 1 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION
     SELECT     date'2012-01-01' AS day_date, 2 AS item_id, 2 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION
     SELECT     date'2012-01-01' AS day_date, 3 AS item_id, 3 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION
     SELECT     date'2012-01-02' AS day_date, 1 AS item_id, 4 AS exec_id, 1 AS num_passed, 0 AS num_failed FROM dual UNION
     SELECT     date'2012-01-02' AS day_date, 2 AS item_id, 5 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION
     SELECT     date'2012-01-02' AS day_date, 3 AS item_id, 6 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION
     SELECT     date'2012-01-03' AS day_date, 2 AS item_id, 7 AS exec_id, 1 AS num_passed, 0 AS num_failed FROM dual UNION
        SELECT     date'2012-01-03' AS day_date, 3 AS item_id, 8 AS exec_id, 0 AS num_passed, 1 AS num_failed FROM dual UNION           
     SELECT     date'2012-01-05' AS day_date, 3 AS item_id, 9 AS exec_id, 1 AS num_passed, 0 AS num_failed FROM dual
unique_runs_date_range AS
     SELECT     MAX(day_date) AS max_date,
               MIN(day_date) AS min_date
     FROM     unique_runs
unique_runs_summary AS
     SELECT     lstrun.day_date,
               SUM(lstrun.num_passed) AS num_passed,
               SUM(lstrun.num_failed) AS num_failed
     FROM
          SELECT     d.date_day AS day_date,
                    u.item_Id,
                    u.exec_id,
                    num_passed,
                    num_failed,
                    ROW_NUMBER()
                    OVER
                              PARTITION BY u.item_Id,
                                        d.date_day
                              ORDER BY u.day_date DESC
                         ) AS row_date_rank_no
          FROM     ( SELECT date'2012-01-01' - 1 + level AS date_day FROM dual CONNECT BY LEVEL <= 8)  d,
               unique_runs                u,
               unique_runs_date_range     p
          WHERE      d.date_day BETWEEN p.min_date AND p.max_date
          AND          d.date_day >= u.day_date
          ) lstrun
     WHERE lstrun.row_date_rank_no = 1
     GROUP BY     lstrun.day_date
SELECT * FROM  unique_runs_summary
ORder BY day_dateIt is used for getting number of passed / failed items per date.
First part contains log from execution.
In unique_runs_summary I try get last execution Id for given item for given date.
Any advice for query or structure will be helpful.
Thanks,
Piotr

HOW To Make TUNING request
SQL and PL/SQL FAQ

Similar Messages

  • Per Diem Calculations for Single Day and Multiple Days

    Hi Gurus
    I have just now confronted a weird calculation of Per Diems.
    I have configured Per Diems for 1 Day say $50 per Day, irrespective of the no.of hours.
    When I create a trip for a single day, the system is calculating $50 Per DIem for one day.
    Whereas, when I create a trip for 3 days, the system is calculating only for Two days i.e, $50x2=$100 and not $150 as expected, meaning the lfirst and seond day gets calculated and the last day is not getting calculated
    Please let me know where I am missing the little configuration in order to let the system calculate for multiple days correctly ?
    This is an urgent requirement please.....Need help.
    Thank you
    RRoy

    Hi,
    As I told you earlier that there could be serval options which needs to be checked again.
    For example:
    a)  V_T702N_D
    b) Your per diem table
    I think if you have checked 24 hours in V_T702N_D , then please verify the trip duration on PR05
    If it was working earlier then below might help you...
    For Example:
    Start date/time 23-July-2011 Time 00:00
    End date/time 25-July-2011 Time 00:00
    Here above number of days are three (23,24,25) but calculation for meals shall be done for two days, because for three days per diem calculation it shall be 48:01 Hours  above is 48 Hours..
    Please try in PR05 and check the results.
    Start date/time 23-July-2011 Time 00:00
    End date/time 25-July-2011 Time 00:01
    So please check again and let know in case of problem..
    Regards,
    Muhammad Umer

  • Problem with Per diem calculation in Travel Management module

    Dear ALL,
    We have configured Travel Management module in SAP and we have an issue with per diem calculation, viz.,  whenever we add an additional destination in the trip (T.code TRIP). 
    Ex: Employee's travel plan from 10/8/2011 (06.00 hrs) to 13/8/2011 (06:00 hrs)... in 24 hrs format.  When the employee goes directly to one destination and coming back, the per diem calc is coming right.  i.e., per diem amount for 3 days. 
    But when we add additional destination between the trip period-  viz.,  either 10th eve (18.00 hrs) or on 11th Aug-  the per diem calc is being done by system for 4 days instead of 3 days only.
    In otherwords, for every additional destination in the itinerary, one extra per diem is being calculated (when we simulate in T.Code: PR05)
    Would appreciate guidance ASAP.
    Regards,
    Santosh

    hello,
    I am having similar kind of problem can you please share your solution
    Regards
    Sarthak Arora

  • IMac crashes several times per day. What is causing the issue?

    Here is the error report.
    I am always prompted to "report this issue to Apple" but never hear back as to what the issue actually is.
    Can someone decipher the "crash report"? 
    Thank you!
    Anonymous UUID:       90EECEB1-8B18-7E28-D93F-A28EA4557704
    Mon Jan 26 21:11:35 2015
    panic(cpu 0 caller 0xffffff8000e4e7fa): "A kext releasing a(n) OSData has corrupted the registry."@/SourceCache/xnu/xnu-2422.115.4/libkern/c++/OSObject.cpp:218
    Backtrace (CPU 0), Frame : Return Address
    0xffffff82ccfa3d90 : 0xffffff8000a22f79
    0xffffff82ccfa3e10 : 0xffffff8000e4e7fa
    0xffffff82ccfa3e60 : 0xffffff7f81e9251e
    0xffffff82ccfa3eb0 : 0xffffff7f81e948df
    0xffffff82ccfa3ee0 : 0xffffff7f81e9488f
    0xffffff82ccfa3ef0 : 0xffffff7f81e92cc9
    0xffffff82ccfa3f30 : 0xffffff7f81ed1e27
    0xffffff82ccfa3f50 : 0xffffff7f81ed1dd6
    0xffffff82ccfa3f70 : 0xffffff7f81ed1e4c
    0xffffff82ccfa3f90 : 0xffffff7f81ed1f40
    0xffffff82ccfa3fb0 : 0xffffff8000ad7607
          Kernel Extensions in backtrace:
             com.apple.iokit.IOBluetoothFamily(4.2.7f3)[7E5FC847-3012-3851-B67C-A1274D8D834F ]@0xffffff7f81e8d000->0xffffff7f81f29fff
                dependency: com.apple.iokit.IOUSBFamily(686.4.1)[815E4F64-F2D5-3847-931A-BE755698D993]@0xff ffff7f811fc000
                dependency: com.apple.iokit.IOReportFamily(23)[EE246983-FE6F-32F3-A5A0-88F3E3CDBA89]@0xffff ff7f81d3c000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13F34
    Kernel version:
    Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64
    Kernel UUID: 9477416E-7BCA-3679-AF97-E1EAAD3DD5A0
    Kernel slide:     0x0000000000800000
    Kernel text base: 0xffffff8000a00000
    System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)
    System uptime in nanoseconds: 17023306605484
    last loaded kext at 4898854516476: com.apple.driver.AppleUSBCDC 4.2.1b5 (addr 0xffffff7f83033000, size 20480)
    last unloaded kext at 6271896713280: com.apple.filesystems.exfat 1.4 (addr 0xffffff7f83026000, size 53248)
    loaded kexts:
    com.Perfect.Driver.SystemAudioRecorder 1.0.0
    com.Cycling74.driver.Soundflower 1.6.6
    com.apple.driver.AppleBluetoothMultitouch 80.14
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.iokit.IOBluetoothSerialManager 4.2.7f3
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AGPM 100.14.34
    com.apple.driver.ApplePlatformEnabler 2.0.9d7
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.AudioAUUC 1.60
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.GeForce 8.2.6
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.driver.AppleIntelHD5000Graphics 8.2.8
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.7f3
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleIntelFramebufferAzul 8.2.8
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.driver.AppleBacklight 170.4.11
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.iokit.SCSITaskUserClient 3.6.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AirPort.Brcm4360 842.21.65
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBXHCI 683.4.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleBluetoothHIDKeyboard 170.15
    com.apple.driver.IOBluetoothHIDDriver 4.2.7f3
    com.apple.driver.AppleMultitouchDriver 245.13.1
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.kext.triggers 1.0
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAcceleratorFamily 98.23
    com.apple.nvidia.driver.NVDAGK100Hal 8.2.6
    com.apple.nvidia.driver.NVDAResman 8.2.6
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOBluetoothFamily 4.2.7f3
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.7f3
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.iokit.IOAcceleratorFamily2 98.23
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.AppleThunderboltEDMSink 2.1.3
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleUSBHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.7
    com.apple.iokit.IOUSBMassStorageClass 3.6.0
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.7
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.driver.AppleThunderboltDPOutAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
    com.apple.driver.CoreStorage 380.70.2
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.3.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.iokit.IO80211Family 640.36
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.iokit.IOUSBFamily 686.4.1
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 278.11.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 7
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.DiskImages 371.1
    com.apple.iokit.IOStorageFamily 1.9
    com.apple.iokit.IOReportFamily 23
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 2.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.pthread 1
    Model: iMac14,2, BootROM IM142.0118.B00, 4 processors, Intel Core i7, 3.5 GHz, 24 GB, SMC 2.15f2
    Graphics: NVIDIA GeForce GTX 780M, NVIDIA GeForce GTX 780M, PCIe, 4096 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3430554738454655352D474E4C2D46
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3430554738454655352D474E4C2D46
    Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5358384758334D314131363030433130
    Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5358384758334D314131363030433130
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (6.30.223.154.65)
    Bluetooth: Version 4.2.7f3 14616, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE SSD SD0128F, 121.33 GB
    Serial ATA Device: APPLE HDD ST3000DM001, 3 TB
    USB Device: My Book 1230
    USB Device: External USB 3.0
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: Keyboard Hub
    USB Device: Apple Keyboard
    Thunderbolt Bus: iMac, Apple Inc., 23.10

    Thanks for the update on this, Linc. I did try this out and it was helpful, however, I'm back in the same boat again!
    Thanks for any help and insight you can offer.
    The iMac has resorted to shutting down several times per day again.    Here is the latest error report.
    Anonymous UUID:       90EECEB1-8B18-7E28-D93F-A28EA4557704
    Thu Feb  5 23:44:25 2015
    panic(cpu 2 caller 0xffffff7f8cc56a35): "This LVG was created before the fix for <rdar://11023142>, you must recreate your LVGs"@/SourceCache/CoreStorage/CoreStorage-380.70.2/core/btree/btree_impl.h:55
    Backtrace (CPU 2), Frame : Return Address
    0xffffff82d7e5ba90 : 0xffffff800b023139
    0xffffff82d7e5bb10 : 0xffffff7f8cc56a35
    0xffffff82d7e5bba0 : 0xffffff7f8cc56a58
    0xffffff82d7e5bc30 : 0xffffff7f8cc4bcc7
    0xffffff82d7e5bc90 : 0xffffff7f8cc4f711
    0xffffff82d7e5bd70 : 0xffffff7f8cc4fb9f
    0xffffff82d7e5bf20 : 0xffffff7f8cc4b1af
    0xffffff82d7e5bf70 : 0xffffff7f8cc4b10c
    0xffffff82d7e5bf80 : 0xffffff7f8cc466e3
    0xffffff82d7e5bfb0 : 0xffffff800b0d7c67
          Kernel Extensions in backtrace:
             com.apple.driver.CoreStorage(380.70.2)[DFECD064-FF24-3CC7-9BB9-2469FCAA15AF]@0x ffffff7f8cbd6000->0xffffff7f8cc98fff
                dependency: com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7f8b648000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13F34
    Kernel version:
    Darwin Kernel Version 13.4.0: Wed Dec 17 19:05:52 PST 2014; root:xnu-2422.115.10~1/RELEASE_X86_64
    Kernel UUID: 45486BF2-BDDE-34CB-8C71-606FF3FE181B
    Kernel slide:     0x000000000ae00000
    Kernel text base: 0xffffff800b000000
    System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)
    System uptime in nanoseconds: 15502458977428
    last loaded kext at 11079372093582: com.apple.filesystems.exfat 1.4 (addr 0xffffff7f8d61b000, size 61440)
    last unloaded kext at 11199508699870: com.apple.driver.AppleUSBCDC 4.2.1b5 (addr 0xffffff7f8d617000, size 16384)
    loaded kexts:
    com.Perfect.Driver.SystemAudioRecorder 1.0.0
    com.apple.filesystems.exfat 1.4
    com.apple.driver.AppleBluetoothMultitouch 80.14
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.2.7f4
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AGPM 100.14.34
    com.apple.driver.ApplePlatformEnabler 2.0.9d7
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.AudioAUUC 1.60
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.GeForce 8.2.6
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.7f4
    com.apple.driver.AppleIntelHD5000Graphics 8.2.8
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleIntelFramebufferAzul 8.2.8
    com.apple.driver.AppleBacklight 170.4.11
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.iokit.SCSITaskUserClient 3.6.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AirPort.Brcm4360 842.21.65
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBXHCI 683.4.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleBluetoothHIDKeyboard 170.15
    com.apple.driver.IOBluetoothHIDDriver 4.2.7f4
    com.apple.driver.AppleMultitouchDriver 245.13.1
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOAcceleratorFamily 98.24
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.7f4
    com.apple.iokit.IOSurface 91.1
    com.apple.nvidia.driver.NVDAGK100Hal 8.2.6
    com.apple.nvidia.driver.NVDAResman 8.2.6
    com.apple.iokit.IOBluetoothFamily 4.2.7f4
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.driver.AppleThunderboltEDMSink 2.1.3
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.iokit.IOAcceleratorFamily2 98.24
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleUSBHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.7
    com.apple.iokit.IOUSBMassStorageClass 3.6.0
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.7
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPOutAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
    com.apple.driver.CoreStorage 380.70.2
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.3.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.iokit.IO80211Family 640.36
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.iokit.IOUSBFamily 686.4.1
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 278.11.2
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 7
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.DiskImages 371.1
    com.apple.iokit.IOStorageFamily 1.9
    com.apple.iokit.IOReportFamily 23
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 2.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.pthread 1
    System Profile:
    Model: iMac14,2, BootROM IM142.0118.B00, 4 processors, Intel Core i7, 3.5 GHz, 24 GB, SMC 2.15f2
    Graphics: NVIDIA GeForce GTX 780M, NVIDIA GeForce GTX 780M, PCIe, 4096 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3430554738454655352D474E4C2D46
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3430554738454655352D474E4C2D46
    Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5358384758334D314131363030433130
    Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5358384758334D314131363030433130
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (6.30.223.154.65)
    Bluetooth: Version 4.2.7f4 15112, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE SSD SD0128F, 121.33 GB
    Serial ATA Device: APPLE HDD ST3000DM001, 3 TB
    USB Device: My Book 1230
    USB Device: External USB 3.0
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Keyboard Hub
    USB Device: Apple Keyboard
    USB Device: USB2.0 Printer (Hi-speed)
    Thunderbolt Bus: iMac, Apple Inc., 23.10

  • Calculate Per Day Salary Into Text Field

    HI,
    I want to calculate per day Salary so that i am using Code .i am enter salary in to :P65_SALARY1 text fiedl and calculated per day salary should come into :P65_per_day_salry text field. I have write that code in to item Source and select
    Source Used :-Always.replacing any existing value in session state
    Souce Type :- PL/SQL Expression or Function
    Source value or expression :- Type That below Code
    I have created item :P65_MONTH for Select Month
    BEGIN
    IF :P65_MONTH ='JAN' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='FEB' AND MOD(TO_CHAR(SYSDATE,'YYYY'),4)!=0 THEN
    :P65_SALARY1/28;
    ELSIF :P65_MONTH ='FEB' AND MOD(TO_CHAR(SYSDATE,'YYYY'),4)=0 THEN
    :P65_SALARY1/29;
    ELSIF :P65_MONTH ='MAR' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='APR' THEN
    :P65_SALARY1/30;
    ELSIF :P65_MONTH ='MAY' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='JUN' THEN
    :P65_SALARY1/30;
    ELSIF :P65_MONTH ='JUL' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='AUG' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='SEP' THEN
    :P65_SALARY1/30;
    ELSIF :P65_MONTH ='OCT' THEN
    :P65_SALARY1/31;
    ELSIF :P65_MONTH ='NOV' THEN
    :P65_SALARY1/30;
    ELSIF :P65_MONTH ='DEC' THEN
    :P65_SALARY1/31;
    END IF;
    END;When i run Page 65 Then Show me error
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
    Error      ERR-1020 Error in PLSQL item processing (function).
    Now Please Tell me how can i calculate Per Day Salary And How to remove that Error.
    Thanks

    HI,
    i have to change according to you but that give me error like.
    ORA-06550: line 5, column 13: PLS-00103: Encountered the symbol "/" when expecting one of the following: := . ( @ % ; indicator The symbol ":= was inserted before "/" to continue. ORA-06550: line 7, column 13: PLS-00103: Encountered the symbol "/" when expecting one of the following: := . ( @ % ; indicator The symbol ":= was inserted before "/" to continue. ORA-06550: line 9, column 13: PLS-00103: Encountered the symbol "/" when expecting one of the following: := . ( @ % ; indicator The symbol
    Error      ERR-1904 Unable to compute item default: type = Function Body computation_type= BEGIN IF :P65_MONTH ='JAN' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='FEB' AND MOD(TO_CHAR(SYSDATE,'YYYY'),4)!=0 THEN :P65_SALARY1/28; ELSIF :P65_MONTH ='FEB' AND MOD(TO_CHAR(SYSDATE,'YYYY'),4)=0 THEN :P65_SALARY1/29; ELSIF :P65_MONTH ='MAR' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='APR' THEN :P65_SALARY1/30; ELSIF :P65_MONTH ='MAY' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='JUN' THEN :P65_SALARY1/30; ELSIF :P65_MONTH ='JUL' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='AUG' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='SEP' THEN :P65_SALARY1/30; ELSIF :P65_MONTH ='OCT' THEN :P65_SALARY1/31; ELSIF :P65_MONTH ='NOV' THEN :P65_SALARY1/30; ELSIF :P65_MONTH ='DEC' THEN :P65_SALARY1/31; END IF; END;.
    OK      
    How can i remove this.
    Thanks

  • Please note that i am seeking some assistance with adding the followng resource: A maximum of 4 resources can be added at an additional cost of $500 per day per resource.

    Hi, Please note that i am seeking some assistance with adding the following resource to a task in Microsoft Project 2010:
    A maximum of 4 resources can be added at an additional cost of $500 per day per resource.

    Hi Clemence,
    Your post has quite little details, but as far as I understand, you want to add 4 resources on a task, each resource costing 500$ a day. Since it is not mentionned if it is generic resources (skill or role) or named resources, I'll assume that it is generic
    resources. Based on this understanding, here is a proposal:
    Go to the resource sheet,
    Create a work generic resource ("type" field set to "work", "generic" field to "yes"), typing in the resource name field the skill name,
    In the max unit field, enter 400% for 4 resources (for just 4 if  your Project 2010 is configured to display units in decimals),
    Since the rate is an hourly rate, make the calculation : 500$ per day / 8 hours a day = 62,5$ per hour,
    Go back to the Gantt Chart, split the window (click "detail" in the view tab of the ribbon),
    Select your task and assign the newly created resource with a given % units.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • After I hv upgraded os 6 on my iPhone 4, iPhone hung up at least one per day. After u press "End" 2 times( i used to do this in the old os) or when u slide to unlock - the screen suddenly enlarge . I need to reset the phone whenever this happen. Pls help

    After I hv upgraded os 6 on my iPhone 4, iPhone hung up at least one per day. After u press "End" 2 times at fast speed ( i used to do this in the old os without problem) or when u slide to unlock - the screen suddenly enlarge . I need to reset the phone whenever this happen. Pls help

    I Have fumbled all day to this resolved, I'll run the battery down and see what happens afterwards. This is not good !

  • AE dropping signal at least 1x per day?

    Folks,
    I hope everyone is doing well. I have Comcast as a high speed internet provider and have my AE running in my apartment. I have been having problems for the past 3 weeks with my internet dropping out at least 1x per day. There does not seem to be any reason for the dropout. I have called Comcast and each tech I have spoken with has given me a different answer for the problem. First, I was told the modem was dropping out. The second time I was told that I had packet loss. Finally, today, I was told that the modem was "struggling." Additionally, they have sent someone out twice and each time the guy has stayed for five minutes, replaced a splitter and then left. Well, whatever they did is not working and I am still having the problem.
    I am beginning to wonder if this is an AE problem instead of a Comcast problem. Can AE's go bad? I have never really had a problem with it until the past couple weeks. I am trying to find out if anyone has any other troubleshooting tips? I have already tried both hard resets and factory resets of the AE and this has not worked either. Let me know if anyone has any ideas.
    Thanks,
    Joe B

    Folks,
    I hope everyone is doing well. I have Comcast as a high speed internet provider and have my AE running in my apartment. I have been having problems for the past 3 weeks with my internet dropping out at least 1x per day. There does not seem to be any reason for the dropout. I have called Comcast and each tech I have spoken with has given me a different answer for the problem. First, I was told the modem was dropping out. The second time I was told that I had packet loss. Finally, today, I was told that the modem was "struggling." Additionally, they have sent someone out twice and each time the guy has stayed for five minutes, replaced a splitter and then left. Well, whatever they did is not working and I am still having the problem.
    I am beginning to wonder if this is an AE problem instead of a Comcast problem. Can AE's go bad? I have never really had a problem with it until the past couple weeks. I am trying to find out if anyone has any other troubleshooting tips? I have already tried both hard resets and factory resets of the AE and this has not worked either. Let me know if anyone has any ideas.
    Thanks,
    Joe B

  • Logic to calculate average number of employees per day...

    Hi,
    In an internal table, i have employee number, start date, end date.
    This table shows employee's start and end dates for a cost center.
    Now, the requirement is to calculate the average number of employees available per day for a given period...
    Lets asume that we would like to calculate average number of employees per day for a given period of 30 days (01.01..2009 to 30.01.2009)....
    The above table will have around 20 employees with their start and end date.
    Among these 20, some may be present between 1st to 10th Jan only..
    In such case, How to calculate average number of employees per day in such case?
    Can anyone help me out with a rough sketch of logic for this calculation?
    Thanks in Advance,
    Pavan

    My Logic:
    1) First choose dates from which date to which date you are planning to calculate. [Here i am trying to calculate from Jan 1st 2008 to till date - March 3rd 2009 = So total days = 427 days]
    2) First try to count number of days worked in organization by each employee. [Lets take employee a = 10 days, b = 182 days, c = 427 days].
    3) Then total all the number of days. [abc = 10182427 = 619 days].
    4) Total number days / Total number of days worked = 619 / 427 =  1.44 employees per day.
    Employee     Emp-Start Date     Emp-End Date     No. of days
    a             Jan 1st 2008     Jan 10th 2008     10
    b             Jun 1st 2008     Jun 30th 2008     182
    c            Jan 1st  2008     3rd March 2009     427
              Total No. of days                     619
         From Jan1st 2008 to Till date 3rd March 09          427
              619 / 427 =     1.449648712
    I tried take simple example to recheck the above scenario is correct or not. If 'n' number of employees worked for an organization in a year (365 days) is 730. then per day = 730 / 365 = 2 employees per day worked for organization.
    I am not sure my logic is correct or not ... just tried like above.
    Regards,
    ~Satya

  • SCCM 2012 client agent migration - number of machine per day

    Hi,
               Need some help here as I working out client migration plan. Try to search around but no luck. Any recommendation number of clients can be migrate per day assuming network speed not a concern? I do have 3 primary site
    servers connected to CAS. What are factor need to consider? 
    Regards,
    ytlaw

    These guys did 9000 PC's and 450 servers in one night. LOL.
    http://myitforum.com/myitforumwp/2012/08/06/sccm-task-sequence-blew-up-australias-commbank/
    I've heard other stories where someone did like 40,000 in one night. Of course that too was not intentional.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • How many mails i can send at a time per day using APEX mail system?

    HI,
    I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
    given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
    it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
    saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
    can any one help me to know How many mails i can send at a time per day using APEX mail system?
    Thanks in advance
    Gowthami

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • Is there a way we can open/close posting periods on a "per day" basis?

    Hi SAP gurus,
    Is there a way we can open/close posting periods on a per day basis?
    It is not possible in OB52 since it only has control per period and not per day.
    Will assign points for suggestions. =) Thanks!

    Hii
    In standard SAP there is not such functionality where u can do these kind of configuration...it is at least for a month that is through OB52.
    If u still wants this functionality it is through the validation.
    u need to create the validation for that company code and thn u can use this functionality....
    hope it helps u
    reward points if helpful
    sejal singh

  • Since I updated to iCloud, Mail on my MacBookPro 10.6.8 has been unable to connect to MobileMe more than once or twice per day. Mail on my iPhone 4 has no problems. What's wrong?

    Since I updated to iCloud, (which may or may not be related) Mail on my MacBookPro 10.6.8 has been unable to connect to MobileMe more than once or twice per day. Mail on my iPhone 4 and my old iMac has no problems. When there is no service a yellow warning triangle appears adjacent to the Inbox and Connection Doctor reports,"Trying to log into this MobileMe IMAP account failed. Verify that username and password are correct."  Since it does fetch Mail from time to time they cannot be wrong.... can they? Should I update to 10.7 and if so what does that entail?

    You have been using MobileMe's email settings, which sometimes continue to work for a time after migration but then get turned off. iCloud's mail server settings are different. Strictly speaking Lion 10.7.2 is required for iCloud, and on that Mail is set up automatically.
    Snow Leopard cannot access most of iCloud's facilities, however you can set Mail up manually to access your email. The method is described here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudmail.html
    The situation with iCloud and Snow Leopard is described in detail here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudSL.html

  • Does anyone know if it is possible to change the display in week view to show 24 hours per day for those of us that work irregular hours

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

  • Home Fusion disconnecting dozens of times per day.  Is there a fix?

    As of a approximately a month ago, my Home Fusion systems disconnects dozens of times per day.  I'm not exaggerating!  I have logs to prove it.  There's a 50-50 chance it will reconnect on it's own after a few minutes.  Then again there's also a 50-50 chance it will not reconnect, at which point I have to (pick one):
         a) reboot the cantenna from the router pages;
         b) unplug the cantenna and plug it back in;
         c) unplug the cantenna and the router, wait 30 seconds, plug in the cantenna, wait 30 seconds, plug in the router.  (This was recommended by tech support on the phone as the best way to get back the connection);
          d) reset the cantenna to the factory settings;
         e) reset the router to the factory settings.
    None of these makes any difference.  I have to do one of the above at least 12 times a day.  There are many more times when it disconnects, then reconnects on it's own.  The system will usually reconnect after 5 minutes, sometimes not. I've had multiple phone calls to tech support, only to hear the same thing, do one of the above.  A few times a day the system will reconnect after doing one of the above, only to disconnect again after 3-5 minutes.  It is bad all hours of the day, but worst in the late afternoons, evenings, and night.   This is absolutely horrid.
    It's not my computers either.  The 'diagnostics' for the router and cantenna (which allow you to ping addresses) fail as well when the system isn't working.
    My wife and I both work from home, both engineers.  I need a stable connection to work.  My kids have online homework (worksheets, drills, etc) most nights.  How do you deal with a elementary schooler in tears because he can't finish his homework because the connection goes down three times in a half hour while he's trying to get a target math drill score?
    One support tech told me a fix would be coming out by the end of February, or early March.  That's weeks away!  Very stressful.  Another told me there was a firmware fix, but it's being rolled out incrementally.  Can't Verizon get that to those who are affected most?  Can we roll back to an earlier version of the cantenna firmware that was stable?  I was told no.

    I have the same problem. My Home Fusion set up works great sometimes and then other times, nothing. I can usually reboot the cantenna and router (usually have to do a few times) to get everything working. Usually have to do this 2-3 times a week (sometimes more.)
    My Method:
    1. Sign into router (192.168.1.1)
    2. Go to the Advanced tab
    3. Reboot the cantenna (HBA)
    4. Wait 1 minute
    5. Reboot the router (HBR)
    6. Take a walk, fingers crossed
    7. Test to see if system working
    8. If not working, repeat these steps (may take 3-4 tries!)
    Good luck and let me know if this works for you!

Maybe you are looking for

  • What is causing my Mac to be so slow?

    Ok so I have a 2011 Mac Mini, upgraded to 8gb of RAM running Mavericks. Over the past few months, it has been performing poorly during certain tasks, for example: -When watching videos, both on and offline, picture will randomly freeze for a couple o

  • Making spl GL payment through f110

    Hi, My client wanted to make the following spl gl payments through f110. - Vendor Security Deposit Received - Retention Money - Vendor Security Deposit paid - Rent Deposit paid if we assign all these indicators in fbzp...all co code settings, what an

  • Screen Saver Won't Display

    The screen on my iBook is going black after 5 minutes instead of running the screen saver. I've checked Energy Saver and that doesn't seem to be the issue.

  • Material list creation date wise

    Experts, Please suggest any standard transaction code for getting list of materials created in particular period. Tables I know but my requirement is to have transaction code so I can provide it to the users also I dont want to go for any kind of ABA

  • ALV user Tracking Report

    Hi experts, can any body tell me how can i make a ABAP  ALV Report which give number of user login in into the system for how long time with all details based on the user specified date,username,tcode  and time on selection screen for example - .user