I created a query in which I insert the result of a selection from another table into an empty table.
This select takes ~ 20 minutes (30 M rows, 120 columns and Where), but insert takes ~ 1 hour .
Do you have any suggestions for improving it?
What I did, as in the example below.
Insert Into tableA
Select *
From TableB
Appreciate your help!
source
share