in reply to Re^2: Help, RDBMS have taken over my brain!
in thread Help, RDBMS have taken over my brain!
On a small dataset this will be OK, but it won't scale, as it requires a table scan (or at the very least a full index scan if BodyPart is indexed) for databases that use B-Tree (and derived) indexes due to the leading wild-card (%).select ... from ... where BodyPart like '%foo%' ...
Michael
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help, RDBMS have taken over my brain!
by hubb0r (Pilgrim) on Nov 25, 2004 at 07:05 UTC |