 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jmosquer@ Guest
|
Posted: Thu May 17, 2007 4:03 am Post subject: optimize export data |
|
|
Delphi7 Enterprise
My app connects to MS SQL SERVER, and use a TADOQUERY to export data to
textfile. All's fine, but when result set is too big, procedure is slower.
How can improve performance ? E.G:
1) When work with IBX, i set component to Unidirectional = True. Does exist
something like this?
2) MS Sql Server, has a method to export data ? if true, then i can call
this.
Regards
Jorge M. |
|
| Back to top |
|
 |
Brian Bushay TeamB Guest
|
Posted: Thu May 17, 2007 6:15 am Post subject: Re: optimize export data |
|
|
| Quote: | Delphi7 Enterprise
My app connects to MS SQL SERVER, and use a TADOQUERY to export data to
textfile. All's fine, but when result set is too big, procedure is slower.
How can improve performance ? E.G:
1) When work with IBX, i set component to Unidirectional = True. Does exist
something like this?
DisableControls on the TadoDataset before you open it. This should speed up its |
opening quite a bit. The Cursor a TAdoQuery users to open a clientside dataset
is unidirectional.
| Quote: | 2) MS Sql Server, has a method to export data ? if true, then i can call
this.
SQL server comes with DTS program for import and Export. One option would be to |
write a DTS script and run that from Delphi
--
Brian Bushay (TeamB)
Bbushay (AT) NMPLS (DOT) com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|