The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Deleting records older than 5 minutes?
Hello all,
I hope someone here can help me out with this. How can I write a query, which will look at a table and determine which records are older than 5 minutes and delete those records? The table name is: liveacars The field name which contains the timestamp is: last_update I guess the query would be something like this: DELETE FROM liveacars WHERE last_update... Now, what comes after WHERE last_update, that's where I need your help. Thanks for any help! |
#2
|
|||
|
|||
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|