Hi, I got two tables that are Identicle in structure down to the last speck of dust. In one table I have lots of data in the other I have nothin' ..."so what's the deal" (I can hear ya right now!
)...
Table A is populated with loads of data, the primary key is the RecordNumbers.
Table B ...zilch, nothin, zero except for the primary key (RecordNumbers)
That goes from 1 to 10100
The record numbers in A are in sequence 1 , 2, 3 etc to about 10 000 but have gaps
so it goes 1,2,3,5,9,24,50 etc
The numbers in B are in sequence but no gaps. 1 to 10 000 consecutively
How do I get all the records in A over to B so that the gaps are filled with a RecordNumbers (Complete with no data(yet))
It would now look like this..
1 data
2 data
3 data
4 no data
5 data
6 no data
7 no data
8 no data
9 data
& so on
Rather then this...
1 data
2 data
3 data
5 data
9 data
& so on
I am just trying to add record numbers where there should be a number instead of a skip from say 1,3,12
Ideas folks? Oh by the way I want it to be a permanent change.
AndyPandy
Table A is populated with loads of data, the primary key is the RecordNumbers.
Table B ...zilch, nothin, zero except for the primary key (RecordNumbers)
That goes from 1 to 10100
The record numbers in A are in sequence 1 , 2, 3 etc to about 10 000 but have gaps
so it goes 1,2,3,5,9,24,50 etc
The numbers in B are in sequence but no gaps. 1 to 10 000 consecutively
How do I get all the records in A over to B so that the gaps are filled with a RecordNumbers (Complete with no data(yet))
It would now look like this..
1 data
2 data
3 data
4 no data
5 data
6 no data
7 no data
8 no data
9 data
& so on
Rather then this...
1 data
2 data
3 data
5 data
9 data
& so on
I am just trying to add record numbers where there should be a number instead of a skip from say 1,3,12
Ideas folks? Oh by the way I want it to be a permanent change.
AndyPandy