Microsoft
Software
Hardware
Network
Question : How to populate the table with quosi-random numbers
Have a table A(ID1 number(3), ID2 number(2));
How to populate table A with a serial numbers. sequences can be used, but in A if there were only one ID, the following trick can be played:
insert into A(ID1)
( select rownum from dual CONNECT BY LEVEL < 1000);
It will insert 999 numbers into A.
Now ID2 can take the values from 1 to 99, how to deal this case with 2 variables?
Answer : How to populate the table with quosi-random numbers
select rownum, mod(rownum,99)+1 from dual CONNECT BY LEVEL < 1000
Random Solutions
Error running DC Promo on Windows 2008 R2
Fortigate SSLVPN configuration
Cisco Catalyst 2950
Cant access router web login - SBS 2003
Iseries OSV5R4 PM eserver iSeries telephone number
error with external dll
Flexura D tablet is harmful to our body or it contains steroids ?
iphone activesync push constant sync and battery drain problem
Writing Label on Google Map Pins
DLink DNS-321 NAS