I need an ASP file to perform a 5 seconds delay and read that database, until a field called STATUS equals to 10.
Do until Status=10
Select STATUS from database
5 SECONDS WAIT
I want to put that 5 seconds wait before the database is queried again, so I don't overload the SQL server.