i want to clear all data in databse automatically for everymonth.iam using xampp.
shashigowda
0
Junior Poster in Training
Recommended Answers
Jump to PostAdd a timestamp in every table and use that to determine whether or not it should be deleted.
Jump to PostIt's not that simple.
- Add a timestamp column to the tables you want to do this for.
- Make sure that when you insert a new record this date gets filled.
- Create a query to run at regular intervals to remove all records with old dates.
All 6 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
shashigowda
0
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
shashigowda
0
Junior Poster in Training
shashigowda
0
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.