DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
update data with random values postgres
update foo set bar = floor(random() * 9 + 1); -- from 1 to 10, inclusive
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#update
#data
#random
#values
#postgres
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit