On Mar 20, 2008, at 3:40 PM, Gil Hale wrote:
> They were using RECNO() for some purpose, and this unusul
> process they would do (apparently to reorder records in some kind of
> pattern
> without having to use an index) caused all kinds of problems, but
> only once
> in a while... I bet Ed has seen this kind of stuff before.
Unfortunately, yes.
RECNO() is a poor attempt at a PK. It should never be used in SQL,
since the order of records in the original data set should never
change the results of a SQL query.
If this is a one-off in an environment where it's been working for
years, I'd say leave it. But if it is causing problems, I'd strongly
recommend biting the bullet and adding an actual PK value if a record
needs to be tracked in any way.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** 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.