Hi All,
I have 1500,000 lacs records in my Permanant table. Now I want to copy some records (which are satisfied 2 conditions) to one temp table. How I copy the Records.
Now I use the following condition,
for each xx_table where xx_table_field1 = "A"
and xx_table_filed2 = "B":
create temp_table.
assign fileld 1
field 2
.
.
etc.
end.
Note:
Field1 is available in index , field2 is not available in index.
The above condition takes nearly 90 minitues to create the temp table. How I fine tuned this logic?
Please Help....
Prabu.M
I have 1500,000 lacs records in my Permanant table. Now I want to copy some records (which are satisfied 2 conditions) to one temp table. How I copy the Records.
Now I use the following condition,
for each xx_table where xx_table_field1 = "A"
and xx_table_filed2 = "B":
create temp_table.
assign fileld 1
field 2
.
.
etc.
end.
Note:
Field1 is available in index , field2 is not available in index.
The above condition takes nearly 90 minitues to create the temp table. How I fine tuned this logic?
Please Help....
Prabu.M