comp.lang.ada
 help / color / mirror / Atom feed
* Table read before inserting a record using Recordset update
@ 2003-08-14 13:57 baskar
  2003-08-14 15:21 ` Robert I. Eachus
  0 siblings, 1 reply; 2+ messages in thread
From: baskar @ 2003-08-14 13:57 UTC (permalink / raw)


Hi,

Trying to insert a record using the records section option
(rs.addNew()). I think it reads the whole table. I'm using the query
"select * from table where primary key = 1" for opening the record
set. My DBA is reporting that she is seeing "select * from table"
query is issued very frequently (where as we never issue this query
from any where else).

I'm suspecting that addNew() function reads the whole table before
inserting the record, but not sure. Any ideas or suggestions?

Thanks !

Regards,
Baskar



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-14 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-14 13:57 Table read before inserting a record using Recordset update baskar
2003-08-14 15:21 ` Robert I. Eachus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox