I am very new to SQL and hardly ever use it. I do how ever maintain a proxy server array. So I used a existing SQL server to do the Proxy servers Logging.The database is working just great. The problem is that it is growing very fast and I want the sql server to be able to delete records that are lets say over a hundred days old. I figure that after a hundred days whatever happened back then is not worth keeping. I used to use a access db and the SQL delete query was
DELETE *
FROM webproxy
WHERE (((webproxy.logTime)<[please enter the date]));
this worked great except I couldn't automate the process. With SQL I can.
I want the above query to
1: Work in SQL not just Access
2: instead of asking for a date just delete anything older than a hundred days
If there is any GURUs out there that could save me hours of work I would really be thankful!
DELETE *
FROM webproxy
WHERE (((webproxy.logTime)<[please enter the date]));
this worked great except I couldn't automate the process. With SQL I can.
I want the above query to
1: Work in SQL not just Access
2: instead of asking for a date just delete anything older than a hundred days
If there is any GURUs out there that could save me hours of work I would really be thankful!