I have a scenario where I would like to do a two-layered lookup. I'm essentially doing an IP address lookup against a table (
There are a couple of reasons that push me to this 2-layered lookup approach:
So basically I'm looking for the logic: Use the first lookup, and if it fails for a given event, then (and only then) use the secondary lookup.
What's the best way to accomplish this?
asked 25 Jun '10, 20:21
Here is a the solution I came up with. (I welcome any feedback or alternate ideas.)
Here is my search:
The goal of these search commands is to start with an
answered 25 Jun '10, 21:38