I want that a column of my database, composed by float random numbers, change every x seconds determined by a timer.
I read about Schedule Tasks Events but i can't work it.
Please help
views:
74answers:
2
A:
I'm only familiar with sql server, but could you set up a stored proc with an infinite loop and a wait?
Norla
2009-12-16 16:06:17
i've solved the problem with the sql statement commented upi have created a client with Adobe Air which displays in an AdvancedDataGrid with treeview the database content; if i refresh the database, the tree structure collapse, so i want only some fields of the grid refresh.
Franky
2009-12-16 16:31:27
+1
A:
The following statement solve part of the problem, i hope it will be useful for others users:
CREATE EVENT addTimer
ON SCHEDULE EVERY 2 SECOND
STARTS CURRENT_TIMESTAMP ENDS CURRENT_TIMESTAMP + INTERVAL 9 HOUR
DO
UPDATE prova.prova SET actual = actual + 1
Franky
2009-12-18 09:42:14