Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

populate sql table with random data

>>> import random
>>> random.randrange(0, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/mj/Development/Libraries/buildout.python/parts/opt/lib/python2.7/random.py", line 217, in randrange
    raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
ValueError: empty range for randrange() (0,0, 0)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #populate #sql #table #random #data
ADD COMMENT
Topic
Name
9+8 =