J
John Spiegel
Hey all,
I'm working on a winform that does an update on a local VFP database using
OleDb. Doing this natively in VFP is about two seconds, while doing so in a
..NET form takes 25 seconds. Any idea where I can get some speedup?
cmdPrepaidCard.CommandText =
"UPDATE PrepaidBatch SET TransactionKey = 100 " +
"WHERE EMPTY(Created) AND TransactionKey = 0 AND " +
"BatchType = 'I' AND Sequence - 5 < " +
"(SELECT MIN( Sequence ) " +
"FROM PrepaidBatch " +
"WHERE EMPTY( Created ) AND BatchType = 'I' " +
"AND TransactionKey = 0 )";
TIA,
John
I'm working on a winform that does an update on a local VFP database using
OleDb. Doing this natively in VFP is about two seconds, while doing so in a
..NET form takes 25 seconds. Any idea where I can get some speedup?
cmdPrepaidCard.CommandText =
"UPDATE PrepaidBatch SET TransactionKey = 100 " +
"WHERE EMPTY(Created) AND TransactionKey = 0 AND " +
"BatchType = 'I' AND Sequence - 5 < " +
"(SELECT MIN( Sequence ) " +
"FROM PrepaidBatch " +
"WHERE EMPTY( Created ) AND BatchType = 'I' " +
"AND TransactionKey = 0 )";
TIA,
John