ScottK1396
Registered User.
- Local time
- Today, 01:19
- Joined
- Jul 28, 2011
- Messages
- 20
I have two tables, tblComputers and tblIPSite, where I would find site information for my systems. tblComputers has an IP address formatted as numeric, and tblIPSite has Start and End IPs in the same format.
I tried to use Computers LEFT JOIN tblComputers ON tblComputers.IP BETWEEN tblIPSite.Start AND tblIPSite.End only to find that the join type is not supported.
Using a simple query, I can use WHERE tblComputers.IP BETWEEN tblIPSite.Start AND tblIPSite.End to derive the corresponding tblIPSite.Sitename. However, any tblComputers records with tblComputers.IP values falling outside of those ranges will not appear in my query results. That would be of interest for security and maintenance reasons.
Is there a way to duplicate the results of a LEFT JOIN, that displays all tblComputers records?
I tried to use Computers LEFT JOIN tblComputers ON tblComputers.IP BETWEEN tblIPSite.Start AND tblIPSite.End only to find that the join type is not supported.
Using a simple query, I can use WHERE tblComputers.IP BETWEEN tblIPSite.Start AND tblIPSite.End to derive the corresponding tblIPSite.Sitename. However, any tblComputers records with tblComputers.IP values falling outside of those ranges will not appear in my query results. That would be of interest for security and maintenance reasons.
Is there a way to duplicate the results of a LEFT JOIN, that displays all tblComputers records?