Please help on: Automatic deletion of certain rows

Hi all,
I am developing a project in which the rows inserted before two months should be deleted automatically. I have a date column in my table. I wrote a PL/SQL stored procedure that deletes the rows that are two months old. Now I can able to delete the rows only if I manually call the stored procedure. But my question is how to call the procedure on a daily basis automatically, so that the rows are checked and deleted daily.

look up DBMS_JOB (pre 10g) or DBMS_SCHEDULER (10g onwards)

Similar Messages

  • Please help me to delete all the contacts in my i phone 4s..its tiring to delete one by one...

    please help me to delete all the contacts in my i phone 4s..its tiring to delete one by one

    Stop making illogical statements and posting multiple times.
    READ the article from which this silly statement was posted and follow the detailed (and explicit) instructions.

  • HT204053 Please help me to delete my friend account get the Magicjack on my iphone . Now i want get it for use this program myself. How to do now?

    Please help me to delete my friend account :, getting in the Magicjack on my iphone last year. Now he go away and the date on Magicjack is expiried. I need  delete it for create my own account: on Magicjack. But I don"t know his password. How to do now? Please help me.
    Best regards.
    <Email Edited by Host>

    Welcome to the Apple community Dieumai.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • Please help!-I deleted the master file

    Ok. for the first time I accidentally deleted a sitting from the original file folder. It's not anywhere, not trash, I searched the entire computer, etc.
    Is there a way to restore it thru lightroom? I still have the lightroom files but of course they say the filename "IMG_0558" is offline or missing.
    Please help. I can't call this client with this huge mistake.

    Yes, that is what I normally do. However, this week I lost contact with one entire side of my family due to mental illness (not mine), and then my grandmother passed away as well. Her funeral was just yesterday. This doesn't excuse my failure to back up again but I was no mind to be handeling files and I should not have been. I should have gone to bed instead. I am a responsible photographer, this has never happened in 13 years. I've just had the worst week of that 13 years almost.
    It's my own fault, and a mistake that I made. I just need help in trying to fix it if possible.
    I'm trying the restoration programs now.

  • Please help me to delete a group conversation when...

    Hi everyone
    I made a group chat of all of my contact list by mistake.  Then I deleted the conversation by hit delete button on keyboard. Later, I  left group by another big mistake. When I join group again, I lost my admin control.
    I really need help to completly remove this group because I don't want everyone in group know each other skype ID (this is a business situation).
    Please help me ....
    ND

    mende1 -- what? Did you do the link I gave, as that is the incorrect and old info one!https://discussions.apple.com/message/23607239#23607239
    Kind regards
    Krishna (krishnalovesyou)

  • Please help an automater noob

    Hey. I have never used automater and don't know how to use it but I was wondering the extent of it capabilities. What I really want it to do is log me onto facebook and send something every hour. Is that possible. With those familiar with facebook, I'm trying to send schrute bucks to a friend. We're in a contest among friends.

    The same thing happens to me when I am using Microsoft Internet Explorer 7 on my Gateway (Windows XP Home, SP2, 512 RAM). However, once I get the error message, and open another QuickTime file, the browser displays a "IE has encountered a problem and needs to close," and shuts down MSIE. Please help!
    Macbook 1.83 GHz   Mac OS X (10.4.7)  

  • Please help - Joining three tables and get row values into Column. Please help!

    Hi,
    There is a SourceTable1 (Employee) with Columns like EmployeeID,Name,DOB.
    There is a sourcetable2 (EmployeeCode) with columns like EmployeeID,Code,Order.
    There is a source table 3  #EmployeeRegioncode  and its columns are (EmployeeID , RegionCode , [Order] 
    The target table 'EmployeeDetails' has the following details. EmployeeID,Name,DOB,Code1,Code2,Code3,Code4,regioncode1
    regioncode2 ,regioncode3 ,regioncode4 
    The requirement is , the value of the target table columns the Code1,code2,code3 ,code4,code5 values should
    be column 'Code' from Sourcetable2 where its 'Order' column is accordingly. ie) Code1 value should be the 'Code' value where [Order] column =1, and Code2 value should be the 'Code' value where [Order] =2, and so on.
    Same is the case for Source table 3- 'Region code' column also for the columns  regioncode1
    regioncode2 ,regioncode3 ,regioncode4 
    Here is the DDL and Sample date for your ref.
    IF OBJECT_ID('TEMPDB..#Employee') IS NOT NULL DROP TABLE #Employee;
    IF OBJECT_ID('TEMPDB..#EmployeeCode') IS NOT NULL DROP TABLE #EmployeeCode;
    IF OBJECT_ID('TEMPDB..#EmployeeDetails') IS NOT NULL DROP TABLE #EmployeeDetails;
    ---Source1
    CREATE table #Employee 
    (EmployeeID int, Empname varchar(20), DOB date )
    insert into #Employee VALUES (1000,'Sachin','1975-12-12') 
    insert into #Employee VALUES (1001,'Sara','1996-12-10') 
    insert into #Employee  VALUES (1002,'Arjun','2000-12-12')
    ---Source2
    CREATE table #EmployeeCode 
    (EmployeeID int, Code varchar(10), [Order] int)
    insert into #EmployeeCode VALUES (1000,'AA',1) 
    insert into #EmployeeCode VALUES (1000,'BB',2)   
    insert into #EmployeeCode  VALUES (1000,'CC',3)  
    insert into #EmployeeCode VALUES  (1001,'AAA',1)  
    insert into #EmployeeCode  VALUES  (1001,'BBB',2)  
    insert into #EmployeeCode  VALUES  (1001,'CCC',3)  
    insert into #EmployeeCode  VALUES  (1001,'DDD',4)  
    insert into #EmployeeCode  VALUES  (1002,'AAAA',1)  
    insert into #EmployeeCode  VALUES  (1002,'BBBB',2)  
    insert into #EmployeeCode  VALUES  (1002,'CCCC',3)  
    insert into #EmployeeCode  VALUES  (1002,'DDDD',4)  
    insert into #EmployeeCode  VALUES  (1002,'EEEE',5)  
    ---Source tbl 3
    CREATE table #EmployeeRegioncode 
    (EmployeeID int, RegionCode varchar(10), [Order] int)
    insert into #EmployeeRegioncode VALUES (1000,'xx',1) 
    insert into #EmployeeRegioncode VALUES (1000,'yy',2)   
    insert into #EmployeeRegioncode  VALUES (1000,'zz',3)  
    insert into #EmployeeRegioncode VALUES  (1001,'xx',1)  
    insert into #EmployeeRegioncode  VALUES  (1001,'yy',2)  
    insert into #EmployeeRegioncode  VALUES  (1001,'zz',3)  
    insert into #EmployeeRegioncode  VALUES  (1001,'xy',4)  
    insert into #EmployeeRegioncode  VALUES  (1002,'qq',1)  
    insert into #EmployeeRegioncode  VALUES  (1002,'rr',2)  
    insert into #EmployeeRegioncode  VALUES  (1002,'ss',3)  
    ---Target
    Create table #EmployeeDetails
    (EmployeeID int, Code1 varchar(10), Code2 varchar(10),Code3 varchar(10),Code4 varchar(10),Code5 varchar(10) , regioncode1 varchar(10),
    regioncode2 varchar(10),regioncode3 varchar(10),regioncode4 varchar(10))
    insert into #EmployeeDetails  VALUES (1000,'AA','BB','CC','','','xx','yy','zz','')  
    insert into #EmployeeDetails  VALUES (1001,'AAA','BBB','CCC','DDD','','xx','yy','zz','xy')  
    insert into #EmployeeDetails VALUES (1002,'AAAA','BBBB','CCCC','DDDD','EEEE','qq','rr','ss','')  
    SELECT * FROM  #Employee
    SELECT * FROM  #EmployeeCode
    SELECT * FROM  #EmployeeRegioncode
    SELECT * FROM  #EmployeeDetails
    Can you please help me to get the desired /targetoutput?  I have sql server 2008.
    Your help is greatly appreciated.

    select a.EmployeeID,b.code1,b.code2,b.code3,b.code4,b.code5,c.Reg1,c.Reg2,c.Reg3,c.Reg4 from
    #Employee a
    left outer join
    (select EmployeeID,max(case when [Order] =1 then Code else '' end) code1,
    max(case when [Order] =2 then Code else '' end)code2,
    max(case when [Order] =3 then Code else '' end)code3,
    max(case when [Order] =4 then Code else '' end)code4,
    max(case when [Order] =5 then Code else '' end)code5 from #EmployeeCode group by EmployeeID) b
    on a.EmployeeID=b.EmployeeID
    left outer join
    (select EmployeeID,max(case when [Order] =1 then RegionCode else '' end) Reg1,
    max(case when [Order] =2 then RegionCode else '' end)Reg2,
    max(case when [Order] =3 then RegionCode else '' end)Reg3,
    max(case when [Order] =4 then RegionCode else '' end)Reg4 from #EmployeeRegioncode group by EmployeeID) c
    on a.EmployeeID=c.EmployeeID
    Thanks
    Saravana Kumar C

  • Please Help: I accedently deleted the Safari on the Mac OS -

    How can I install the Safari because I can't open Safari using the MAC OS. I am actually running the virtual machine now, using XP Windows to send this message out? Please HELP!!!!

    Hi
    Welcome to Apple Discussions
    A reinstall of Safari Leopard is quite simple.
    First, insert the Leopard Installer DVD. Double Click on the "Optional Installs". Then double click on the Optional Installs.mpkg file. Once open, the Installer will lead you through a few steps. After selecting your HD, the next panel is where you'll find Safari (in the Applications folder. Check the box, then continue.
    After Safari is installed, go to your Applications>Utilities folder. There, open Disk Utility. When open, select your HD on the left, then "repair permissions".
    This installs Safari 3.0.4 on your system. Once installed, you can download the latest version of Safari from here.
    Message was edited by: Hawaiian_Starman

  • Please help me,i deleted photo whith the program clean genius pro, what can i do?thanks

    I used clean genius and i delated old photo the iphoto,please i want have again my photos please help me,thanks and sorry i.m spanish people desesperated,

    Reinstall it.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List.

  • PLEASE HELP!  members deleted after refreshing, current report and report layout

    Hi ,
    First of all , before explain my issue, I read the note about March Microsoft update, and my symptoms aren't exactly similar but almost the same.
    And it appeared last week, so one month after the ms update.
    So, I opened my report, and I see that current report and report layout are greyed out,
    I try to refresh the report and some members in rows axis are deleted.
    I'm only  one to have this problem in my team.
    Is there anybody able to solve my issue please ?
    Thanks in advance
    Jonas
    P.S  sorry for my english.

    Hi Marco,
    First of all, sorry to reply long a time after you answer but I was so very busy with another things.
    In fact, It's was a mistake, It's sure that it's not about an update. My issue comes only when I save my report in a different server, When I'm in the  source server,  I select the target server with  "Select Another Connection" process And I save my report in the target server.
    After that,  lot of members are dissapeared in my row axis.
    I don't know why.

  • Please help Urgent:Automaticly the Odbc Connection??

    hi everyone,
    i,m looking for a maner to do the odbc connection automaticly: i have a demo of a software in a CD ,the database is there too and i will take this demo to one customer but i don't like to setup the odbc connection in his Computer , i wan it to start automaticly when i put the CD in his computer
    please any help it's urgent

    hi there, why not use an Object Oriented Database, a good example is Oracle, you could embed the database and use JSQL for connectivity, in this way you will not have to define a name in the ODBC..infact ODBC wont be used here....Check out Oracles OO Database and another example is Jeevan Database, more info http://www.w3apps.com/ ....
    asrar

  • Please help me figure out a certain function in iTunes.

    I'm a new Mac user so in Windows, I am used to holding down ctrl and then clicking a whole bunch of files and then moving them as one whole unit to a new location. How can I do this on a Mac? Transferring songs from iTunes to my iPod is a bit of a chore because I have yet to figure it out.
    Thanks for any help.

    You can select the first song, then hold the shift key while selecting the last song in the row and all songs between it will be highlighted for you to move.
    You can also use the "Apple" key and click to pick individual songs that might not be listed consecutively in your library.

  • Please suggest solution for deletion of  all rows in table at a time

    Suggest me pl/sql code for a push button in form to ‘delete entire rows’ in a table.
    BEGIN
    LOOP
    DELETE
    FROM mytable(say table name)
    WHERE ROWNUM < 20000;
    EXIT WHEN SQL%ROWCOUNT = 0;
    COMMIT;
    END LOOP;
    END;
    I wrote this code but not deleted .
    Execute immediate ‘truncate table <tablename>’; this code too not working.
    What my need is ‘ I don’t want to put entire block fields in the form, just I want to put a push button and when I pressed it must delete all rows in a particular table.
    That I want to delete all rows form builder runtime not by entering sql.8.0 and then there delete the rows.
    thanks in advance
    prasanth a.s.

    to delete all records in a table, if you want to get good performance, then use:
    FORMS_DDL('TRUNCATE TABLE your_table_name');
    It is better than use DELETE FROM TABLE_NAME. But if you have condition in where clause, then you have to use DELETE FROM ...

  • Hi, Can Some One Please Help Me With Deleting Pictures Off My iPod Nano?

    Hi, can somebody please tell me how to delete all the pictures off my iPod nano? I accendenty transfered them all and I dont know how to get rid of them. Thanks
      Windows XP  

    I'm not sure about what you see in ITunes in XP, but this is how you do it in OSX.
    Open ITunes, connect your Nano. Click on the Nano and then Preferences (it's a drop under "ITunes"). Click on IPod, then Photos. UN-CLICK " Auto-Synchronize" and you should get a pop-up that ask if you wish to remove photos from your IPod. Click "Yes"and you are done. It worked for me.

  • Please help me to delete a PS project

    Hi all,
    I'm trying desperately to delete a project system by executing a specific program.
    I found out BAPI on an another post  :
    BAPI_PS_INITIALIZATION
    BAPI_BUS2001_DELETE "delete project definition
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    This sequence of BAPI is working only for project definition but not for a project with wbs element (level 1, 2, 3 and 4) and networks
    then, i did find out two another BAPI :
    BAPI_BUS2054_DELETE_MULTI "delete WBS element
    BAPI_BUS2002_DELETE "delete networks
    I'm wondering if I need to sort the BAPI ? I mean, do I need to delete first the project definition, and the WBS element and the networks ? like the sequence as follow :
    BAPI_PS_INITIALIZATION
    BAPI_BUS2001_DELETE "delete project definition
    BAPI_BUS2054_DELETE_MULTI "delete WBS element
    BAPI_BUS2002_DELETE "delete networks
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    thx for your help

    Hi Nicolas,
    You need to adopt bottom up approach. The hierarchy of project is
    Level I: Project Definiton
    Level II: WBS Elements
    Level III: Network
    Hence delete the network first, then WBS and then definition. If there are activities in network you need to delete them before deleting the network. If any of these objects are in released state, ie system status REL, I doubt BAPI can delete them. In created state, system status CRTD, BAPI will delete desired objects.
    Hope this helps.
    Regards

Maybe you are looking for

  • Modify Query in Production System !

    Hello SDN s, How ya all ? We want to Modify a Query by inserting one more <b>InfoObject in the Production System</b>. When we try to <i>Drag & Drop</i> the InfoObject from the Dimension to the <i><b>Free Characteristics</b></i> it showed <b>blocked s

  • Changing dimensions of each side individually

    Hi everybody, I'm new to the forum but not new to photoshop. I've come across the following problem while using photoshop. I've got a rectangle with given dimensions. Say my original rectangle is 15x30 cm. Now I want the the top side to have dimensio

  • How can I get the start date and end date of a certain week?

    Hello, in my java code, I can get the week ID , using org.joda.time.base.AbstractDateTime.getWeekOfWeekyear() , for example, this week is the 16th week of this year. And I want to get the start date(date of Monday) and end date(date of Sunday) of the

  • How to find where the user logged in to SAP

    Dear All, Our client is using SAP 8.8. He is using Citrix. When he logged in, it says user already login. I login to SAP by manager and I saw his user is gray out. That means this user logged in from some where. Their IT person said he has no session

  • Why is iMovie repeatedly appearing for update?

    I downloaded all 1.9+ GB of the update to iMovie last night and it appeared to install, but this morning, I noticed that there was another update for iMovie appearing in my App Store. Any idea what's going on and how can I prevent this update from co