Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: SetTableLocation vs. ReplaceConnection Performance

$
0
0

Thanks Ludek.

 

You know, customers always want their programs as fast as possible. If a report takes 6 seconds being showed up in a preview window on a fast system, eliminating 2 seconds would be not so bad. 2 seconds on a fast system could become 4 seconds or more on a slower one .

 

So if I understand you well, I could use ReplaceConnection instead except when I want to rename the tablename itself (f.ex. for SQL temporary tables where we add always a unique ID..) - right?

ReplaceConnection() would replace the server and the database for all other tables and commands?

 

PS. At the end of the whole TableLocation-procedure I always start a VerifyDatabase() anyway.

 

Patrick


Viewing all articles
Browse latest Browse all 8902

Trending Articles