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
Outlook 2007 Tasks sending out automatic status reports (updates) when attachments are opened
Can not get mysql to work with IIS7 Drupal and PHP
Can WordPress be customized to some degree by manipulating files embeded in the WordPress file path
Auto start and mount RAID array Linux
How can I edit my Excel list to include only one entry from each domain name
can't change password through OWA 2010
How to convert non ansi outer join =* to ansi outer join
Best way to "reimage" office computers so that they all have same OS
How do I "PROPER" Addresses on excel 2010?
Does ODBC connection from INFORMIX DB to MS ACCESS has committed read on the data?