MySQL Forums
Forum List  »  Perl

INET_NTOA Issues
Posted by: Luke Powel
Date: June 27, 2011 11:23AM

I am stumped, I cannot find any way to do this , but this is the closest i have came.

I need to select from two tables containing ip addresses, and i need to match them and put them into a new table. My problem is that one table has ip addresses as integers and the other as an actual IP.

If anyone could help me out that would be great.


select ipaddress from Ipcountershistory.Ipcountershistory i, registrations r where i.inet_ntoa(ipaddress) = r.ip;

Options: ReplyQuote


Subject
Written By
Posted
INET_NTOA Issues
June 27, 2011 11:23AM
July 03, 2011 01:06PM
July 18, 2011 04:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.