"mysql trigger to delete old data" Code Answer's
You're definitely familiar with the best coding language SQL that developers use to develop their projects and they get all their queries like "mysql trigger to delete old data" answered properly. Developers are finding an appropriate answer about mysql trigger to delete old data related to the SQL coding language. By visiting this online portal developers get answers concerning SQL codes question like mysql trigger to delete old data. Enter your desired code related query in the search bar and get every piece of information about SQL code related question on mysql trigger to delete old data.
mysql trigger to delete old data
SET GLdelimiter //
create event if not exists clean_old_records
on schedule every 1 week
do
begin
delete from your_table_name
where
Timestamp < date_sub(curdate(),interval 1 month) ;
end; //
delimiter ;OBAL event_scheduler = ON;
Source: stackoverflow.com
All those coders who are working on the SQL based application and are stuck on mysql trigger to delete old data can get a collection of related answers to their query. Programmers need to enter their query on mysql trigger to delete old data related to SQL code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about mysql trigger to delete old data for the programmers working on SQL code while coding their module. Coders are also allowed to rectify already present answers of mysql trigger to delete old data while working on the SQL language code. Developers can add up suggestions if they deem fit any other answer relating to "mysql trigger to delete old data". Visit this developer's friendly online web community, CodeProZone, and get your queries like mysql trigger to delete old data resolved professionally and stay updated to the latest SQL updates.