Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to update random rows in sql

UPDATE daTable
   SET current = current + 1
ORDER
    BY RAND() LIMIT 1
 
PREVIOUS NEXT
Tagged: #update #random #rows #sql
ADD COMMENT
Topic
Name
5+9 =