LucieLastic
Programmer
hi All
I'm using D7 and the BDE.
My understanding is that setting RequestLive = true will slow the .Open down as the BDE has to create a cursor to the dataset, am I right? The query does contain a 'where' clause but it is on a very big table (millions of records).
I'm trying to speed up someone else's code and I always avoid using RequestLive and cachedupdates, (cached updates are not being used in this project). In my experience I've also learnt that using parambyName is also slower than writing the values directly into the 'sql.add()' lines.
This code I'm looking at also uses a lot of ParamByName commands which I'm going to replace but was wondering whether removing the Requestlive=true would speed it up aswell. The RequestLive is being used with the .Delete but I'm going to replace all those with 'delete from... where' queries.
lou
I'm using D7 and the BDE.
My understanding is that setting RequestLive = true will slow the .Open down as the BDE has to create a cursor to the dataset, am I right? The query does contain a 'where' clause but it is on a very big table (millions of records).
I'm trying to speed up someone else's code and I always avoid using RequestLive and cachedupdates, (cached updates are not being used in this project). In my experience I've also learnt that using parambyName is also slower than writing the values directly into the 'sql.add()' lines.
This code I'm looking at also uses a lot of ParamByName commands which I'm going to replace but was wondering whether removing the Requestlive=true would speed it up aswell. The RequestLive is being used with the .Delete but I'm going to replace all those with 'delete from... where' queries.
lou