Query to exclude first record of the day

Hi Everyone
I have a table report_data in this I wanted to retrieve the count of transactions performed each day which are
unique ones
e.g. count of transaction each day for that card is 1 if transaction is performed with that card on that day
which I did with
(Here card stands for the card number which I can consider with as a transaction)
select count(distinct(card)) from report_data where business_name='prime, inc.';
Now the problem is I want to find the count of the rest of the transaction excluding the first one of that day
I have used the following query but unable to retrieve the answer
select business_name, count(card) from report_data where card not in (select distinct(card) from report_data) group by card;
Please provide the answer
Thanks

Hi,
The syntax with distinct is without the brackets as shown below:
And if you want to list business_name you should include it in the group by list.
SELECT
  business_name
, COUNT(card)
FROM
  report_data
WHERE
  card NOT IN
    SELECT DISTINCT
      card            -- no brackets
    FROM
      report_data
GROUP BY
  card
  ,business_name
;This will not return any rows.
Since there will be no card in report_data that is not in report_data.
Now the problem is I want to find the count of the rest of the transaction excluding the first one of that dayIf you want a count of the number of cards without the first one on a day, just subtract 1.
If you want to list the cards without the first one per day do:
with report_data as
  select date '2012-04-20' as list_date, 1 as card, 'home' as business_name from dual union all
  select date '2012-04-20' as list_date, 2 as card, 'home' as business_name  from dual union all
  select date '2012-04-20' as list_date, 3 as card, 'home' as business_name  from dual union all
  select date '2012-04-21' as list_date, 1 as card, 'home' as business_name  from dual union all
  select date '2012-04-21' as list_date, 2 as card, 'home' as business_name  from dual
select
  business_name
  ,list_date
  ,card
from
  SELECT
    business_name
    ,list_date
    ,card
    ,row_number() over (partition by list_date order by card) rn
  FROM
    report_data
where
  rn > 1
BUSINESS_NAME LIST_DATE CARD
home          20-APR-12    2
home          20-APR-12    3
home          21-APR-12    2
;Regards,
Peter
Edited by: Peter vd Zwan on Apr 20, 2012 5:30 AM

Similar Messages

  • Oracle Forms returns the first record in the database when performing query

    Once in a while when we query for a record on a form, say by first name Tom, then it returns the first record in the database. Other times it return the Tom's record. It only happens once in a while and if you close the form and reopen it and requery for Tom, then it brings Tom's record.
    Does anyone know the issue what could be happening. It just happens every now and then that it's hard to reproduce.
    ORacle Forms 10GR2
    ORacle Application Server 10.1.3
    thanks

    then it returns the first record in the databaseI'm not sure if i understand you correctly. Do you mean forms ignores the searc-condition you entered? I would check SYSTEM.LAST_QUERY at the moment this happens to check if the condition gets somehow lost.

  • The detailRegion is always forced to populate the first record from the Master region

    Hi fellow Spry enthusiasts,
    My question is in regards the undesirable data population of
    the regiondetail on initial load. I have 2 sections, one which is
    my master region (which goes out and retrieves a bunch of records),
    and a related detailregion which reacts based on the master.
    However, every time I initiate a query of the master region to
    retrieve records, the detail region also responds and automatically
    grabs the FIRST record of the master region (which is undesirable
    in my case because I do not want the detail region to react UNTIL I
    select a record in the master region). Let me know if this makes
    sense.
    Psuedo Code:
    var moveRequestor = new
    Spry.Data.XMLDataSet("cfc/QueryThatReturnsABunchOfEmployeeRecords")>
    <span spry:region="moveRequestor">
    {EM_ID}
    {NAME}
    <span spry:detailregion="moveRequestor">
    {EM_ID}
    {NAME}
    {PHONE}

    This question was posted a while ago, and was one of the
    search results that came up when I was looking for my own answer. I
    had a nearly identical question and answered it here:
    Disabling
    default linked region and detailregiondisply until click
    Hopefully it will help others too!

  • Formula to select first record on the column

    Hi All
    I need a formula to select a first record on the column, here is my query
    SELECT DISTINCT
                          dbo.OWOR.DocNum, dbo.OWOR.ItemCode, dbo.OWOR.Status, dbo.OWOR.PlannedQty, dbo.ITM1.Price, dbo.OWOR.Warehouse,
                          dbo.OWOR.PlannedQty * dbo.ITM1.Price AS Total
    FROM         dbo.OWOR INNER JOIN
                          dbo.ITM1 ON dbo.OWOR.ItemCode = dbo.ITM1.ItemCode
    WHERE     (dbo.OWOR.Status = 'P') OR
                          (dbo.OWOR.Status = 'R') AND dbo.ITM1.Price
    I need to select the first price on the price list for (dbo.ITM1.Price).
    Regards
    Bongani

    Bongani,
    Are you sure you don't want to link a pricelist? Because the unique key on ITM1 consists of ItemCode and PriceList and taking the first price for an item in ITM1 could result in kind of random prices for different items, depending on whice pricelist gets filled first for a certain item.

  • Unable to search for first record using the Preview tree

    Post Author: TheBig1980s
    CA Forum: General
    Hello:
    Users are unable to search for the first record in the Preview tab's tree.  The reason for this is because the first record is within the first page header of the report.  My guess is that, by design, Crystal takes the end user to whatever the first instance of the record iseven if that first record is in a page header.  That's not "good".  I want the user to be taken to the first record within the details of the reportnot within the page header.
    I have suppressed the page header to not print on the first record by using OnFirstRecord.  But, I still get the same issue where end users cannot select the first record in the tree without being taken to the page header.  Very strange.
    Can anybody think of any other ideas?
    Thanks!
    TheBig1980s

    Thank you Dave Merchant and try67 for your responses. As per my previous post, I contacted the company re the catalogue and they have responded favourably. I'll include their response because it gives the reason for the search failure as document compression which you might find interesting. I'll await their new catalogue and see if they have fixed the problem.
    Company response:
    Thank you very much for your input.  And yes, you are correct, the compression we used for the current catalogue's PDF format does strip out text included in the catalogue.  We used the compression settings we did with the intention of minimising download time, however I take your point about including text for search purposes (which I also utilise when I'm scanning through PDFs).
    We will actually be posting out our new catalogue next week and we'll release the new PDF version on the website at the same time.  I've asked our graphic designer to ensure that the PDF we use for the new catalogue includes searchable text.

  • Update a record is updating the first record in the DB...HELP!

    I am going over and over this again and cant find the problem.
    i have a form that sends email to emails that are on a php mysql db however when i update certain records it always is updating the first record in the DB...i have looked over this so many times and cant see what is going wrong
    the userid is not auto_increment but is based on the username (these are all unique)
    i have uncluded the code to see if i am missing something
    <?php require_once('../Connections/hostprop.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE plus_signup SET email=%s, emailerSubject=%s, emailerContent=%s WHERE userid=%s",
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['emailerSubject'], "text"),
                           GetSQLValueString($_POST['emailerContent'], "text"),
                           GetSQLValueString($_POST['userid'], "text"));
      mysql_select_db($database_hostprop, $hostprop);
      $Result1 = mysql_query($updateSQL, $hostprop) or die(mysql_error());
          // Email Guarantor
              $to = $_POST['email'];
              $subject = "Email From Host Student Property";
              $message = "
              <html>
                        <head>
                                  <title>Dear ".GetSQLValueString($_POST['userid'], "text")."</title>
                        </head>
                        <body>
                                  <img src=\"http://www.hoststudent.co.uk/beta/images/hostlogo.gif\" alt=\"www.HostStudent.co.uk\" />
                                  <h2>An Email From Host Students</h2>
                                  <br /><br />
                                  <table>
                                            <tr>
                                                      <td>Email Subject:</td>
                                            </tr>
                                            <tr>
                                                      <td>".GetSQLValueString($_POST['emailerSubject'], "text")."</td>
                                            </tr>
                                            <tr>
                                                      <td>Email Content</td>
                                            </tr>
                                            <tr>
                                                      <td>".GetSQLValueString($_POST['emailerContent'], "text")."</td>
                                            </tr>
                                  </table>
                        </body>
              </html>
              // Always set content-type when sending HTML email
              $headers = "MIME-Version: 1.0" . "\r\n";
              $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
              $headers .= 'From: HostStudent.co.uk <[email protected]>' . "\r\n";
              $send = mail($to,$subject,$message,$headers);
      $updateGoTo = "TenantEmailSent.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = "SELECT userid, email, emailerSubject, emailerContent FROM plus_signup";
    $Recordset1 = mysql_query($query_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <?
              session_start();
              if(!$_SESSION['loggedIn']) // If the user IS NOT logged in, forward them back to the login page
                        header("location:Login.html");
    ?>
       <script type="text/javascript">
    function loadFields(Value) {
             var Guarantor = Value.split("|");
              var userid1 = Guarantor[0] ;
                          var GuName = Guarantor[1];
              var GuPhoneEmail = Guarantor[2] ;
              document.getElementById('userid1').value=userid1;
                          document.getElementById('GuName').value=GuName;
              document.getElementById('GuPhoneEmail').value=GuPhoneEmail;
    </script>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2">
                  <table align="center">
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"> </td>
            <td><select name="userid" id="userid" onchange="loadFields(this.value)">
              <option value="Select Guarantor">Select Guarantor</option>
              <?php
    do {
    ?>
    <option value="<?php echo $row_Recordset1['userid'] . '|' . $row_Recordset1['GuName'] . '|' . $row_Recordset1['GuPhoneEmail'];?>"><?php echo $row_Recordset1['userid'] . " , " . $row_Recordset1['GuName'] . " , " . $row_Recordset1['GuPhoneEmail']; ?></option>
              <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
            </select></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">Tenant Name</td>
            <td><input type="text" name="userid1" id="userid1" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['userid'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuName:</td>
            <td><input type="text" name="GuName" id="GuName" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['GuName'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuPhoneEmail:</td>
            <td><input type="text" name="GuPhoneEmail" id="GuPhoneEmail" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['GuPhoneEmail'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuEmailerSubject:</td>
            <td><input type="text" name="GuEmailerSubject" value="" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuEmailerContent:</td>
            <td><textarea name="GuEmailerContent" cols="45" rows="5"> </textarea></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"> </td>
            <td><input type="submit" value="Send email" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"></td>
            <td> </td>
          </tr>
                  </table>
        <input type="hidden" name="MM_update" value="form2" />
        <input type="hidden" name="userid" value="<?php echo $row_Recordset1['userid']; ?>" />
    </form>

    i have found the problem, there were two forms with the same name..
    thanks

  • IMac restarts itself during first startup of the day

    iMac 3.06 GHz Intel Core 2 Duo
    MacOS X 10.8.2
    Over the last several days, on only the first startup of the day, my iMac, early in the startup process, has interrupted the startup by restarting, then continuing with a normal startup without further action on my part. Upon completion of the startup, and alert reports that "Your computer restarted because of a problem", and asks if I want to report the problem to Apple. The following is an example of the report:
    Interval Since Last Panic Report:  44896 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    6BACAFFC-5CA6-31F8-722F-C7047C4DA267
    Sun Dec  2 08:22:21 2012
    panic(cpu 1 caller 0xffffff80106b7bd5): Kernel trap at 0xffffff7f91e6cb36, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000010, CR3: 0x000000002513d000, CR4: 0x0000000000000660
    RAX: 0x0000000000000001, RBX: 0xffffff807b8ed000, RCX: 0xffffff801ced2aa0, RDX: 0xffffff809056ba88
    RSP: 0xffffff809056bbb0, RBP: 0xffffff809056bbb0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
    R8:  0x0000000000000000, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff807b8ed000, R13: 0x0000000000000000, R14: 0x0000000000000002, R15: 0x0000000000000000
    RFL: 0x0000000000010246, RIP: 0xffffff7f91e6cb36, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff809056b850 : 0xffffff801061d626
    0xffffff809056b8c0 : 0xffffff80106b7bd5
    0xffffff809056ba90 : 0xffffff80106ce4ed
    0xffffff809056bab0 : 0xffffff7f91e6cb36
    0xffffff809056bbb0 : 0xffffff7f91e57182
    0xffffff809056bc00 : 0xffffff7f91e570d8
    0xffffff809056bc20 : 0xffffff7f91e2840e
    0xffffff809056bc50 : 0xffffff7f90ca7350
    0xffffff809056bc90 : 0xffffff7f90ca72bf
    0xffffff809056bcb0 : 0xffffff7f90cacfb8
    0xffffff809056bd40 : 0xffffff7f90ca4e00
    0xffffff809056bd70 : 0xffffff8010a33dbb
    0xffffff809056bdc0 : 0xffffff8010a63ff7
    0xffffff809056be30 : 0xffffff8010697d2f
    0xffffff809056be80 : 0xffffff8010620aed
    0xffffff809056beb0 : 0xffffff8010610448
    0xffffff809056bf00 : 0xffffff801061961b
    0xffffff809056bf70 : 0xffffff80106a5b16
    0xffffff809056bfb0 : 0xffffff80106ced53
          Kernel Extensions in backtrace:
             com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f90c9b000->0xffffff7f90cd2fff
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f90c50000
             com.apple.GeForce(8.0)[2E56ED9A-D848-3795-9E52-56BABDC9000C]@0xffffff7f91e27000 ->0xffffff7f91ee9fff
                dependency: com.apple.NVDAResman(8.0.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f90c f2000
                dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7f90cde000
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f90c50000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f90c9b000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x0000000010400000
    Kernel text base: 0xffffff8010600000
    System model name: iMac9,1 (Mac-F2218FC8)
    System uptime in nanoseconds: 28473183008
    last loaded kext at 28472581893: com.apple.driver.AppleHWSensor          1.9.5d0 (addr 0xffffff7f925ab000, size 36864)
    loaded kexts:
    com.Logitech.Unifying.HID Driver          1.2.0
    com.Logitech.Control Center.HID Driver          3.4.0
    at.obdev.nke.LittleSnitch          2.5.3
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AudioAUUC          1.60
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.driver.AppleTyMCEDriver          1.0.2d2
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDAHardwareConfigDriver          2.3.1f2
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleMuxControl          3.2.11
    com.apple.driver.AppleBacklight          170.2.3
    com.apple.filesystems.autofs          3.0
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.iokit.IOBluetoothUSBDFU          4.0.9f33
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.GeForce          8.0.0
    com.apple.driver.AppleIRController          320.15
    com.apple.driver.AppleFileSystemDriver          3.0.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AirPort.Brcm4331          602.15.22
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AppleUSBOHCI          5.2.5
    com.apple.nvenet          2.0.19
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.nvidia.nv50hal          8.0.0
    com.apple.NVDAResman          8.0.0
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.driver.AppleUSBHIDKeyboard          165.5
    com.apple.driver.AppleHIDKeyboard          165.5
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.2
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: iMac9,1, BootROM IM91.008D.B08, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.37f3
    Graphics: NVIDIA GeForce GT 130, NVIDIA GeForce GT 130, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.81.22)
    Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: WDC WD1001FALS-40K1B0, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5670S
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 3
    USB Device: hub_device, 0x04cc  (Philips Semiconductors), 0x1521, 0x24300000 / 2
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x24350000 / 4
    USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc52b, 0x24353000 / 6
    USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0x24352000 / 5
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 3
    Subsequent startups on the same day proceed without interruption and without a problem report, until the first startup of the next day. I normally shut down the computer over night. The iMac operates normally after any of these startups, interrupted or not. Apple Hardware Test reports no problems.
    This behavior is annoying, but not very problematic so far. Does anyone have a likely explanation or suggested cure?

    BDAqua wrote:
    Have you tried just sleeping it at night?
    It appears to be graphic card related.
    Have you blown the dust out lately?
    Thanks very much for answering.
    Sleeping the iMac at night would work, I'm sure, since it's only on a cold restart that the unplanned restart occurs. Not as satisfying as curing the issue, though.
    Apple Hardware Test reported nothing wrong with the graphic card, but the computer is not cold by the time the test is run, so I guess that could still be it.
    I'm sure there is dust inside after three + years. Apple didn't really want me to open up my iMac, but this Core 2 Duo model can be opened by lifting off the glass with suction cups, I believe. Maybe I will do that and dust, and see if that helps. There might even be something I can reseat.
    Also, I believe that on my next cold startup I will try single user mode and see if that prevents the restart.
    Thanks for your suggestions.

  • Master-Detail only shows the first record of the Master's data

    I have an ADF Master Table, Detail table. I use ExcuteWithParams on the Master Table. When executed from a button (Button has partial submit = true for button, Master Table has PartialTrigger on button, and Detail table has PartialTrigger on Master table and button), it works fine. However, I want to pass the parameters in pageFlowScope variables, and have the ExecuteWithParams invoked upon page load. When I try to do this, the Detail table only shows the first record of the Master's data, no mater what row is clicked on the Master table.
    Master table now has no PartialTrigger, and Detail table has PartialTrigger on Master table. In my pageDef, I used an invoke action as follows:
    <invokeAction Binds="ExecuteWithParams" id="invokeExecuteWithParams"
    Refresh="always"/>
    What am I missing? I am using verion 11.1.1.3. Any help would be much appreciated.
    Thanks,
    Jessica

    Yes, it works when I drag the data control as a master detail without filtering any data. I want the user to be able to set search criteria to filter the data in the master table (For example, only pull back data with a transaction date between :startdate and :enddate). I can get it to work if I execute from an executewithparams button on the page, but not if I want to invoke the executewithparams upon page load with the parameter set by pageflowscope variables.
    Thank you for responding.
    Jessica

  • Why has Firefox 16.0.2 under Windows 7 started to give "connection was reset" error only when accessing Yahoo Tech Goups, except first access of the day?

    On first access of the day to Yahoo technical groups, I can always retrieve the opening screen, but get no further. Almost all subsequent accesses in that day to Yahoo tech groups using this computer return a "connection was reset error", although I have very occasionally seen a successful access. Rebooting the computer makes no difference. No other websites that I visit give this problem.
    I am running Windows7 (auto updates) and Firefox 16.0.2. This is a problem that started about 3 weeks ago, possibly directly after a Windows7, Adobe Reader or a Firefox update. I have tried clearing all cookies and the cache in Firefox. The problem is not seen on other computers running different operating system versions or different browsers that are accessing the Yahoo site through the same internet gateway.

    Thanks again for your suggestions and links. I have gone through those, and am sorry to say I am not really any further forward. I have also gone systematically through the yahoo cookies, deleting one at a time. The only one that makes any difference is the T cookie, which must retain the login status as deleting it forces a login at the next access. After a login I get up to about a minute of Yahoo tech group activity before the "connection was reset" error pervades. All the Yahoo cookies are back in place when this happens. Using Private Browsing makes no difference to this behaviour.

  • First login of the day.

    Hi everybody, How can I know if the actual login of a user is the first login of the day?
    Regards,

    in STAD you can check the client, user and tcode 'session_manager'... get the lowest time of that date..
    ==>for this you can SUBMIT RSSTAT26...
    now from usr02 you can get the last login..(current login)..
    =>use FM or normal select statement..
    compare these..
    Edited by: Soumyaprakash Mishra on Dec 28, 2009 7:29 PM

  • Adobe Reader hangs on first print of the day

    When I try to print from Adobe Reader for the FIRST time every day, the PC hangs for 30 seconds. It'll then unfreeze and continue to print.
    All subsequent docuemtns that day print with no problems immediately.
    I have a small domain based network (SBS2003) and my workstation is Win7Pro.
    This problem started some time ago and a recent update to 10.1.7 hasn't resolved it.
    Any ideas?

    The drivers are up to date.
    I've just realised (doh!) that the printer isn't actually on the network, but has a direct USB connection to the w/station.
    The problem is only with Adobe reader, just the first print of the day from Adobe. If the first print of the day is from Word that prints OK, but if the second is from Adobe it still hangs (becasue it's the first rpint from Reader). At first I thought Reader was trawling across the internet for some reason, maybe checking in with Adobe.
    I'm baffled. I've tried uinstalling and reinstalling Reader as well!

  • Query to select all records in the database

    Hi,
    i am in big trouble please help me...
    unfortunately i did some modifications in live system due that system was stopped...
    now i want to know what are all changes i have done in the database....
    please give me the query to see all the records in the specified schema....
    not for one table. i cont specify the table names also..
    MY Question is for example if i want to search updated_by field in one table i will do like this
    select * from eiis_salesorder_hdr where updated_by = 'is20';
    like that only i want query to search in entire schema....
    Edited by: indra on Sep 17, 2011 8:58 AM

    indra wrote:
    Hi,
    i am in big trouble please help me...
    unfortunately i did some modifications in live system due that system was stopped...
    now i want to know what are all changes i have done in the database....
    please give me the query to see all the records in the specified schema....
    not for one table. i cont specify the table names also..if DML was done & no COMMIT was issued, then changes would be rolled back after system restart
    what EXACTLY was issued SQL?
    do as below so we can know complete Oracle version & OS name.
    Post via COPY & PASTE complete results of
    SELECT * from v$version;

  • How slow is Safari for you at first boot of the day in 10.9.1?

    I'm running Mavericks from an external FW800 disk.
    When starting up for the first time each day, Safari bounces for about 60 seconds in the dock before opening.  After that, it's very quick.
    I have only 4 extension installed, but turning them off doesn't make any difference to that first launch time.
    Firefox, in comparison, takes about 10 seconds first time - and is quick afterwards too.
    Are these times typical?  When I switch back to my Snow Leopard setup, everything - Safari included - launches immediately.  It's always superfast.
    I'm using a 2009 MBP with 8GB RAM.  There's almost 300GB of spare space.

    Reset Safari.
    Click Safari in the menu bar.
    From the drop down select "Reset Safari".
    Checkmark the box beside   " Remove all website data".
    Click "Reset".
    Empty Caches
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    "Develop" menu will appear in the Safari menu bar.
    Click Develop and select "Empty Caches" from the dropdown.

  • CATS Notifications If No Time recording for the day

    Hi
    I wan to trigger the Notification to employee If He is not recorded his work time for particular week.
    Ex: EE worked on some tasks in particular project as per the target hours, But he forgot to fill the time shee at the end of the week. Now i want to send reminder mail notification to EE mail ID(or mail to UWL) to fill the  time sheet. How to go with this requirement?!!!
    Do I need work flow for this? Can i configure anything  in the back end?
    Pls can  anyone give details on this how to fulfill this requirement?
    We don not have time management in place,Its not yet implemented. Work Envr:ECC 6.0, CATS Regular
    Thanks
    Ram

    Hi Ram,
    I have found some documents.
    Have a look at this. You would get an idea
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CATS/CATS.pdf
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d4/0c863be3047e19e10000000a114084/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H1906
    http://web.mit.edu/sapr3/windocs/fomds21p.htm
    https://www.ucflex.uc.edu/help/nav/project%20systems/course/project%20creation%20and%20management/file1520/index.htm
    regards,
    Brinda L

  • Query on Credit cards deposited for the day

    Hi Experts,
    Can I have a query on credit cards which were deposited on-date. Columns would be: Dep No. Customer code, Customer Name, Voucher number, card expiry date, Credit card name and Amount. Parameter would be the Deposit date.
    Many thanks.
    Don

    Hi Don........
    Try this..........
    SELECT T0.[DeposNum], T0.[DeposDate],T2.[CardCode], T2.[CardName], 
    T0.[BanckAcct], T0.[DeposAcct], T0.[DeposBrnch], T0.[LocTotal], T1.[CreditCard],
    T1.[CrdCardNum], T1.[CardValid], T1.[VoucherNum], T1.[Deposited] FROM ODPS T0 
    INNER JOIN OCRH T1 ON T0.DeposId = T1.DepNum LEFT JOIN OCRD T2 ON
    T1.CardCode = T2.CardCode WHERE T0.[DeposDate] ='[%0]'
    Regards,
    Rahul

Maybe you are looking for

  • Bring back iTunes syncing feature back!

    I don't mean to be the stickler, but I cannot believe Apple decided to force us to use iCloud for syncing contacts. If i had known that upgrading to Maverick would have caused such, I would never have done so. I have a lot of personal and sensitive i

  • Adding multiple songs to a single slideshow in LR3

         Hello! So, I am trying to create a slideshow in Lightroom 3.4.1. I'm on a mac, and have been able to succesfully pull in a single song from my iTunes library. However, there are two issues: 1. My slideshow is a bit long, and I would like to have

  • Need help in file adapter file format

    While accessing an exeL (.xls)file as input using file adapter what will be the format of the sample file. If i give .txt then it is not showing any column.

  • Exporting PDF to Excel, Possibly Secured for HIPPA

    In the medical industry, see site below.  Received a secure PDF and PW from a Medical office and are trying to export it to PDF.  We are trying to analyze the data to see what and who purchased medical equipment.  All attempts to export have turned t

  • Is there a way to retrieve pictures after being deleted on accident?

    Is there a way to retrieve pictures after being deleted?