The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[SQL] Smallest value in a column
Hi,
I have a cron script that looks like so: PHP Code:
What I want it to do is "WHERE dateline=smallest value". (I want to update the row with the oldest timestamp to timenow.) So I imagine I would have to add links.dateline to the first query. But how can I change that query to update the row with the oldest timestamp. I found some reading regarding MIN() but I am not sure how to implement it here. Cheers, Ian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|