how can generate random phone numbers or 10- 12 digit interger

Seven Stars

how can generate random phone numbers or 10- 12 digit interger

hello

Is there any way to generate random phone number or 10-12 digits integer values.

i tried to generate through tRowGenerator but it can't work..

Seven Stars

Re: how can generate random phone numbers or 10- 12 digit interger

as we know there is upper and lower bound limitation of integer type so we can't directly generate 10-12 digit

so what i did is:

 

one.PNGjob look liketwo.PNGusing random value function we define 9 digit max and min valuethree.PNGand in tjava converting integer to string and concating 10 value as "9" in them

Regards
Aashish
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: how can generate random phone numbers or 10- 12 digit interger

Hi,

I am getting data conversion error, as newColumn is Integer.

Seven Stars

Re: how can generate random phone numbers or 10- 12 digit interger

Make Integer to String

Regards
Aashish
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.