Re: UPDATE SQL for Excel - very slow - any suggestions?
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Mon, 23 Jan 2006 20:40:11 -0600
>Hello world,
>
>I am using ADO components to connect to a datasource; the user can
>connect to Excel sheets, Access or any other database.
>
>After using the program, the user will want to update certain fields in the
>datasource.
>I have implemented this with standard "UPDATE" SQL queries.
>This works fine with Access. But with Excel sheets it is very slow (factor
>60).
>This is probably due to the fact that there is no index in the key fields in
>Excel.
>
>Any suggestions?
Don't use SQL
Use a TadoDataset set the commandType to cmdTableDirect
commandText to the data*** you want to edit
Then make all your changes directly to the tadoDataset
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: UPDATE SQL for Excel - very slow - any suggestions?
- From: Martin B
- Re: UPDATE SQL for Excel - very slow - any suggestions?
- References:
- UPDATE SQL for Excel - very slow - any suggestions?
- From: Martin B
- UPDATE SQL for Excel - very slow - any suggestions?
- Prev by Date: Re: Integer array as BLOB
- Next by Date: Re: RefreshRecord
- Previous by thread: Re: UPDATE SQL for Excel - very slow - any suggestions?
- Next by thread: Re: UPDATE SQL for Excel - very slow - any suggestions?
- Index(es):