Deleting the old data and keep the current

Whenever i load the table with new feed, i want to have only the 1 year of data.
for example, if i load the data on 28-Apr-2012, then i should have the data only from 28--Apr-2011 to 28-Apr-2012.
The older data should be removed from the table
How efficiently we can achieve this? in stead of issuing the delete query before every load.
Thanks

selvamg wrote:
Write a Preinsert trigger to move preious period data to archive tableHe asked how to do it efficiently . . . .

Similar Messages

Maybe you are looking for