Which is faster?
MySQL = "DELETE [ProductivityRpt-Monthly].* FROM [ProductivityRpt-Monthly];"
CurrentDb().Execute MySQL
or
DoCmd.OpenQuery "Prod-Daily-Delete", acNormal, acEdit
Please don't provide opinions, provide substantial proof. Even miliseconds count! I'm all about performance.
*Note I use CurrentDB() and not an indexed referenced DBEngine, due to the fact that people can have more than 1 database open, and this could cause problems.
Thankyou,
Randall Vollen
National City Bank Corp.
Just because you have an answer - doesn't mean it's the best answer.
MySQL = "DELETE [ProductivityRpt-Monthly].* FROM [ProductivityRpt-Monthly];"
CurrentDb().Execute MySQL
or
DoCmd.OpenQuery "Prod-Daily-Delete", acNormal, acEdit
Please don't provide opinions, provide substantial proof. Even miliseconds count! I'm all about performance.
*Note I use CurrentDB() and not an indexed referenced DBEngine, due to the fact that people can have more than 1 database open, and this could cause problems.
Thankyou,
Randall Vollen
National City Bank Corp.
Just because you have an answer - doesn't mean it's the best answer.