Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Unique 6 digit ID

$
0
0

Hi all,

I am trying to create a "UserID" column that needs to be numeric and exactly 6 chars in length ( so 100000 to 999999). I have created a number column and put the min as 100000 and the max as 999999 with 0 decimals and produced 100,000 rows. A few seconds into loading the data into my database I get an error stating that it cant insert a duplicate row. Is there a way to make the numbers distinct?


Viewing all articles
Browse latest Browse all 2665

Trending Articles