SQL Question
I need a query that will delete any rows in the database that are more than 2 weeks old. It would be nice if this were able to be easily changed just by putting a 2 or 3 or 4 weeks etc, instead of having some crazy timestamp contraption.
Any help is appreciated. Mine was supposed to be 2 weeks and it was deleting way before that. |
BUMP
|
look at the code for my frequent fragger program.
http://forums.alliedmods.net/showthread.php?t=12149 Here is the db maintenance part of it Code:
|
@slurpycof:
Thanks a ton!!! I will be sure to credit your work. |
| All times are GMT -4. The time now is 09:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.