Need to Clear table every 2 months....Urgent plsss

I need to clear a table every 2 months in a report program. Can anyone tell me how i can do this ???

Hi,
                 You can do it programatically.
first store the range of month in internal table. e.g in ur case the months are 04 to 08.
In ur print subroutine for header.
write this code.
loop at itab.
case sy-tabix.
when 1.
write: 10 itab-month.
when 2.
write: 20 itab-month.
when 3.
write: 30 itab-month.
when 4.
write: 40 itab-month.
when 5.
write: 50 itab-month.
endcase.
endloop.
this will display months in column.
Now you 've to display the required data for these months.
e.g ur main itab in which all the data is populated is itab_main.
loop at itab_main.
loop at itab. " months itab
case sy-tabix.
when 1.
write: 10 itab_main-value.
when 2.
write: 20 itab_main-value.
when 3.
write: 30 itab_main-value.
when 4.
write: 40 itab_main-value.
when 5.
write: 50 itab_main-value.
endcase.
endloop.
endloop.
This will display your output in columns for months.
Solution 2.
if u want to display ur month outpur in a new row.
U can use event.
at new month.
sort ur table by year month first.
hope it work.
Regards

Similar Messages

  • Clear History Table Every 6 Months - Review my PL/SQL Snippet

    The code below clears employees history table every 6 months. The code below executes fine, i'm just trying to make
    sure if there is any logic error or not, I don't think so, but i would like to confirm from you.
    -- This table holds delete date that deletes records from employee and customer history tables
    CREATE TABLE historyDeletionDate (deleteHistoryDate DATE);
    CREATE OR REPLACE PROCEDURE clear_emphistory
    IS
       dateOfDeletion DATE;
    BEGIN
       BEGIN
          SELECT deleteHistoryDate
            INTO dateOfDeletion
            FROM historyDeletionDate;
       EXCEPTION
          WHEN NO_DATA_FOUND THEN
             dateOfDeletion := SYSDATE;
       END;
       IF TRUNC(dateOfDeletion) <= TRUNC(SYSDATE) THEN
          EXECUTE IMMEDIATE 'truncate table CUSTOMERHISTORY';
          EXECUTE IMMEDIATE 'PURGE RECYCLEBIN';
          UPDATE historyDeletionDate SET deleteHistoryDate = ADD_MONTHS(SYSDATE, 6);
       END IF;
    END;
    /

    Hi,
    It look good to me: efficient and clear.
    Production code should have some comments in it. Pretend that someone (someone you like) has to take over your job without any training on you code. What would that person find useful?
    Instead of a one-row, one column table just to hold the next scheduled deleteHistoryDate, consider having a multi-row, 2-column table that also serves as a log of when deletions were actually done. You could have a scheduledDate column that is entered when the job is schduled, and a completedDate column that is originally NULL, but filled in when the job completes. The firest query would be:
    SELECT  scheduledDate
      INTO  dateOfDeletion
      FROM  historyDeletionDate
    WHERE  completedDate     IS NULL;

  • Help please! imac is completely full, FPC wont let me render! I'm a video editor and have over 70 gb worth of videos on the imac which all need to be kept but now beloved imac is full, only had it for 5 months! need external hard drive every 5 months??

    FPC wont let me render! I'm a video editor and have over 70 gb worth of videos on the imac which all need to be kept for various clients/backup/original versons but now beloved imac is full, only had it for 5 months! Will Ineed external hard drive every 5 months?? This can't be I've already resorted to getting rid of unsed applications such as garage band, iTunes,address book ect. I've trashed everything I could. what next ???
    My video files are massive, converting them to a different format doesn't reduce the size of them it just turns them into mp4 or apple pro res ect
    This iMac is for work only so there's no pictures, no music, no conacts, no messenger, no games, nonothing but videos!!

    Have a look at this: http://grandperspectiv.sourceforge.net/
    It will show you exactly what is taking up all of your space.
    You also may want to consider some kind of external storage just for your video projects.

  • UPTO total need to display for every continue month

    Hi All,
    In one of my report I need two type of columns
    1. Month wise total - Coming correctly
    2. UPTO total- In this column I need to display total of all previous invoices upto month for that column displays for a particular Customer.
        Example :-
    Customer
    Sep-12
    Sep-11
    Aug-12
    Aug-11
    UPTO-Sep-12
    UPTO-Sep-11
    UPTO Aug-12
    ABC
    10
    12
    15
    13
    UPTO Aug 12 + Sep 12
    UP TO Aug11+sep11
    UP TO Jul-12+aug12
    As per above example I need a running sum but in horizontal way and as per customer and Month.
    Please suggest how I can achieve this.
    Thanks in advance
    Ashok K Gupta

    Hi,
    I tried all three function of Time Series but all three are not giving appropriate result.
    Thanks\
    Ashok

  • HT1420 I've had two laptops die within the last seven months. Last time I had to deauthorize all five and re-up; now I need to do it again but I understand it can only be done once every 12 months.  Is there any other way to just deauthorize the ones that

    I've had two lapstops die within the last seven months.  Last time I had to "deauthorize" all five computers, then re-up, since I couldn't deauthorize from the dead laptop.  Now I need to go through it all again, but I understand that this can only be done once every 12 months. What else can I do?  Can I get into the account and just deauhorize the dead computer?

    You can try contacting Apple and explain that you have been using Windows PCs that last only a few months before failing. Perhaps they will make an exception to the 12 month wait.

  • TS2771 Help! I just restored my ipod touch 2nd gen cos I needed a clear out. I went to sync some music back on, and it seemed to work. However when I went into 'music' it said 'no content'. I tried syncing music 3 times and it did the same every time. Hel

    Help! I just restored my ipod touch 2nd gen cos I needed a clear out. I went to sync some music back on, and it seemed to work. However when I went into 'music' it said 'no content'. I tried syncing music 3 times and it did the same every time. Help!

    Try plugging your ipod into your computer. Then start up itunes. Let it load everything. Then click on your ipod and play a song from your ipod's library. Not your itunes library. If it plays the song, then go ahead and stop it, disconnect your ipod, and check the content once again.
    I had the same problem and beleive it or not, this worked. I synced my ipod like 5 times before finding this answer on the web. Let me know if I need to clerify anything.

  • Do I need to contact Apple to have them "clean" my Mac every 3 months?

    I contacted Apple for help on an iPhone and was told they couldn't help me because my Mac had not been "cleaned".  Do I need to contact Apple to have my Mac cleaned every 3 months like the rep. told me? I have never heard of this.  They were supposed to call my husband back the next day to take care of the "problem" however, it's been a week now and no one has called.  Now my computer is running slow, whereas I wasn't having problems with it before I allowed the rep. start a session through iYogi. 

    You have been scammed. No such cleaning is needed, and no real Apple rep would tell you that. iYogi is a Windows tool.

  • P965 Platinum, need to clear cmos to boot (every time)

    Hi
    First off, the hardware:
    MSI P965 Platinum (MS-7236) Latest BIOS (1.3)
    Intel Core 2 Duo E6600
    Arctic Cooling Freezer 7 Pro
    Corsair TWIN2X 6400 DDR2, 2048MB CL4
    Asus GeForce 7950GT
    Creative SB X-Fi XtremeGamer
    Antec Performance One P150 Miditower (430W PSU)
    The system has bin working good for the last two weeks, then two days ago the system wouldnt boot. It starts for 1 second or less (lights and fans started) and then it dies. I made no changes (hardware/software) to the system before it happend.
    So I made a few searches in this forum and found someone with the same problem (not the same motherboard), someone suggested to clear the cmos, which worked, it now boots and works fine.
    The problem is that I need to do that every time I want to boot the computer! Really annoying... An upgrade of the BIOS did not help.
    Any ideas?

    Setting your CAS Latency to 4 actually makes it run at CAS Latency 3, an issue caused by the current BIOS versions. Try running your memory at CAS Latency 5-5-5-15 and 800 MHz for a while, see how it works out. You might want to run Orthos, Prime95 or Memtest to test for stability.
    At what time during boot does your system hang? Any info on the D bracket?
    Pressing Reset button 4 times with about 10 second intervals (if system hangs during POST) should set FSB and memory back to defaults, a little trick feature of this board that may come in handy...

  • URGENT NEED HELP : JOURNALING TABLES AND TRIGGERS GENERATION

    Hi
    I need generate journaling tables for any tables to audit the update, delete statements executed for the users. I captured an existant schema, then and I change the derfiniton of the target tables, setting the value of Journaling to "Server".
    But, when I generate the DDL statements, the triggers of the journaling tables don't appears in the sql file.
    ¿What is the error?
    I thing that Designer generates the triggers and the journal tables, ¿It's true?
    Thanks in advance.
    Xavi

    You have to use the "Generate Table API" menu option. This will generate the "journalling" triggers.
    HTH
    Roel

  • Hi I bought this Friday a 10 GB storage plan, but I received an email than I need to pay it every months how I can cancel this contract Becouse I don't able to pay it every years somebody can help and explains it to me please thanks you

    Hi I bought this Friday a 10 GB storage plan, but I received an email than I need to pay it every year how I can cancel this contract Becouse I don't able to pay it every years somebody can help and explains it to me please thanks you

    From this page http://support.apple.com/kb/TS4009 :
    iOS 5
    From your home screen, tap Settings > iCloud.
    Tap your iCloud account at the top of the screen.
    Select your iCloud Storage plan.
    Tap Downgrade Options and follow the prompts.
    There are also instructions for Windows and Mac OS X on that page

  • Why do I have to clear cookies every 3 days because YOUR Firefox is screwed? Do I need to go back to Explorer again?

    I'll try to open a news page and get an error message
    Sorry, Bad Request.
    Your browser sent a request that this server could not understand.
    Size of a request header field exceeds server limit.
    According to your forum, I need to clear cookies. It works, but I then have to reload passwords and settings, and repeat the whole thing 3 days later? if Firefox isn't going to fix the problem, just tell me and I'll stop using it completely.

    You may have security or cleanup software that messes with files in the Firefox Profile Folder is the cookies get corrupted.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How can I find out this person who has been emailing me every few months. I have one of the emails full header that I retrieved on my iPhone.

    How can I find out this person who has been emailing me every few months. I have one of the emails full header that I retrieved on my iPhone. I omitted my email address for privacy, but mostly it is original. Is this email a scam? I don't know who this person is. Thanks in advance!
    Delivered-To: myemailaddress
    Received: by 10.194.200.42 with SMTP id jp10csp681530wjc;
            Sat, 5 Jul 2014 14:14:16 -0700 (PDT)
    X-Received: by 10.50.56.84 with SMTP id y20mr28216830igp.8.1404594856368;
            Sat, 05 Jul 2014 14:14:16 -0700 (PDT)
    Return-Path: <[email protected]>
    Received: from nm33.bullet.mail.ne1.yahoo.com (nm33.bullet.mail.ne1.yahoo.com. [98.138.229.26])
            by mx.google.com with ESMTPS id m3si35722810igx.17.2014.07.05.14.14.15
            for <myemailaddress>
            (version=TLSv1 cipher=RC4-SHA bits=128/128);
            Sat, 05 Jul 2014 14:14:16 -0700 (PDT)
    Received-SPF: none (google.com: [email protected] does not designate permitted sender hosts) client-ip=98.138.229.26;
    Authentication-Results: mx.google.com;
           spf=neutral (google.com: [email protected] does not designate permitted sender hosts) [email protected];
           dkim=pass (test mode) [email protected]
    Received: from [127.0.0.1] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jul 2014 21:14:14 -0000
    Received: from [98.138.226.180] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jul 2014 21:11:31 -0000
    Received: from [216.39.60.172] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jul 2014 21:11:31 -0000
    Received: from [216.39.60.235] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 05 Jul 2014 21:11:31 -0000
    Received: from [127.0.0.1] by omp1006.access.mail.gq1.yahoo.com with NNFMP; 05 Jul 2014 21:11:31 -0000
    X-Yahoo-Newman-Property: ymail-4
    X-Yahoo-Newman-Id: [email protected]
    Received: (qmail 10573 invoked by uid 60001); 5 Jul 2014 21:11:30 -0000
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1404594690; bh=8lP9IZEfjYYvkNMfRPgse4H7Tdyw/p0f3ooOSB7OIWQ=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=cPhLMVvHd7njmUyKFL8pNlQ0EXM+UFVsNWmHYcJMzKp4uWRlYckCEh+YQ+bkGMfCSgyUf5wEagOx6V4yIZ/7exoVJ0o1Njv7B/MbasfBtay6mz78OZH+NpblaoXu4sCVOzWEac1D4V5C4IZkrw+gs6YR8j7r69MTbDiIgkNx+M8=
    X-YMail-OSG: YIV3Og8VM1n.PMXdFiukRw_37cXcu7K4JqrkCRRAd4uAIqh
    7bDt6_LpjPVNd_7061V2HtSOshQ5IhAM6cHrANh11vcCPels0RxQAo42gFw9
    WqvBpNbW47_ShV.gbS7FEh2bp01k38s9DF9rDZE2yfMoZx145AsWCJcHwL_B
    OzdCrD.IeJPFFPTfbumbwibDSriFOpkX32K6QCbITIE0eK9XEDBW87UqBh1N
    H8dHrTTUp7SCHa6WVIXbcn93Zvk6DdM4gqypxDqeEIsFcRcXWIp_yP_5E2zr
    VCeW6CYrGgYukU8H1Xv2kIDdJDa2ohHmPGgme44wJjk6PbhBZ_V_nsTYiOsi
    YY0FB5vwVlif7rw7EWozVUVXst_YOjpr1M0QQc.aztb8O_5DgdzSLXLj1bcy
    UgTvu9dknKMzu4CfYIYOOag_8iCQS6B9t8750NRn2XEdreWAsIcjvOmuRZ5p
    G.1hOcP0e2pKM6ZXkfDcLesDpTyRX2k39kkhaOQLKjQfu15v5vgSkHAdaGR5
    vlEqufGG0mUygckQ4whX29pjbiKAwltm9C8Kwv98PCCt4o1k6GEjShLJ7lze
    u2HthiVEBWHEWxCluIQ0zoV6euEyjyHcFPMsNalbM.Wf6GyL4w.Eb7L.kxIC
    IY4qCJMW8byI5myLQtE6CuqPpVOPuUrXM3sksYCsKO2OJ5sJBJ99DuZ8TbYG
    pWDoaGQhSnuokIjgV_9qFYH5JX17XGUvcFTwc3Bt8lUpihXKpnGNjAD2Ix14
    tOYJwOGqsgm97ELPLKPN0hUVslr7bWcv81fuWkCwBYFOlwqJWaGY-
    Received: from [69.197.222.248] by web181604.mail.ne1.yahoo.com via HTTP; Sat, 05 Jul 2014 14:11:30 PDT
    X-Rocket-MIMEInfo: 002.001,CgogCk9uIFNhdHVyZGF5LCBKdWx5IDUsIDIwMTQgMzo0NyBQTSwgRSBMIEpSIEhFUk1BTk4gPGVoZXJtYW5uOTE0OEBiZWxsc291dGgubmV0PiB3cm90ZToKICAKCgpUSEFUIFdBUyBHUkVBVCBJVCBSRUFMTFkgR0lUUyBUSEUgUE9JTlQgQUNST1NTIQrCoApJIHNlbmRpbmcgaXQgdG8gYWxsIG9uIG15IGUtbWFpbCBsaXN0LiBIT1BFIFlPVSBETyBUSEUgU0FNRS4KwqAKQWwgSGVybWFubiAKCgpPbiBXZWRuZXNkYXksIEp1bHkgMiwgMjAxNCAxMDoxNCBBTSwgQm9iYmllIFJhZ3NkYWxlIDxicmFnczI4MDRAYXQBMAEBAQE-
    X-Mailer: YahooMailWebService/0.8.191.1
    References: <DCB3F2E14C7D47B8AC60CB1A86EE0D75@RaleighHP3> <[email protected]> <[email protected]>
    Message-ID: <[email protected]>
    Date: Sat, 5 Jul 2014 14:11:30 -0700
    From: E L JR HERMANN <[email protected]>
    Reply-To: E L JR HERMANN <[email protected]>
    Subject: Fw: Volkswagen Ad     (FROM AL HERMANN, PLEASE WATCH THIS ONE)
    To: undisclosed recipients: ;
    In-Reply-To: <[email protected]>
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="2017413661-1636348801-1404594690=:35141"
    --2017413661-1636348801-1404594690=:35141
    Content-Type: text/plain; charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable
    =0A=0A =0AOn Saturday, July 5, 2014 3:47 PM, E L JR HERMANN <ehermann9148@b=
    ellsouth.net> wrote:=0A  =0A=0A=0ATHAT WAS GREAT IT REALLY GITS THE POINT A=
    CROSS!=0A=A0=0AI sending it to all on my e-mail list. HOPE YOU DO THE SAME.=
    =0A=A0=0AAl Hermann =0A=0A=0AOn Wednesday, July 2, 2014 10:14 AM, Bobbie Ra=
    gsdale <[email protected]> wrote:=0A  =0A=0A=0A=0A=0A=0A =0A=0A  =0A=0A=0A =
    =0A=0A =0A=0A =A0          =0A=0A =0A=A0 =0A>>>=A0 =0A>>>What a brilliant =
    way to communicate  how risky it is to use mobile phones while driving! Mor=
    e than  1.5 million views in 3 days! =0A>>> =0A>>>https://www.youtube.com/e=
    mbed/JHixeIr_6BM?rel=3D0&autoplay=3D1&iv_load_policy=3D3
    --2017413661-1636348801-1404594690=:35141
    Content-Type: multipart/related; boundary="2017413661-447096318-1404594690=:35141"
    --2017413661-447096318-1404594690=:35141
    Content-Type: text/html; charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable
    <html><body><div style=3D"color:#000; background-color:#fff; font-family:He=
    lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo=
    nt-size:18pt"><div><span></span></div><div class="3D""qtdSeparateBR"><br><br>=
    </div>  <div class="3D""yahoo_quoted" style=3D"display: block;"> <div style=
    =3D"font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Gr=
    ande, sans-serif; font-size: 18pt;"> <div style=3D"font-family: HelveticaNe=
    ue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size:=
    12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2"> On Saturday, Ju=
    ly 5, 2014 3:47 PM, E L JR HERMANN &lt;[email protected]&gt; wrote=
    :<br> </font> </div>  <br><br> <div class="3D""y_msg_container"><div id=3D"yi=
    v2053837142"><div><div style=3D"color: rgb(0, 0, 0); font-family: Helvetica=
    Neue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-siz=
    e: 18pt; background-color: rgb(255, 255, 255);"><div><span>THAT WAS GREAT I=
    T REALLY GITS THE
    POINT ACROSS!</span></div><div><span></span> </div><div><span>I sendi=
    ng it to all on my e-mail list. HOPE YOU DO THE SAME.</span></div><div><spa=
    n></span> </div><div><span>Al Hermann</span></div> <div class="3D""yiv20=
    53837142qtdSeparateBR"><br clear=3D"none"><br clear=3D"none"></div><div cla=
    ss=3D"yiv2053837142yqt7474766236" id=3D"yiv2053837142yqt52974"><div class=
    =3D"yiv2053837142yahoo_quoted" style=3D"display: block;"> <div style=3D"fon=
    t-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, s=
    ans-serif; font-size: 18pt;"> <div style=3D"font-family: HelveticaNeue, Hel=
    vetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"=
    > <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2"> On Wednesday, July 2, =
    2014 10:14 AM, Bobbie Ragsdale &lt;[email protected]&gt; wrote:<br clear=3D=
    "none"> </font> </div>  <br clear=3D"none"><br clear=3D"none"> <div class=
    =3D"yiv2053837142y_msg_container"><div id=3D"yiv2053837142"><div><div style=
    =3D"color: rgb(0, 0, 0);
    font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grand=
    e, sans-serif; font-size: 14pt; background-color: rgb(255, 255, 255);"><div=
    ><span><br clear=3D"none"></span></div><div class="3D""yiv2053837142qtdSepara=
    teBR"><br clear=3D"none"><br clear=3D"none"></div>  <div class="3D""yiv205383=
    7142yahoo_quoted" style=3D"display: block;"> <div style=3D"font-family: Hel=
    veticaNeue,;"> <div style=3D"font-family: HelveticaNeue,;"> <div dir=3D"ltr=
    "><font face=3D"Arial" size=3D"2"><br clear=3D"none"> </font> </div>  <br c=
    lear=3D"none"><br clear=3D"none"> <div class="3D""yiv2053837142y_msg_containe=
    r"><div id=3D"yiv2053837142">=0A =0A =0A<style>#yiv2053837142   v\00003a* {=
    }=0A#yiv2053837142   o\00003a* {}=0A#yiv2053837142   w\00003a* {}=0A#yiv205=
    3837142   .yiv2053837142shape {}=0A</style>=0A=0A<style>#yiv2053837142 #yiv=
    2053837142 --=0A   =0A filtered  {panose-1:2 4 5 3 5 4 6 3 2 4;}=0A#yiv2053=
    837142  filtered  {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}=0A#y=
    iv2053837142  filtered  {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}=
    =0A#yiv2053837142  filtered  {panose-1:0 0 0 0 0 0 0 0 0 0;}=0A#yiv20538371=
    42    =0A p.yiv2053837142MsoNormal, #yiv2053837142   li.yiv2053837142MsoNor=
    mal, #yiv2053837142   div.yiv2053837142MsoNormal=0A=09{margin:0in;margin-bo=
    ttom:.0001pt;font-size:12.0pt;color:black;}=0A#yiv2053837142   a:link, #yiv=
    2053837142   span.yiv2053837142MsoHyperlink=0A=09{color:blue;text-decoratio=
    n:underline;}=0A#yiv2053837142   a:visited, #yiv2053837142   span.yiv205383=
    7142MsoHyperlinkFollowed=0A=09{color:purple;text-decoration:underline;}=0A#=
    yiv2053837142   p=0A=09{margin-right:0in;margin-left:0in;font-size:12.0pt;c=
    olor:black;}=0A#yiv2053837142   p.yiv2053837142MsoAcetate, #yiv2053837142  =
    li.yiv2053837142MsoAcetate, #yiv2053837142   div.yiv2053837142MsoAcetate=
    =0A=09{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;color:black;}=0A#yi=
    v2053837142   span.yiv2053837142BalloonTextChar=0A=09{}=0A#yiv2053837142   =
    p.yiv2053837142ecxmsonormal, #yiv2053837142   li.yiv2053837142ecxmsonormal,=
    #yiv2053837142   div.yiv2053837142ecxmsonormal=0A=09{margin-right:0in;marg=
    in-left:0in;font-size:12.0pt;color:black;}=0A#yiv2053837142   p.yiv20538371=
    42ecxmsoacetate, #yiv2053837142   li.yiv2053837142ecxmsoacetate, #yiv205383=
    7142   div.yiv2053837142ecxmsoacetate=0A=09{margin-right:0in;margin-left:0i=
    n;font-size:12.0pt;color:black;}=0A#yiv2053837142   p.yiv2053837142ecxmsoch=
    pdefault, #yiv2053837142   li.yiv2053837142ecxmsochpdefault, #yiv2053837142=
       div.yiv2053837142ecxmsochpdefault=0A=09{margin-right:0in;margin-left:0in=
    ;font-size:12.0pt;color:black;}=0A#yiv2053837142   p.yiv2053837142ecxmsonor=
    mal1, #yiv2053837142   li.yiv2053837142ecxmsonormal1, #yiv2053837142   div.=
    yiv2053837142ecxmsonormal1=0A=09{margin-right:0in;margin-left:0in;font-size=
    :12.0pt;color:black;}=0A#yiv2053837142   p.yiv2053837142ecxmsoacetate1, #yi=
    v2053837142   li.yiv2053837142ecxmsoacetate1, #yiv2053837142   div.yiv20538=
    37142ecxmsoacetate1=0A=09{margin-right:0in;margin-left:0in;font-size:8.0pt;=
    color:black;}=0A#yiv2053837142   p.yiv2053837142ecxmsochpdefault1, #yiv2053=
    837142   li.yiv2053837142ecxmsochpdefault1, #yiv2053837142   div.yiv2053837=
    142ecxmsochpdefault1=0A=09{margin-right:0in;margin-left:0in;font-size:10.0p=
    t;color:black;}=0A#yiv2053837142   span.yiv2053837142ecxmsohyperlink=0A=09{=
    }=0A#yiv2053837142   span.yiv2053837142ecxmsohyperlinkfollowed=0A=09{}=0A#y=
    iv2053837142   span.yiv2053837142ecxballoontextchar=0A=09{}=0A#yiv205383714=
    2   span.yiv2053837142ecxemailstyle21=0A=09{}=0A#yiv2053837142   span.yiv20=
    53837142ecxemailstyle22=0A=09{}=0A#yiv2053837142   span.yiv2053837142ecxema=
    ilstyle23=0A=09{}=0A#yiv2053837142   span.yiv2053837142ecxmsohyperlink1=0A=
    =09{color:blue;text-decoration:underline;}=0A#yiv2053837142   span.yiv20538=
    37142ecxmsohyperlinkfollowed1=0A=09{color:purple;text-decoration:underline;=
    }=0A#yiv2053837142   span.yiv2053837142ecxballoontextchar1=0A=09{}=0A#yiv20=
    53837142   span.yiv2053837142ecxemailstyle211=0A=09{color:#1F497D;}=0A#yiv2=
    053837142   span.yiv2053837142ecxemailstyle221=0A=09{color:#1F497D;}=0A#yiv=
    2053837142   span.yiv2053837142ecxemailstyle231=0A=09{color:#1F497D;}=0A#yi=
    v2053837142   span.yiv2053837142ecxapple-converted-space=0A=09{}=0A#yiv2053=
    837142   span.yiv2053837142EmailStyle39=0A=09{color:#1F497D;font-weight:nor=
    mal;font-style:normal;}=0A#yiv2053837142   span.yiv2053837142EmailStyle40=
    =0A=09{color:#1F497D;}=0A#yiv2053837142   .yiv2053837142MsoChpDefault=0A=09=
    {font-size:10.0pt;}=0A#yiv2053837142  filtered  {margin:1.0in 1.0in 1.0in 1=
    .0in;}=0A#yiv2053837142   div.yiv2053837142WordSection1=0A=09{}=0A#yiv20538=
    37142 </style>=0A=0A<div dir=3D"ltr">=0A<div dir=3D"ltr">=0A<div style=3D"c=
    olor: rgb(0, 0, 0);">=0A<div>=0A<div style=3D"color: rgb(0, 0, 0); font-fam=
    ily: Calibri; font-size: small; font-style: normal; font-weight: normal; te=
    xt-decoration: none; display: inline;"><font face=3D"Times New Roman" size=
    =3D"4"></font><br clear=3D"none"></div> =0A<div class="3D""yiv2053837142WordS=
    ection1">=0A<div>=0A<table class="3D""yiv2053837142MsoNormalTable" style=3D"c=
    olor: rgb(0, 0, 0);" border=3D"0" cellspacing=3D"0" cellpadding=3D"0"><tbod=
    y><tr><td nowrap=3D"" valign=3D"top" style=3D"padding: 0in;" rowspan=3D"1" =
    colspan=3D"1">=0A      <div align=3D"right" class="3D""yiv2053837142MsoNormal=
    " style=3D"text-align: right;"> </div></td><td style=3D"padding: 0in;"=
    rowspan=3D"1" colspan=3D"1">=0A      <div class="3D""yiv2053837142MsoNormal"=
    ><font size=3D"4"></font> </div></td></tr><tr><td nowrap=3D"" valign=
    =3D"top" style=3D"padding: 0in;" rowspan=3D"1" colspan=3D"1"><font face=3D"=
    Times New Roman" size=3D"4"></font></td><td style=3D"padding: 0in;" rowspan=
    =3D"1" colspan=3D"1"><font face=3D"Times New Roman" size=3D"4"></font></td>=
    </tr><tr><td nowrap=3D"" valign=3D"top" style=3D"padding: 0in;" rowspan=3D"=
    1" colspan=3D"1"></td><td style=3D"padding: 0in;" rowspan=3D"1" colspan=3D"=
    1"><font face=3D"Times New Roman" size=3D"4"></font></td></tr><tr><td nowra=
    p=3D"" valign=3D"top" style=3D"padding: 0in;" rowspan=3D"1" colspan=3D"1"><=
    /td><td style=3D"padding: 0in;" rowspan=3D"1" colspan=3D"1"></td></tr><tr><=
    td nowrap=3D"" valign=3D"top" style=3D"padding: 0in;" rowspan=3D"1" colspan=
    =3D"1"></td><td style=3D"padding: 0in;" rowspan=3D"1" colspan=3D"1"><font f=
    ace=3D"Times New Roman" size=3D"4"></font></td></tr></tbody></table>=0A<div=
    class=3D"yiv2053837142MsoNormal"><font size=3D"4"></font><font size=3D"4">=
    </font><font size=3D"4"></font><font size=3D"4"></font><font size=3D"4"></f=
    ont><br clear=3D"none"><br clear=3D"none"></div> =0A<div>=0A<div>=0A<div>=
    =0A<blockquote style=3D"margin-top: 5pt; margin-bottom: 5pt;">=0A  <blockqu=
    ote style=3D"margin-top: 5pt; margin-bottom: 5pt;">=0A    <blockquote style=
    =3D"margin-top: 5pt; margin-bottom: 5pt;">=0A      <div>=0A      <div>=0A  =
        <table width=3D"100%" class="3D""yiv2053837142MsoNormalTable" style=3D"wi=
    dth: 100%; color: rgb(0, 0, 0);" border=3D"0" cellspacing=3D"0" cellpadding=
    =3D"0"><tbody><tr><td width=3D"100%" style=3D"padding: 1.5pt; width: 100%;"=
    rowspan=3D"1" colspan=3D"1">=0A            <div>=0A            <div class=
    =3D"yiv2053837142MsoNormal">  </div></div>=0A            <div>=0A     =
           <table width=3D"100%" class="3D""yiv2053837142MsoNormalTable" style=3D=
    "width: 100%; color: rgb(0, 0, 0);" border=3D"0" cellspacing=3D"0" cellpadd=
    ing=3D"0"><tbody><tr><td width=3D"100%" style=3D"padding: 1.5pt; width: 100=
    %;" rowspan=3D"1" colspan=3D"1">=0A                  <div>=0A              =
        <div>=0A                  <div class="3D""yiv2053837142MsoNormal">  =
    </div></div>=0A                  <div>=0A                  <div class="3D""yi=
    v2053837142MsoNormal"><span style=3D"font-size: 18pt;">What a brilliant way=
    to communicate =0A                  how risky it is to use mobile phones w=
    hile driving! More than =0A                  1.5 million views in 3 days!</=
    span></div></div></div> =0A                  <div>=0A                  <div=
    >=0A                  <div>=0A                  <div class="3D""yiv2053837142=
    MsoNormal"><span style=3D"font-size: 18pt;"><img width=3D"119" height=3D"61=
    " id=3D"yiv2053837142ecx0FC17514-10D6-4769-AAAF-4EC172FC576B" src=3D"cid:1.=
    [email protected]"></span></div></div> =0A           =
           <div>=0A                  <div class="3D""yiv2053837142MsoNormal"><spa=
    n style=3D"font-size: 18pt;"><a href=3D"https://www.youtube.com/embed/JHixe=
    Ir_6BM?rel=3D0&amp;autoplay=3D1&amp;iv_load_policy=3D3" target=3D"_blank" r=
    el=3D"nofollow" shape=3D"rect"><span style=3D"color: purple;">https://www.y=
    outube.com/embed/JHixeIr_6BM?rel=3D0&amp;autoplay=3D1&amp;iv_load_policy=3D=
    3</span></a></span></div></div></div></div></td></tr></tbody></table></div>=
    </td></tr></tbody></table></div></div></blockquote></blockquote></blockquot=
    e></div></div> =0A<div class="3D""yiv2053837142MsoNormal"><span style=3D"font=
    -family: serif;"><br clear=3D"none"><br clear=3D"none"><br clear=3D"none"><=
    br clear=3D"none"></span></div></div> =0A<div class="3D""yiv2053837142MsoNorm=
    al">  </div></div>=0A<div class="3D""yiv2053837142MsoNormal">  </di=
    v></div></div></div></div></div></div><br clear=3D"none"><br clear=3D"none"=
    ></div>  </div> </div>  </div> </div></div></div><br clear=3D"none"><br cle=
    ar=3D"none"></div>  </div> </div>  </div></div> </div></div></div><br><br><=
    /div>  </div> </div>  </div> </div></body></html>
    --2017413661-447096318-1404594690=:35141
    Content-Type: image/gif; name="ATT00001.gif"
    Content-Transfer-Encoding: base64
    Content-Id: <[email protected]>
    R0lGODlhdwA9ANU8AAEBATMAADQ0NEESEmYAAGgDNmYzM0ZGRlhXV3JDQ31RUXVHdVdXgZkAAJkA
    M5kzM4FXV8wAAMwAM8wzAMwzM/8AAP8A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m
    OrleL3BEKAQQJTt5YV+HhntyMwoNFRURDQUGJ4WKl1g6JgQYEZ2dEoEkOm+Ypk82Bo6dj50REQ8E
    Jm2ntUteJA+eu5+7FA0KCjNipULFboi2VzSNFhEWFawRkI+QDQQKMpbKtjszBBS8u84aFL2RDwd4
    yNymOqrT0fEVEiE39y0Y1a+ipO2YucT1aiEjxgaCMQQ2iMWiTaljEJP9I7KjhKNdkMi9iDGB3o0Y
    GDy0oPDIWSQFd45N5CIDnEBPGW50+ETBg4SPHMRBAmTiBP67lWQOEPBUjVUFDzdySngVwd6ICs6i
    6XsUqcCdbUCx7JAx4EGDXjRvrMAgwcMfFzfMeZLwIt8zqoAgjPKC1ZjEISpt6SABgUCDt6w63MMR
    w0PMEROYOvWkQYM+pg8MkJiRdYuNGQm8vqIZY8UItjByhsOwIgeFFjdy3FO7M5ACf5UzySABz9Wf
    Pzd+bGAas4W9GByQtrhg1JpkbbGdRFwT7O/XXS1WiLX54oYHFxwhvQgdc8K5heryELtrN1G7GbQd
    /GVKQfAI1CNxjGCPgcLGnBjyU43Q70dyK6SQsEkDz71iWFoeyDBCA+

    If you don't know the sender, then it is most likely a scam or spam email. I get them every day - I just delete them. I also get daily notices from Facebook or someone called Adriana at Facebook even though i do not have an account there. Can't do anything about it - just delete it.

  • Need to display a group by month

    i need to group my data by month, there are some dates that dont exist
    i am using a date field but doenst contain every month.
    i need to display jan, feb etc even if the date doesnt exist in the field
    any ideas???

    To actually make it useful you will need to join it to your original data set. Unfortunately, you probably don't have the "MonthNumber" anywhere in your original data set, making a direct link impossible... as it is now.
    So to carry the example out into something useful... (again for SQL Server... And using the AdventureWorks sample database)
    IF object_id('tempdb..#Temp') IS NOT NULL
    BEGIN
       DROP TABLE #Temp
    END
    CREATE TABLE #Temp (Number INT, MonthName VarChar(20))
    INSERT INTO #Temp (Number, MonthName) Values (1, 'January')
    WHILE (SELECT MAX(Number) FROM #Temp) < 12
    BEGIN
         INSERT INTO #Temp (Number, MonthName) SELECT MAX(Number)+1, DateName(mm,DateAdd(mm,MAX(Number),0)) FROM #Temp
    END
    SELECT
    c.FirstName,
    c.LastName,
    c.ModifiedDate,
    t.Number,
    t.MonthName
    FROM #Temp AS t
    LEFT OUTER JOIN Person.Contact AS c
      ON t.Number = DatePart(mm,c.ModifiedDate)
    ORDER BY c.ModifiedDate
    DROP TABLE #Temp
    ... which will produce results like this...
    FirstName     LastName     ModifiedDate          Number     MonthName
    David          Wruck          1999-01-31 00:00:00.000     1     January
    Candy          Spoon          1999-01-31 00:00:00.000     1     January
    Jane          Parkinson     1999-01-31 00:00:00.000     1     January
    Nuan          Yu          1999-01-31 00:00:00.000     1     January
    Bjorn          Rettig          1999-02-01 00:00:00.000     2     February
    Manoj          Syamala          1999-02-01 00:00:00.000     2     February
    William          Vong          1999-02-01 00:00:00.000     2     February
    Marie          Reinhart     1999-02-01 00:00:00.000     2     February
    Hope this helps,
    Jason

  • Date for every 3 months

    Hi experts,
    I have table with date and price . This table contains date for every day and corresponding price for that day. But I need to write a sql ,which outputs data for every three months .
    Eg: If my data in a table starts from jan-15-2009 to jan-15-2010 , then I should output the data like below .
    Jan-15-2009 20
    APR-15-2009 40
    JUL-15-2009 15
    OCT-15-2009 5
    JAN-15-2010 45
    Request all to help me . :(
    many many thanks in advance.
    Regards,
    Dirasa

    An alternative that doesn't require dates to be generated (again, apart from the setup data - nb. I have incorporated some of the logic into the data setup subquery, in order to make the final sql statement easier to read. You would replace "trunc(p_period_begin - 1 + level)" in the period_start_date column with whatever your date column is called):
    with param as (select trunc(sysdate) p_period_begin, 14 days_in_period from dual),
        my_tab as (select p_period_begin,
                          days_in_period,
                          p_period_begin - 1 + level dt_col,
                          trunc(p_period_begin) + days_in_period*floor((trunc(p_period_begin - 1 + level) - p_period_begin)/days_in_period) period_start_date,
                          level amount
                   from   param
                   connect by level <= add_months(p_period_begin, 12) - p_period_begin + 1)
    -- end of data setup
    select period_start_date,
           sum(amount)
    from   my_tab
    group by period_start_date
    order by period_start_date;
    PERIOD_START_DATE SUM(AMOUNT)
    17/11/2009                105
    01/12/2009                301
    15/12/2009                497
    29/12/2009                693
    12/01/2010                889
    26/01/2010               1085
    09/02/2010               1281
    23/02/2010               1477
    09/03/2010               1673
    23/03/2010               1869
    06/04/2010               2065
    20/04/2010               2261
    04/05/2010               2457
    18/05/2010               2653
    01/06/2010               2849
    15/06/2010               3045
    29/06/2010               3241
    13/07/2010               3437
    27/07/2010               3633
    10/08/2010               3829
    24/08/2010               4025
    07/09/2010               4221
    21/09/2010               4417
    05/10/2010               4613
    19/10/2010               4809
    02/11/2010               5005
    16/11/2010                731

  • Why do I have to change the password for my Apple ID every 3 months?

    Until recently I assummed that everyone had to change their password every 3 months, but on searching the web I found only a couple of mentions of other people who have to do this.
    My Apple ID was originally set up when I bought a Mac through my company (which was not a developer) from AppleStore Small & Medium Businesses in 2002.  Perhaps all accounts set up that way in 2002 work like this?
    The only solutions I can think of are:
    a) Change something in my Password and Security settings, but I can't see anything relevant.
    b) Move to a new Apple ID, but I think I would lose access to existing apps I have purchased?
    c) Ask Apple to change my settings, but the response a developer with this problem got from Apple was: "I am unable to change the password requirements and restrictions for your Developer Account".
    Anyone else have to keep changing their password?

    With hindsight, the previous response I got from Apple was just a way of shelving the problem.
    Having just had to reset my password after another 3 months, I contacted Apple again, and it happened that the senior advisor whom the phone agent consulted had had exactly the same problem as me, and had found that iTunes could fix it.  However when I spoke to iTunes they told me I needed to speak to Apple ID account security.  The Apple ID account security representative spoke to a senior adviser, then told me that it would be fixed after I reset my password.  However I am not convinced that anything was actually done, so I may be back here in another 3 months ...
    To modify Roger's advice, the solution I was given is: go to https://expresslane.apple.com ; select 'All Products and Services' in the first column, 'iTunes' in the second column, 'iTunes Store' in the third column, then "Account Management" and "Apple ID account security", then "Talk to Apple support now". A complication is that the "Talk to Apple support now" option only appears when UK English is selected.  So you either need to select UK at the top, or find another way of making phone contact (the email link just went back to the person in iTunes)!

Maybe you are looking for