At 12:21 2018-01-24, Ted Roche <[email protected]> wrote:

[snip]

<OldWarStory>
I once worked on an app where the original developer thought it would
be a "clever" idea to define index expressions as UDFs. Yes, it's

It seems to me that it might be useful in some very limited circumstances.

possible. In his UDFs, he would switch work areas, open tables if not
already opened, look up values, and then return the value, cleaning up
work areas and tables as he went. For every index definition for every
record. A reindex with more than a couple hundred records brought the
entire system to its knees.
</OldWarStory>

That does seem like a lot of unnecessary work. Wouldn't the tables needed already have been open? Or did he have SET ARCHITECTUREASTRONAUT ON?

[snip]

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/6e7b9230bff28829fb9ec4becdc8f54d@mtlp000084
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to