BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

optimize export data

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Jmosquer@
Guest





PostPosted: Thu May 17, 2007 4:03 am    Post subject: optimize export data Reply with 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?
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





PostPosted: Thu May 17, 2007 6:15 am    Post subject: Re: optimize export data Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.