P
pemt
how to make a table with 10 million rows in one column?
Num
1
2
3
..
..
..
10,000,000
thanks,
pemt
Num
1
2
3
..
..
..
10,000,000
thanks,
pemt
how to make a table with 10 million rows in one column?
Num
1
2
3
.
.
.
10,000,000
thanks,
pemt
John,
Thanks for your help.
When I run the query you wrote, it asked me to give input of N1, N2 and N3.
I gave N1=1, N2=2, N3=3, then it said "could not find output table 'bigtable'.
how to solve it?
actually I have more than 10 M records to fill with and each one is unique.
John,
Thanks.
How to run below code in Access to make table?
n=1
n=n+1
n<10000000
print n /
end
John W. Vinson said:THEN STOP!!!!!
It is not necessary to create ten million empty records and then fill them in.
Simply use an Autonumber ID. Add the records as the data becomes available -
importing, appending, entering with a form. Create the record *when there is a
record to create* - not before.
Thanks a lot!
kc-mass said:Try this: Set it off and wait two or three minutes depending on your
machine.
Sub MakeBig()
Dim strSQL1 As String
Dim strSQL2 As String
Dim lngCount As Long
On Error GoTo E_Handle
strSQL1 = "INSERT INTO tblBig2 ( [key] ) SELECT tblBig1.key FROM tblBig1;"
strSQL2 = "INSERT INTO tblBig1 ( [key] ) SELECT tblBig2.key FROM tblBig2;"
DoCmd.SetWarnings False
Do While lngCount < 1000
DoCmd.RunSQL strSQL1
DoCmd.RunSQL strSQL2
lngCount = lngCount + 1
Loop
DoCmd.SetWarnings True
sExit:
On Error Resume Next
DoCmd.SetWarnings True
Exit Sub
E_Handle:
MsgBox Err.Description, vbOKOnly, Err.Number
Resume sExit
End Sub
pemt said:how to make a table with 10 million rows in one column?
Num
1
2
3
.
.
.
10,000,000
thanks,
pemt
.
Is there any way I will be able to process SQL
database from Access interface, like running queries ...?